Re: [R] convert a splus randomforest object to R

2011-08-09 Thread William Dunlap
n...@r-project.org] On > Behalf Of Zhiming Ni > Sent: Tuesday, August 09, 2011 2:31 PM > To: Liaw, Andy; r-help@r-project.org > Subject: Re: [R] convert a splus randomforest object to R > > In Splus the randomForest package version is 4.5-18; in R randomForest > version is

Re: [R] convert a splus randomforest object to R

2011-08-09 Thread Zhiming Ni
:12 PM To: Zhiming Ni; r-help@r-project.org Subject: RE: convert a splus randomforest object to R You really need to follow the suggestions in the posting guide to get the best help from this list. Which versions of randomForest are you using in S-PLUS and R? Which version of R are you u

Re: [R] convert a splus randomforest object to R

2011-08-09 Thread Liaw, Andy
()/source() as the R Data Import/Export manual suggests? Andy > -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Zhiming Ni > Sent: Tuesday, August 02, 2011 8:11 PM > To: r-help@r-project.org > Subject: [

Re: [R] convert a splus randomforest object to R

2011-08-02 Thread Duncan Mackay
Hi Jimmy Years ago I think that Splus introduced an argument when dumping of old.style = T or something similar to dump it into a form that could be read into R. This may only be for data.frames etc not things like random forest objects Regards Duncan Duncan Mackay Department of Agronomy

[R] convert a splus randomforest object to R

2011-08-02 Thread Zhiming Ni
Hi, I have a randomforest object "cost.rf" that was created in splus 8.0, now I need to use this trained RF model in R. So in Splus, I dump the RF file as below data.dump("cost.rf", file="cost.rf.txt", oldStyle=T) then in R, restore the dumped file, library(foreign) data.restore("cost.rf.tx