X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.r.scl%2Fscl%2FR%2FR.scl;h=7bb042704a95b6e25cebbd2666b70b001bdf9202;hb=bcc46d4a45ca890feb0e14adee0a55aeb8a032aa;hp=dc542d5c2a1521544b9666d4cdf4e3c2575ab442;hpb=621b9a3866394051f460b8e73c63ea0463099324;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