Error installing packages in RStudio: error reading from connection
This certainly is an issue with your connection:the proxies you are using and repositories configured in your RStudio. I was getting the same error when I was connected to US VPN from India.I disconnected VPN and restarted RStudio and it worked like a charm!
I had the same issue when I tried to install caret
.
The best solution is to restart R studio.
Now the install.packages()
works fine.