3
Dec 11 '22
Do you have any spaces in the path that you install packages in? Maybe even in your username?
I think this error message is quite clear, it tries to install something in a path that contains spaces and this causes an error here.
1
1
3
Do you have any spaces in the path that you install packages in? Maybe even in your username?
I think this error message is quite clear, it tries to install something in a path that contains spaces and this causes an error here.
1
1
16
u/MyKo101 Dec 11 '22
By default, miniconda will try to install one of these directories:
Depending on your system setup. The
"~"here means your root directory. On Windows, it is usually"C://<username>/".This means if your username contains a space, minicondo cannot install there. To override this behaviour, you can set the environment variable
RETICULATE_MINICONDA_PATHto another directory for R to install miniconda into (this should not contain spaces).To set the environment variable, use the
Sys.setenv()function like this: