On 11-04-21 5:36 AM, Raji wrote:
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.
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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.