This article is a migration of an article that was previously created and published on another site.
This article assumes the following:
--R for Windows must be installed
The operation check environment is as follows.
Install using the Wheel package
pip install (whl file name)
If the following message is output, the whl file is incorrect. Does the file name match? Are you using a whl file other than the environment in which it is installed? Check etc. rpy2XXX.whl is not a supported wheel on this platform.
Environment variables are not set
Set the R installation folder in the Windows system environment variable
Variable name | Variable value |
---|---|
R_HOME | C:\Program Files\R\R-3.5.2 |
--Please change appropriately according to the location where R is installed and the version of R installed. --If you started the command prompt when you changed the environment variable, you need to restart the command prompt.
Environment variables are not set
Set the R execution user in the Windows system environment variable
Variable name | Variable value |
---|---|
R_USER | (R execution user name) |
--If you started the command prompt when you changed the environment variable, you need to restart the command prompt.
Missing python module tzlocal
Install tzlocal with pip
pip install tzlocal
that's all