Hi list,

I use:
Windows XP
numpy 0.9.8
Rpy 1.0-RC1

I have some data that I keep in a python-dictionary and which I would like
to transfer into a data frame in R.

The dictionary has 20 keys with each key being assigned to a list holding
336 numerical values.
(that is 20 * 336 = 6720 entries for the data frame in R)

When I try to do the following:

from rpy import *
set_default_mode(NO_CONVERSION)
data = r.data_frame(myDict) # where myDict keeps the data I want to
transfer to R


the python shell just closes without any warnings.


With a much smaller dictionary (as in the examples) everything works just
fine. The following causes no
problems at all:

from rpy import *
set_default_mode(NO_CONVERSION)
data = r.data_frame({'foo':[4,5,6], 'bar':['X','Y','Z']})


What am I doing wrong? Is the dictionary too big? Are the any limits?

Thank you for your help

Oliver


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to