From: Jussi Koskela Date: Mon, 19 Dec 2016 16:12:38 +0000 (+0200) Subject: Remove a file on the R server X-Git-Tag: v1.28.0~2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=bcc46d4a45ca890feb0e14adee0a55aeb8a032aa;p=simantics%2Fr.git Remove a file on the R server refs #6886 Change-Id: I65c578500228e2989e8e444d8ed58bd381eaac71 --- 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