I'm trying to run rpy2 with no success. After installing R and rpy2, I tried testing rpy2 as instructed in the rp2 documentation:
from IDLE:
import rpy2.situation
for row in rpy2.situation.iter_info():
print(row)
I'm getting the following output:
rpy2 version:
3.3.2
Python version:
3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)]
Looking for R's HOME:
Environment variable R_HOME: None
InstallPath in the registry: C:\Program Files\R\R-4.0.0
Environment variable R_USER: None
Environment variable R_LIBS_USER: None
R version:
In the PATH: None
Loading R library from rpy2: cannot load library 'C:\Program Files\R\R-4.0.0\bin\x64\R.dll': error 0xc1
Additional directories to load R packages from:
None
I set the environment variables that's not found as mentioned in the output, because I thought that maybe R's installation location is the issue, but it still doesn't work. I also looked for solutions for the R.dll error or dll files errors in general.
Thanks in advance!