Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rio data.frame requirement? #183

Closed
shapenaji opened this issue Jun 28, 2018 · 2 comments
Closed

Rio data.frame requirement? #183

shapenaji opened this issue Jun 28, 2018 · 2 comments

Comments

@shapenaji
Copy link

shapenaji commented Jun 28, 2018

Thanks for the package!

This is a more general question about the data.frame requirement of the output of rio::import.

This makes it so that some rds files (which could contain anything) don't import. For example, I have a stanfit (https://cran.r-project.org/web/packages/rstan/vignettes/stanfit-objects.html) object stored in an RDS.

Is accessing other types of R objects in an RDS out-of-scope for rio::import?

@leeper
Copy link
Contributor

leeper commented Jul 13, 2018

Generally yes, but we should probably make an exception for RDS and Rdata files, given they can contain arbitrary R objects.

@leeper
Copy link
Contributor

leeper commented Jul 21, 2018

This is now implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants