Importing Python Module In R
I am trying to import a python module in R using the reticulate package. The module can be found here. I cloned the repository and ran python setup.py install which ran successfull
Solution 1:
After reading this I finally figured out. I think before calling any other function from the reticulate
package, it is imperative to specify the path to python to use. Hence the order I am following now is:
library(reticulate)
path_to_python <- "/anaconda/bin/python"
use_python(path_to_python)
Post a Comment for "Importing Python Module In R"