2
I was able to install the Swirl package, but when I give the library(Swirl) command, the following error appears:
Error: package or namespace load failed for ‘swirl’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘crayon’
Then I try to install the Crayon package and appears:
* installing *source* package 'crayon' ... ** package 'crayon' successfully unpacked and MD5 sums checked Warning in file(file, if (append) "a" else "w") : cannot open file 'C:/Users/Tams/Documents/R/win-library/3.4/crayon/DESCRIPTION': No such file or directory Error in file(file, if (append) "a" else "w") : it's not possible to open the conection ERROR: installing package DESCRIPTION failed for package 'crayon' * removing 'C:/Users/TAÍS/Documents/R/win-library/3.4/crayon' Warning in install.packages : running command '"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" CMD INSTALL -l "C:\Users\TAÍS\Documents\R\win-library\3.4" C:\Users\TAS~1\AppData\Local\Temp\Rtmpc9eX85/downloaded_packages/crayon_1.3.4.tar.gz' had status 1 Warning in install.packages : installation of package ‘crayon’ had non-zero exit status
How can I solve this problem and load the Swirl package?
How you tried to install the package
crayon
? In the message it says*source* package
. I just didinstall.packages("crayon")
and went well. Also on Windows.– Rui Barradas