[RkWard-devel] installing packages hangs

jjmichael at comcast.net jjmichael at comcast.net
Mon Sep 5 14:45:13 UTC 2005


Hi, 

1) When running CRAN.packages() in the terminal, I get no window, but am provided with a text list of mirrors in the terminal.  I can select a mirror by giving its number, and then a list of available packages is shown.

2) When re-creating the error in question in rkward, I entered "42" at the "Selection:" prompt (in the terminal), and the list appeared as it should in the graphical window of rkward.  I was then able to select packages.  However, this led me to another bug and another question.

First, the bug:  when I select packages and then attempt to install them, I get the following error:

running command: .rk.get.CRAN.packages ()
Selection: 42
running command: download.packages (pkgs=c ("g.data", "gdata", "gplots", "gregmisc", "gstat", "gtools"), destdir="/root/.rkward/.packagetemp")
* Installing *source* package 'g.data' ...
** R
** help
 >>> Building/Updating help pages for package 'g.data'
     Formats: text html latex example
  g.data.save                       text    html    latex   example
  g.data.upgrade                    text    html    latex
** building package indices ...
Warning: cannot open file '/tmp/RtmpQWOWbJ/Rf327b23c6'
Error in file(open = "w+") : unable to open connection
Execution halted
ERROR: installing package indices failed


For some reason, when it gets to building the package indices, it's looking for something in a directory that doesn't exist (/tmp/RtmpQWOWbJ/Rf327b23c6 does not exist on my system, and I'm not sure what it's looking for there anyway.  In fact, the directory /tmp/RtmpQWOWbJ doesn't exist either).

Now, the question.  Am I able to set custom mirrors?  For instance, I would like to be able to browse the bioconductor repositories, but am not able to specify them.

Thanks in advance for any help and ideas.

--Jake


> Hi,
> 
> > Well, I tried again to see if there was a mirror selection window
> > that popped up somewhere else, and there is no window anywhere.  I've
> > checked all virtual desktop spaces and have moved windows around to
> > make sure that it didn't pop up somewhere else.  I've attached a
> > screenshot with the windows that are up and the relevant terminal
> > output.  This is a very vexing problem as this is really the last
> > feature I really need for my R GUI on Linux needs.
> 
> as you may have noted, your post did not go through to the list, due to the 
> screenshot. Size limit is 100KB. Anyway, the screenshot does not really show 
> anything unusual. Ok, two questions:
> 
> 1) If you invoke a plain session of R (i.e. not in rkward, no other frontend), 
> and run 
> CRAN.packages ()
> what exactly do you get? Does a window come up? Does R ask for input on the 
> terminal?
> 
> 2) This may sound a bit weird, but try this: When this happens, go to the 
> terminal you started rkward from (and that's now saying "Selection:", and 
> press enter (or perhaps try some other keys / numbers). Possibly for some 
> reason, R tries to ask you to specify a mirror with StdIn.
> 
> Thanks!
> Thomas
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> RKWard-devel mailing list
> RKWard-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rkward-devel




More information about the Rkward-devel mailing list