Comments (7)
From the Readme, known limitations section:
S4 Objects and probably other kind of objects,
including those that depend on non base R
packages (Bioconductor for example) cannot
be read. The error code in this case is as follows:
"pyreadr.custom_errors.LibrdataError:
The file contains an unrecognized object
from pyreadr.
How to solve it? thank you @ofajardo
from pyreadr.
No solution at the moment. The issue is tracked here: WizardMac/librdata#16
from pyreadr.
I have run into this same issue and as far as I can tell, my data has no S4 objects or any unusual object types. Any thoughts on what else could be the issue?
from pyreadr.
Please share the file. If I cannot reproduce it I cannot debug.
from pyreadr.
Unfortunately the data contains personal health information and cannot be shared. I have an alternative versions of the data (same object types) that does not run into issues. If I am able to create the a version with fake data that reproduces the issue I will share. Thanks.
from pyreadr.
I think I was able to resolve the issue. Seems to have come down to two things. It had an issue with the object being type "data.frame". However, as a "data.table" "data.frame" I no longer had the error. However, after this was resolved, the kernel would always reset. I found that the data had factor variables with NA coded as a level. This seemed to cause the kernel to reset
from pyreadr.
Related Issues (20)
- fail to build pyreadr with zlib 1.3.1 due to Z_ARG is removed
- Error occurs only on Mac not Windows HOT 1
- fail to run tests due to missing import pyreadr HOT 5
- Allow Python 3's pathlib.Path as an alternative to str HOT 2
- ImportError: DLL load failed while importing librdata: Can't find the specified module. HOT 39
- Support for row_offset and row_limit ? HOT 2
- ModuleNotFoundError: No module named 'pyreadr.librdata' HOT 16
- Installation problem on MacOS 12.1 (m1max chip) with python 3.8. HOT 14
- LibrdataError: The file contains an unrecognized object HOT 1
- Invalid file, or file has unsupported features HOT 1
- Usage of - df1 = result["df1"] # extract the pandas data frame for object df1
- DLL load failed while importing librdata: The specified module could not be found. HOT 3
- Error: Unable to load time variables with missing values in python using pyreadr package from RData file HOT 2
- Integer datatypes with missing values changes to object in python using pyreadr package, after importing data from RData file HOT 5
- Wheel building on MacOS arm64 HOT 9
- Wheels for Python 3.11 HOT 4
- save multiple df at once in pyreadr.write_rdata HOT 1
- A string file path was read as bytes in pyreadr.read_r() HOT 5
- Error during installation of pyreadr using pip HOT 3
- pyreadr.custom_errors.LibrdataError: Unable to read from file for large RDS files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyreadr.