I\'m using R in my Python script through the rpy2 library and I need a package that is not in the default installation of R. How can I install it?
R
rpy2
How about this
>>> import rpy2.interactive as r >>> r.importr("utils") >>> package_name = "DirichletReg" >>> r.packages.utils.install_packages(package_name)