Skip to content

Retrieve model from R without save

3 messages · Duncan Murdoch, Raji

#
Hi All,

  We have an application which uses R algorithms. We are currently using
save() command to store models.But for save() command, we have to give the
filename.But, in our application, we cannot afford to save it in any
specific location. In this case , for accessing the models generated in R ,
we cannot use the save() command since, save () stores the pmml in local
file. 

Is there any way in which we can get the model data directly from R without
storing it locally?

Note: Our code is written in Java and we use JRI to connect to R.

Many thanks in advance,
Raji

--
View this message in context: http://r.789695.n4.nabble.com/Retrieve-model-from-R-without-save-tp3465495p3465495.html
Sent from the R help mailing list archive at Nabble.com.
#
On 11-04-21 5:36 AM, Raji wrote:
Yes, just look at the contents of the model object.  See Writing R 
Extensions for the C interface to do this; from the documentation, JRI 
duplicates this in Java.

Duncan Murdoch
3 days later