Kurt Hornik wrote:
Paulo Cortez writes:
Using a current version of rJava, you can register the Java side objects
for serialization using .jcache().
E.g.,
m1 <- J48(Species ~ ., data = iris)
.jcache(m1$classifier)
then save/load will work as expected.
Eventually, the above may happen automagically.
-k
Thanks, it works quite well in my MacOS.
Yet, in a linux machine (Fedora 9, R version 2.7.2, latest rJava and
RWeka versions has found in the berkeley server), sometimes the save
function produces a Segmentation fault. Since I am working with large
datasets (email filtering), I wonder if there is any
bug/limitation/problem of rJava/RWeka for large models (e.g. NaiveBayes
with more than 1000 inputs).
Regards,
--
Paulo Alexandre Ribeiro Cortez (PhD, MSc)
Lecturer (Prof. Auxiliar) at the Department of Information Systems (DSI)
University of Minho, Campus de AzurÈm, 4800-058 Guimaraes, Portugal
http://www.dsi.uminho.pt/~pcortez +351253510313 Fax:+351253510300
______________________________________________
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.