]> gerrit.simantics Code Review - simantics/r.git/blobdiff - bundles/org.simantics.r.scl/scl/R/R.scl
Remove a file on the R server
[simantics/r.git] / bundles / org.simantics.r.scl / scl / R / R.scl
index dc542d5c2a1521544b9666d4cdf4e3c2575ab442..7bb042704a95b6e25cebbd2666b70b001bdf9202 100644 (file)
@@ -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." \r
     @JavaName openFile\r
     openFileR :: String -> <R> InputStream\r
+    "Remove a file on the R server." \r
+    @JavaName removeFile\r
+    removeFileR :: String -> <R> ()\r
 \r
 "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."\r
 evalR :: RCompatible a => String -> <R> a\r