Displaying 1 result from an estimated 1 matches for "gasdiesel".
2012 Jun 06
1
Proxy Setting
...gas/petroleum/data_publications/wrgp/mogas_history.html
I used to set the proxy following code to set the proxy
Sys.setenv(wget="http://username:password@"proxy server":port")
I used the following code to download the data
GAS<-read.table("http://www.eia.gov/petroleum/gasdiesel/xls/pswrgvwall.csv" , sep="," , header="T")
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
unable to connect to 'www.eia.gov' on port 80.
Am I setting the proxy correctly?
Thanks...