When I launch RStudio, I get this message:
Warning: unable to access index for repository http://www.vps.fmvz.usp.br/CRAN/src/contrib: no fue posible abrir la URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/PACKAGE
Next, when I try to install a package I get:
Warning in install.packages :
cannot open URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/PACKAGES.gz': HTTP status was '403 Forbidden'
Warning in install.packages :
cannot open URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/PACKAGES': HTTP status was '403 Forbidden'
Warning in install.packages :
unable to access index for repository http://www.vps.fmvz.usp.br/CRAN/src/contrib:
no fue posible abrir la URL 'http://www.vps.fmvz.usp.br/CRAN/src/contrib/PACKAGES'
I have reproduced this error with R versions 3.2.3 and 3.4.4. My OS is Ubuntu Linux 16.04 LTS
. The problem started last week. I found that the problem does not occur when I start R outside RStudio with on a R --vanilla
session.
My session info is:
> sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.2 LTS
locale:
[1] LC_CTYPE=es_AR.UTF-8 LC_NUMERIC=C
[3] LC_TIME=es_AR.UTF-8 LC_COLLATE=es_AR.UTF-8
[5] LC_MONETARY=es_AR.UTF-8 LC_MESSAGES=es_AR.UTF-8
[7] LC_PAPER=es_AR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_AR.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
loaded via a namespace (and not attached):
[1] tools_3.2.3
The current repository is (but I have already tried with several repositories, both http and https repos):
getOption("repos")
CRAN
"http://www.vps.fmvz.usp.br/CRAN/"
attr(,"RStudio")
[1] TRUE
May be the problem is solved if I launch RStudio with a fresh R --vanilla
session, but I don't know how to set this up.
I would appreciate any help.