R in connection with the host

I installed R 3.0.2 and package KEGGREST. When using this command, I get the following error:

Error in function (type, msg, asError = TRUE): could not connect to the host

I can very well install the package from the Internet after using the --internet2 option, which uses proxy data from Internet Explorer.

Please, help. thanks in advance

+4
source share
1 answer

httr uses a different method to connect to the Internet: you need to explicitly install the proxy server using the following command:

set_config(use_proxy(url='your.proxy.url',port,username,password))

Cm

http://www.inside-r.org/packages/cran/httr/docs/use_proxy

Decision. How to set_github with a proxy server

More details ...

+6
source

All Articles