I'm unable to install R libraries on an Azure Data Science VM.
For example, I've tried installing RODBC using install.packages("RODBC")
in both jupyter notebook and RStudio, but get this error:
Warning message: "unable to access index for repository https://mran.microsoft.com/snapshot/2017-03-15/src/contrib: Line starting 'https://mran.microsoft.com/snapshot/2017-03-15/bin/windows/contrib/3.3: cannot open URL 'https://mran.microsoft.com/snapshot/2017-03-15/bin/windows/contrib/3.3/PACKAGES'"
When running the same command on my local machine I get:
install.packages("RODBC") Installing package into ‘C:/Users/j/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/RODBC_1.3-15.zip' Content type 'application/zip' length 831635 bytes (812 KB) downloaded 812 KB package ‘RODBC’ successfully unpacked and MD5 sums checked
Why is RStudio trying to connect to a dead link at mran.microsoft.com?
EDIT
Just realised that I can install libraries manually as per this thread, but it would be good to be able to use install.packages
.