I try installing some required packages in R, which I just installed on a Linux machine. I am unable to install any package and get the below warning:
Warning: unable to access index for repository https://cran.r-project.org/src/contrib: wget call had nonzero exit status
The same is the case with
The following is the output of sessionInfo():
> sessionInfo() R version 3.5.0 (2018-04-23) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Red Hat Enterprise Linux Server 7.4 (Maipo) Matrix products: default BLAS: /.../R-3.5.0/lib/libRblas.so LAPACK: /.../R-3.5.0/lib/libRlapack.so locale:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8  LC_PAPER=en_US.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached):  compiler_3.5.0 tools_3.5.0
I am unable to understand what is blocking the packages to be installed. Please help.