Hello, I'm unable to install ggbiplot on R, version 4.1.1 using the code :
library(devtools)
install_github("vqv/ggbiplot")
library(ggbiplot)
The library (devtools) is already installed and I can't process the second line of the code. How can I solve it? Here is the message:
library(devtools)
install_github("vqv/ggbiplot")
Downloading GitHub repo vqv/ggbiplot@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?
1: All
2: CRAN packages only
3: None
4: cli (3.3.0 -> 3.4.0) [CRAN]
Enter one or more numbers, or an empty line to skip updates: 1
cli (3.3.0 -> 3.4.0) [CRAN]
Installing 1 packages: cli
Installation du package dans âC:/Users/StĂ©phane/Documents/R/win-library/4.1â
(car âlibâ n'est pas spĂ©cifiĂ©)
Une version binaire est disponible mais la version du source est plus récente:
binary source needs_compilation
cli 3.3.0 3.4.0 TRUE
installation du package source âcliâ
trying URL 'https://cran.rstudio.com/src/contrib/cli_3.4.0.tar.gz'
Content type 'application/x-gzip' length 526797 bytes (514 KB)
downloaded 514 KB
- installing source package 'cli' ...
** package 'cli' successfully unpacked and MD5 sums checked
ERROR: cannot remove earlier installation, is it in use? - removing 'C:/Users/Stéphane/Documents/R/win-library/4.1/cli'
- restoring previous 'C:/Users/Stéphane/Documents/R/win-library/4.1/cli'
Avis dans file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) :
problÚme lors de la copie de C:\Users\Stéphane\Documents\R\win-library\4.1\00LOCK-cli\cli\libs\i386\cli.dll vers C:\Users\Stéphane\Documents\R\win-library\4.1\cli\libs\i386\cli.dll: Permission denied
The downloaded source packages are in
âC:\Users\StĂ©phane\AppData\Local\Temp\Rtmpwtmlny\downloaded_packagesâ
Error: Failed to install 'ggbiplot' from GitHub:
create process 'C:/PROGRA~1/R/R-41~1.1/bin/i386/Rcmd.exe' (system error 267, Nom de répertoire non valide.
) @win/processx.c:1040 (processx_exec)
In addition: Warning message:
In i.p(...) : installation of package âcliâ had non-zero exit status
thanks!