From 6e7a34867370d3c98a40211c554f213b9da32b8b Mon Sep 17 00:00:00 2001 From: Shigw <120349754+Sicrve11@users.noreply.github.com> Date: Thu, 13 Apr 2023 15:21:59 +0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9843bff..da7f4cb 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Here the environment configuration is completed! We provide a test code in the ` In addition, before you use `PROST`, you must activate the `PROST1` environment, and then you must add the new `R` language path as the `R_HOME` and the `rpy2` package path as the `R_USER` by `os` in python before you using `PROST`. -You can add the following code to your `Python script` to complete the setup. The `condapath` is the root directory of the conda mentioned at the beginning. +You can add the following code to your `Python script` to complete the setup. The `condapath` is the root directory of the conda mentioned at the beginning. (such as:'C:/Users/PC/miniconda3' or '/user/miniconda3', you can also find this path from the prompt message in the last step of the installation, just intercept the conda root path.) condapath = "input your conda path" os.environ['R_HOME'] = f'{condapath}/envs/PROST1/lib/R'