Install R packages from proxy
In the linux shell
export http_proxy=http://username:password@proxy:port
export https_proxy=http://username:password@proxy:port
export HTTP_PROXY=http://username:password@proxy:port
Start R
sudo R
>Sys.setenv(http_proxy="http://username:password@proxy:port")
>install.packages("RODBC", dependencies=TRUE)
In the linux shell
export http_proxy=http://username:password@proxy:port
export https_proxy=http://username:password@proxy:port
export HTTP_PROXY=http://username:password@proxy:port
Start R
sudo R
>Sys.setenv(http_proxy="http://username:password@proxy:port")
>install.packages("RODBC", dependencies=TRUE)
No comments:
Post a Comment
Please share your views and comments below.
Thank You.