Dear RStudio gurus,
What is the best way to update conda when using RStudio on a Windows 10 machine?
Note:
I had some issues with following instructions about installing packages etc. in the Windows environment, so I was told by someone in RStudio to do everything related to managing the Python environment from inside RStudio.
I got this message:
==> WARNING: A newer version of conda exists. <==
current version: 4.8.1
latest version: 4.8.2
Please update conda by running
$ conda update -n base -c defaults conda
So I tried
> knitr::opts_chunk$set(echo = TRUE, error = TRUE)
>
> library(knitr)
>
> library(reticulate)
>
> conda_version(conda = "auto")
[1] "conda 4.8.1"
> install_miniconda()
Error: Miniconda is already installed at "C:/Users/userXYZ/AppData/Local/r-miniconda"
I also went to the Terminal window in RStudio and tried this:
C:\Users\userXYZ>conda update -n base -c defaults conda
'conda' is not recognized as an internal or external command,
operable program or batch file.