Skip to content

Commit da080c8

Browse files
Upd .Rprofile code chunk
1 parent 610d6b9 commit da080c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/01-R_PythonSetup.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ conda_list(conda= "auto")
3939
```
4040

4141
### Set python version
42-
This code chunk opens a .Rprofile file where the path to the preferred python version can be set. To do so, change the *PATH* listed in the **Sys.setenv(RETICULATE_PYTHON = *PATH*)** command to match the location where miniconda is installed. You will need to copy and paste the python path listed next to the "r-reticulate" option printed from the **conda_list(conda= "auto")** command from the code chunk above. R will need to be restarted so that the changes take effect. *You will only need to set this path once*; this information will be saved for subsequent use.
42+
This code opens a .Rprofile file where the path to the preferred python version can be set. To do so, change the *PATH* listed in the **Sys.setenv(RETICULATE_PYTHON = "*PATH*")** command to match the location where miniconda is installed. You will need to copy and paste the python path listed next to the "r-reticulate" option printed from the **conda_list(conda= "auto")** command from the code chunk above. Make sure that the new path is in quotations. R will need to be restarted so that the changes take effect. *You will only need to set this path once*; this information will be saved for subsequent use. We recommend running this code in the console; users have run into issues when running it in the markdown code chunk.
4343
```{r}
4444
#install.packages("usethis")
4545
usethis::edit_r_profile()

0 commit comments

Comments
 (0)