Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Julia 中使用 RCall.jl 并遇到错误,因为我要运行的代码依赖于一些我尚未安装的 R 包。有没有办法(比如 PyCall.jl 和 Conda.jl)我可以通过 RCall.jl Julia 接口安装所需的 R 包?
您需要做的就是:
using RCall
然后$在 REPL 中键入 ,然后是:
$
R> install.packages("name_of_R_package_you_want") --- Please select a CRAN mirror for use in this session --- Secure CRAN mirrors