[Rd] Patching "update.packages" to enable updating of only a user defined subset of packages

2011-04-17 Thread Tal Galili
Hello dear R developers, I recently found out that it is not possible to limit update.packages() to update only a few packages at a time. The patch offered simply adds a 'subset' parameter and the statement bounded within "if(!missing(subset))" to implement it. The code is pasted bellow (and also

[Rd] R script in batch mode

2011-04-17 Thread jusce
Hello All! I'm a new R user, with no much experience. I have a R script (downloaded from internet) which has user interaction using "readline()" function. So as I have to run it repeatdly (with some different options) I was planning to do it on a BATCH mode. Is there any way to answer the "readli

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-17 Thread Thomas Lumley
On Mon, Apr 18, 2011 at 2:00 PM, Dario Strbenac wrote: > It turns out what I needed was IRanges in the Imports: field. I assumed that > require(GenomicRanges) at the top of my function would, as a result of > loading GenomicRanges, implicitly already know about all the IRanges classes, > becaus

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-17 Thread Dario Strbenac
It turns out what I needed was IRanges in the Imports: field. I assumed that require(GenomicRanges) at the top of my function would, as a result of loading GenomicRanges, implicitly already know about all the IRanges classes, because GenomicRanges itself depends on them. Original message -

Re: [Rd] Tail Call Elimination?

2011-04-17 Thread Dominick Samperi
The Scheme-inspired function callCC may support this to some extent, but the R man page on this function is very sketchy. Examples have been posted by the author of callCC, so you might want to search the archives. Dominick On Sun, Apr 17, 2011 at 1:34 AM, Mohit Dayal wrote: > Dear R-programmers