2
I started work using the R, and during the installation of some packages such as Devtools, appears the following message specifying the error:
* installing *source* package 'devtools' ...
** package 'devtools' successfully unpacked and MD5 sums checked
Warning in file(file, if (append) "a" else "w") :
cannot open file 'C:/Users/Simico/Documents/R/win-library/3.4/devtools/DESCRIPTION': No such file or directory
Error in file(file, if (append) "a" else "w") :
não é possÃvel abrir a conexão
ERROR: installing package DESCRIPTION failed for package 'devtools'
* removing 'C:/Users/Simião/Documents/R/win-library/3.4/devtools'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.0/bin/x64/R" CMD INSTALL -l "C:\Users\Simião\Documents\R\win-library\3.4" C:\Users\Public\Documents\Wondershare\CreatorTemp\RtmpqyR84v/downloaded_packages/devtools_1.13.4.tar.gz' had status 1
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
I don’t know what I’m supposed to do AS is Windows 7 and the version of R 3.4.0
Simião, it seems that you are having problems of encoding. See that the error indicates trying to load from a "Simico" folder instead of "Simian". I would try to change the encoding of your UTF-8 session to latin1.
– Ailton Andrade de Oliveira
Try to install as administrator, it seems to me a permission problem
– Daniel Falbel
As a way to avoid accentuation errors, and make sure that the code has greater fluidity, do not put accents in the files/folders/paths in R. Otherwise, you will always need to work around this, as @Ailtonandradedeoliveira said
– Guilherme Parreira