Hello,

I do not manage to properly convert a tune object from R to Python and 
viceversa.
I need to manipulate the tune object so I need to have a convertion (so i 
cannot use NO_CONVERSION)

In fact I need to store the object on the DB and I need to do that from Python 
and not from R

here's my code
>r.library("e1071")
>set_default_mode(BASIC_CONVERSION)
>r("""svmresult<-tune(svm,X,t(cico),tunecontrol=tune.control(sampling='cross',cross=10),type='eps-regression',kernel='radial')""")
>model=r("svmresult")
>r.assign("importedModel",model)
>r("is(svmresult)")
'tune'
>r("is(importedModel)")
['list', 'vector']

this last line proofs that the object has not been properly reconverted into a 
'tune' ...



My Config:
python 2.4.3
R 2.2.1
rpy    0.4.6


------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-modeĀ™ di Wind
http://i-mode.wind.it



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to