[R] problems installing package XML to a computer without an internet connection
Bob Green
bgreen at dyson.brisnet.org.au
Sun Jan 11 06:28:46 CET 2009
Hello Gabor,
I believe I used the method you described to download zip files for
rJava, tm, matrix, filehash etc etc. There is no windows zip file for
XML, only a gz file which I can't get to load through install local
zip file. The XML zip file I located on
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.7/ resulted
in the namespace error.
regards
Bob
At 01:23 PM 11/01/2009, Gabor Grothendieck wrote:
>On a computer with an internet connection use your browser to
>find and download the XML package zip file. (Note that this
>step does not involve using R.)
>
>Transfer zip file to XP. Start up R on the XP & use the menus:
> Packages | Install package(s) from local zip file
>to install it.
>
>On Sat, Jan 10, 2009 at 9:50 PM, Bob Green
><bgreen at dyson.brisnet.org.au> wrote:
> > Hello,
> >
> > I am hoping for some advice regarding how I can install the XML package
> > which I require to run package tm.
> >
> > Normally I would use the install package option, however, I have to install
> > the packages to a laptop running XP. The laptop does not have an internet
> > connection.
> >
> > Firstly I tried the file - XML_1.99-0.tar.gz . Below is the error I
> > received
> >
> > Error in gzfile(file, "r") : cannot open the connection
> > In addition: Warning messages:
> > 1: In zip.unpack(pkg, tmpDir) : error 1 in extracting from zip file
> > 2: In gzfile(file, "r") :
> > cannot open compressed file 'XML_1.99-0.tar.gz/DESCRIPTION', probable
> > reason 'No such file or directory'
> >
> > Then I tried XML 1.96-0.zip (from
> > http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.7/). Below is the
> > error I received
> >
> > Loading required package: XML
> > Error in loadNamespace(i, c(lib.loc, .libPaths())) :
> > there is no package called 'proxy'
> > Error: package/namespace load failed for 'tm'
> >
> > Any suggestions are appreciated,
> >
> > Bob
> >
> > ______________________________________________
> > 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.
> >
More information about the R-help
mailing list