Error installing FAS package from github

Following the instructions from fishR, I get the next message:

Error in function (type, msg, asError = TRUE) : couldn’t connect to host

Of course, my institution filters outgoing internet connection through a proxy, so here is some steps to overcome this issue:

## ------------------------------------------
if (!require('devtools')) install.packages('devtools')

## settings your proxy using 'httr' package
(set_config(verbose())) # check the configuration

## installing from github

reset_config()  # only if you want to revert the proxy configuration
## ------------------------------------------



One thought on “Error installing FAS package from github

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s