Thank you for the support.
I installed the reticulate package but I am not familiar with python. I was following some help in github to install python packages.
I installed the ngrpy package but I don't get to import it. I used this commands:
library(reticulate)
# VIRTUAL
# create a new environment
virtualenv_create("r-reticulate")
# install nrgpy
virtualenv_install("r-reticulate", "nrgpy")
# import nrgpy (it will be automatically discovered in "r-reticulate")
nrgpy <- import("nrgpy")
When I run the line virtualenv_install("r-reticulate", "nrgpy") it says that the nrgpy package has been installed.
When I get to the last line to import("ngrpy") I get this error in the console:
Error in py_module_import(module, convert = convert) :
ModuleNotFoundError: No module named 'nrgpy'
After all of this I'm suppossed to source the python script but I can't without the nrgpy package.
Please any help.