Hi, I am trying to download data off of this web site http://www.eia.gov/oil_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 for your help. Arun --- [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.