在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JuliaData/RData.jl开源软件地址:https://github.com/JuliaData/RData.jl开源编程语言:Julia 91.1%开源软件介绍:RData.jlRead R data files (.rda, .RData) and optionally convert the contents into Julia equivalents. Can read any R data archive, although not all R types could be converted into Julia. For running R code from Julia see RCall.jl. InstallationFrom Julia REPL: Pkg.add("RData") Compression formatsR data files could be compressed by either Gzip (the default), Bzip2 or Xz methods. For example, to load a file compressed by Bzip2 you must first install the required codec: Pkg.add("CodecBzip2") Then ensure CodecBzip2 is loaded before calling RData.load: using RData
import CodecBzip2
load('some_bzip2_compressed.rda') UsageTo read R objects from "example.rda" file: using RData
objs = load("path_to/example.rda") The result is a dictionary ( If
If conversion to the Julia type is not supported (e.g. R closure or language expression), |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论