I'm new to using R and I'm trying to download some packages from Github, I'm using R in anaconda3.
I'm using a work laptop in Spain, so the windows messages are in Spanish.
This is the result of session_info():
$ Rscript -e 'utils::sessionInfo()'
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 20277)
Matrix products: default
locale:
[1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252
[3] LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C
[5] LC_TIME=Spanish_Spain.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.1
This is the result of running the following command: C:Userssalisanaconda3envscausalScriptsRscript.exe -e 'devtools::install_git
hub("Diviyan-Kalainathan/RCIT")':
Downloading GitHub repo Diviyan-Kalainathan/RCIT@HEAD
No se esperaba & en este momento. ( Not expected & at this time.)
Error: Failed to install 'RCIT' from GitHub:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
E> No se esperaba & en este momento. (E> Not expected & at this time.)
I get the same result if I run the command in R studio using the other installation of R on my computer:
devtools::install_github("Diviyan-Kalainathan/RCIT")
Downloading GitHub repo Diviyan-Kalainathan/RCIT@HEAD
No se esperaba & en este momento. ( Not expected & at this time.)
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
E> No se esperaba & en este momento. (E> Not expected & at this time.)
I've tried the suggestions from the following:
Problem with Rcmd.exe when installing packages
Package installation failed when trying to install from GitHub
How do I fix a “System command error” when running “devtools::build_vignettes()” in R?
question from:
https://stackoverflow.com/questions/65645054/problem-installing-r-package-from-github-on-windows-10 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…