I buy a new laptop (windows 10) and I download R 4.0.0 (the same version that I have in my old laptop) and RStudio.
I have installed nimble in R using the steps of
https://r-nimble.org/download. Once I have installed nimble in R, RStudio stops working correctly, it return the following error:
Error: package or namespace load failed for ‘stats’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Program Files/R/R-4.0.0/library/stats/libs/x64/stats.dll':
LoadLibrary failure: No se puede encontrar el módulo especificado.
Durante la inicialización - Warning message:
package ‘stats’ in options("defaultPackages") was not found
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/R/R-4.0.0/library/stats/libs/x64/stats.dll':
LoadLibrary failure: No se puede encontrar el módulo especificado
This is because I have created a file .REnviron with the path of Rtools40 in "C:\Users\arant\Documents".
If I delete .REnvironment RStudio starts working correctly but I can't use nimble.
Any solution, idea?
Thanks,
Arantxa