We have a ubuntu linux server in our office which is a air-gapped environment. There is no internet access to external network.
However I would like to install few R packages like ggplot2, Database Connector, dplyr, Tidyverse
etc. I have more than 10-15 packages to download
While I cannot write the usual command install.packages("DatabaseConnector")
, I have to download the zipped folders from CRAN as shown here.
I am new to R. So, can you help me with my questions given below?
a) Why is there are no files for linux systems? I only see windows binaries
and macOS binaries
. Which one should I download?
b) Should I download binaries
or package source
? which one is easy to install?
c) When I download packages like above as zipped file
from CRAN like shown here, will the dependencies be automatically downloaded as well? Or should I look at error messages and keep downloading them one by one?
d) Since I work in a Air-gapped environment, what would be the best way to do this process efficiently.