Reputation: 51
Does anyone have any ideas on how to directly install the python libraries available on Github from reticulate? The py_install
function only supports libraries available on conda or PyPI.
For example, when building an R package based on a python library only available on Github, do I inevitably have to copy the source code of the library into my package?
Upvotes: 3
Views: 1381
Reputation: 51
Finally, in the function where I set up the python environment for the package, I called the R base system
function where I pass the install command.
For example, for the pylearn-parsimony library which is not available on Conda, I used this line which worked:
system("pip install git+git://github.com/neurospin/pylearn-parsimony.git@master")
Upvotes: 2