Error in get(Info[i, 1], envir = env) :
não foi possível abrir o arquivo 'C:/Users/Usuário/Documents/R/win-library/4.0/crayon/R/crayon.rdb': No such file or directory
or
install.packages("kuenm")
install.packages("kuenm")
Installing package into ‘C:/Users/Usuário/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘kuenm’ is not available (for R version 4.0.0)
I can't even load some packages needed for this:
library(devtools)
Carregando pacotes exigidos: usethis
Error: package or namespace load failed for ‘usethis’ in get(Info[i, 1], envir = env):
não foi possível abrir o arquivo 'C:/Users/Usuário/Documents/R/win-library/4.0/fs/R/fs.rdb': No such file or directory
Erro: package ‘usethis’ could not be loaded
and don't ask me about reprex either:
library(reprex)
Erro: package or namespace load failed for ‘reprex’ in get(Info[i, 1], envir = env):
não foi possível abrir o arquivo 'C:/Users/Usuário/Documents/R/win-library/4.0/fs/R/fs.rdb': No such file or directory
I think is something related to windows permision, but I really don't know what's going on.
R has problems with non-ASCII characters in your windows user name, you have to either change your username or install into the system level package library instead of the user level one.
I've deleted everything and re-install direct into the C:, but still cannot run devtools.
library(devtools)
Carregando pacotes exigidos: usethis
Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘rlang’
Erro: package ‘usethis’ could not be loaded
It seems you also have the 32 bit version of R but you haven't installed the 32 bit compiler of Rtools40. I would recommend not installing the 32 bit version if it not strictly needed.
You are still installing packages into your user level package library, as I said R has problems with the non-ASCII character in your windows user name, either change your username or install into the system level package library.
I can not reproduce your issue, the only thing that comes to my mind is that you have a corrupted Rtools installation, I would try reinstalling Rtools, restarting the R session and installing the package again.
Hey, so i've been trying different things to make this work. A friend of mine suggested to install and run R on Jupyter notebook. I did and for now it's workin'. Don't know why or what it's goin on my pc.
tar xzf sysfonts-dep-win-biarch.tar.gz
"c:/rtools40/mingw64/bin/"gcc -I"C:/PROGRA~1/R/R-40~1.0/include" -DNDEBUG -I./include -I./include/freetype -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c array.c -o array.o sh: c:/rtools40/mingw64/bin/gcc: No such file or directory
make: *** [C:/PROGRA~1/R/R-40~1.0/etc/x64/Makeconf:222: array.o] Error 127
ERROR: compilation failed for package 'showtext'
removing 'C:/Program Files/R/R-4.0.0/showtext'
Warning in install.packages :
installation of package ‘showtext’ had non-zero exit status
From the looks of it, it cannot find the Rtools40 directory -- probably because it does not exist. The mingw_64 is in Rtools, not Rtools40 (i tried to post the screenshot, but it won't let me). Reinstalling rtools has not changed that, so I am not sure why the installation script is asking for Rtools40. What am I doing wrong?
I'll appreciate any help with this. It's not the only issue that has popped up since I've updated R: knitr had to be reinstalled separately even though it was not showing as "old", but I am tackling this one problem at a time. Thanks!
Have you followed the installation instructions from CRAN? after installing RTools40 (This is required for R 4.0.0) you have to set your PATH variable for R being able to find it, otherwise, it's going to use your previous RTools installation (RTools35).