X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.r.scl%2Fscl%2FR%2FR.scl;h=7bb042704a95b6e25cebbd2666b70b001bdf9202;hb=HEAD;hp=dc542d5c2a1521544b9666d4cdf4e3c2575ab442;hpb=2e2528a96a4322544f9fc09e032c2ae816f9e753;p=simantics%2Fr.git diff --git a/bundles/org.simantics.r.scl/scl/R/R.scl b/bundles/org.simantics.r.scl/scl/R/R.scl index dc542d5..7bb0427 100644 --- a/bundles/org.simantics.r.scl/scl/R/R.scl +++ b/bundles/org.simantics.r.scl/scl/R/R.scl @@ -63,6 +63,9 @@ importJava "org.rosuda.REngine.Rserve.RConnection" where "Open a file on the R server for reading and return a InputStream for it." @JavaName openFile openFileR :: String -> InputStream + "Remove a file on the R server." + @JavaName removeFile + removeFileR :: String -> () "Evaluate an R expression and return the result as an SCL value. May fail, if the value is not compatible with the expected data type." evalR :: RCompatible a => String -> a