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
import pyreadr
result = pyreadr.read_r('BLCA_rin.RData') # also works for Rds
print(result.keys())
But I got this error:
---------------------------------------------------------------------------
LibrdataError Traceback (most recent call last)
<ipython-input-2-e10bae565a8a> in <module>
1 import pyreadr
----> 2 result = pyreadr.read_r('BLCA_rin.RData') # also works for Rds
3 print(result.keys())
~/anaconda3/envs/saraenv/lib/python3.9/site-packages/pyreadr/pyreadr.py in read_r(path, use_objects, timezone)
46 if not os.path.isfile(path):
47 raise PyreadrError("File {0} does not exist!".format(path))
---> 48 parser.parse(path)
49
50 result = OrderedDict()
~/anaconda3/envs/saraenv/lib/python3.9/site-packages/pyreadr/librdata.pyx in pyreadr.librdata.Parser.parse()
~/anaconda3/envs/saraenv/lib/python3.9/site-packages/pyreadr/librdata.pyx in pyreadr.librdata.Parser.parse()
LibrdataError: Invalid file, or file has unsupported features
Any help to solve that?
The text was updated successfully, but these errors were encountered:
The files contain S3 objects that are not readable by librdata. Those S3 objects are based on lists, which are not readable either (#8, WizardMac/librdata#32) , so there is no way to solve this right now.
Hi,
I have started using the library to read files here: https://github.com/HerrMo/multi-omics_benchmark_study/tree/master/data/resample-instances
with the following script from your github:
But I got this error:
Any help to solve that?
The text was updated successfully, but these errors were encountered: