I am getting the following error when I try to use the rpy2 package in a conda environment.
ValueError: r_home is None. Try python -m rpy2.situation
The location of R in my conda environment is: "~/.conda/envs/my_env/bin/R"
How can I set the r_home environment variable to the above R home directory?