io.rdata
io.rdata
Minimal reader for .RData files (R serialization format 2/3, XDR) for objects that pyreadr cannot convert, e.g. numeric matrices with dimnames such as Table22h/Table30 in hoekvanh_winddirs.RData. Supports NULL, symbols, pairlists, character/logical/integer/double vectors and lists; numeric objects are returned as numpy arrays shaped by their “dim” attribute (column-major, as in R).
Functions
| Name | Description |
|---|---|
| read_rdata | load(path) -> dict {object name: value}. |
read_rdata
io.rdata.read_rdata(path)load(path) -> dict {object name: value}.