You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original comment by Laurent Gautier (Bitbucket: lgautier, GitHub: lgautier).
There might be a bug, but the details of what you are doing and what is the exact error message returned (with its traceback) are needed in order to assess whether this is really the case.
#!python
data = rlc.TaggedList([pHs, CSs], tags = ('x','y'))
where pHs and CSs are both python lists. Then I tried to create a data frame:
#!python
dataf = robjects.r.RDataFrame(data)
and received the following error message:
#!python
Traceback (most recent call last):
File "<pyshell#36>", line 1, in <module>
dataf = robjects.RDataFrame(data)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rpy2/robjects/__init__.py", line 372, in __init__
df = baseNameSpaceEnv["data.frame"].rcall(tlist.items())
ValueError: All parameters must be of type Sexp_Type.
Original report by Anonymous.
When I attempt to create an R Data frame from a tagged list, I obtain the following error:
Traceback (most recent call last):
File "<pyshell#51>", line 1, in
baseNameSpaceEnv["data.frame"]
NameError: name 'baseNameSpaceEnv' is not defined
The text was updated successfully, but these errors were encountered: