I cannot access internet through R. My IT-guys told me that I should set the proxy and the port and then everything will be fine. Where can I set them? I use R 2.6.2 under Windows 2000 and these settings are those of the Internet Explorer (no password). I read http://cran.at.r-project.org/bin/windows/base/rw-FAQ.html#The-Internet-download-functions-fail_002e but staring R by "C:\Program Files\R\R-2.6.2\bin\Rgui.exe" --internet2 a package update still gives me an error:> update.packages(ask='graphics')--- Please select a CRAN mirror for use in this session --- Fehler: Indizierung au?erhalb der Grenzen Zus?tzlich: Warning messages: 1: In read.dcf(file = tmpf) : Line starting '<html> ...' is malformed! 2: In read.dcf(file = tmpf) : Line starting ' <head> ...' is malformed! 3: In read.dcf(file = tmpf) : Line starting '</html> ...' is malformed! Do you know what I could try next? Thanks Thomas
Which mirror do you use? Uwe Ligges Thomas Steiner wrote:> I cannot access internet through R. > My IT-guys told me that I should set the proxy and the port and then > everything will be fine. Where can I set them? > I use R 2.6.2 under Windows 2000 and these settings are those of the > Internet Explorer (no password). > > I read http://cran.at.r-project.org/bin/windows/base/rw-FAQ.html#The-Internet-download-functions-fail_002e > but staring R by > "C:\Program Files\R\R-2.6.2\bin\Rgui.exe" --internet2 > a package update still gives me an error: > >> update.packages(ask='graphics') > --- Please select a CRAN mirror for use in this session --- > Fehler: Indizierung au?erhalb der Grenzen > Zus?tzlich: Warning messages: > 1: In read.dcf(file = tmpf) : Line starting '<html> ...' is malformed! > 2: In read.dcf(file = tmpf) : Line starting ' <head> ...' is malformed! > 3: In read.dcf(file = tmpf) : Line starting '</html> ...' is malformed! > > Do you know what I could try next? > Thanks > Thomas > > ______________________________________________ > R-help at 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.
> Which mirror do you use?As I am living in Vienna, I use "Austria". Which should I try? Thomas
On 3/10/08, Thomas Steiner <finbref.2006 at gmail.com> wrote:> I cannot access internet through R. > My IT-guys told me that I should set the proxy and the port and then > everything will be fine. Where can I set them?Recently, I also had problems installing packages when under a transparent proxy. What helped (both Windows and Linux) was to make sure that wget correctly accesses the Internet, and under R run smth like: install.packages("package", method="wget"). I don't remember remember exactly what files and how I tweaked them on Windows, but the Internet should be of help. Also, check this thread [1] for hints. Liviu [1] http://tolstoy.newcastle.edu.au/R/e3/help/07/10/1395.html
Maybe Matching Threads
- Split data frame by date (POSIXlt)
- Help required to install package from a website
- problems with pan(): Indizierung ausserhalb der Grenzen = subscript out of bounds
- update.packages() and install.packages() does not work more because of "Error in read.dcf"
- Installation of packages via GUI, Mac OS X