RData.jl
RData.jl copied to clipboard
Read R data files from Julia
Use the `metadata` function that are going to be added to DataAPI and DataFrames (https://github.com/JuliaData/DataFrames.jl/pull/3055) to import R `data.frame` attributes and set them as `DataFrame` metadata. R stores per-column attributes...
MWE: ```julia ]add RData import RData RData.load("dat.Rda") Error encountered while loading "path_to_dat.Rda". Fatal error: ERROR: ArgumentError: Package Libz not found in current path: - Run `import Pkg; Pkg.add("Libz")` to install...
Although R is cursed to support only 32-bit integers, it would be convenient to have an option in RData.jl to convert all such integers to the native integer type (`Int`),...
* first mentioned in the (closed) issue #75 As @alyst clarifies in that issue, `load` works with the new format, (it certainly does in my experience) but throws a warning....
As mentioned in #44 , it would be nice to add `unique_colnames=true` option to `load()`, which would propagate to `DataFrame({r data frame}, makeunique=unique_colnames)`. That will make the default behaviour reasonable,...
I know it can be tough, since Julia doesn't support anything similar, but many people (including me) store important metadata in attributes. I guess objects' metadata should be inserted as...
It would be nice to throw some RData-specific exception type instead of `error`, it can also contain some useful information, like current io position or the name of the top-level...
For example sp5h = load("https://gitlab.math.ethz.ch/maechler/CLA/-/raw/master/data/muS.sp500.rda")
SF geometry tables are currently presented as vectors of vectors. However, this loses important type information (polygons and multilinestrings have the same structure), which could be picked up from the...
When trying to install `RData`, even in a fresh environment, I am getting an error stemming from the `TimeZones` package, although I'm able to install the TimeZones package by itself...