rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

can not install R packages on rocker/rstudio #264

Closed ABanaeiEsfahani closed 3 years ago

ABanaeiEsfahani commented 3 years ago

Hello,

I just pulled down the latest version of rocker/rstudio and started working on that. But it seems that I can not install any R package there. Could you please help me with that? Thanks for your support.

Best, Amir

P.S.

install.packages("data.table") Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES' Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES' Warning in install.packages : package ‘data.table’ is not available for this version of R

A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

ABanaeiEsfahani commented 3 years ago

Sorry, I had forgot to set the environment well. We can close this ticket for now.

eddelbuettel commented 3 years ago

Will close. The active repo for this would have been rocker-org/versioned2. Please file there next time.