Git Product home page Git Product logo

Comments (7)

ofajardo avatar ofajardo commented on June 6, 2024

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.

zznx avatar zznx commented on June 6, 2024

How to solve it? thank you @ofajardo

from pyreadr.

ofajardo avatar ofajardo commented on June 6, 2024

No solution at the moment. The issue is tracked here: WizardMac/librdata#16

from pyreadr.

Anthony-C-Nguyen avatar Anthony-C-Nguyen commented on June 6, 2024

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.

ofajardo avatar ofajardo commented on June 6, 2024

Please share the file. If I cannot reproduce it I cannot debug.

from pyreadr.

Anthony-C-Nguyen avatar Anthony-C-Nguyen commented on June 6, 2024

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.

Anthony-C-Nguyen avatar Anthony-C-Nguyen commented on June 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.