JuliaInterop / JuliaCall

Embed Julia in R
https://non-contradiction.github.io/JuliaCall/index.html
Other
267 stars 36 forks source link

Install Github Pkg #111

Closed JohnCoene closed 5 years ago

JohnCoene commented 5 years ago

Thank you so much for this great package!

I was wondering if improvements to julia_install_package could be made so that one could install packages from Github

using Pkg

Pkg.add(PackageSpec(path="https://github.com/JuliaData/DataFrames.jl"))

Or

pkg> add https://github.com/JuliaData/DataFrames.jl
Non-Contradiction commented 5 years ago

Thank you for the feedback!

Which version of JuliaCall are you using?

From JuliaCall 0.16.6, URL should be supported in julia_install_package, like julia_install_package("https://github.com/JuliaData/DataFrames.jl").

JohnCoene commented 5 years ago

Oh lord, do I feel stupid, I had tried everything but that...

Thanks again!

Non-Contradiction commented 5 years ago

You are welcome! I also add more documentation for the package related functions and cover the usage of installation packages from Github.