[Rd] DESCRIPTION file and Rd examples

2011-04-14 Thread Dario Strbenac
I have a confusing error from R CMD check that I don't get when running the example manually by hand. In the \examples section of an Rd file, I create a GRanges object, then I call a function with the GRanges object, whose first 2 lines are require(GenomicRanges) annoDF <- as.data.frame

Re: [Rd] Possible bug in 'relist()' and/or 'as.relistable()'

2011-04-14 Thread Simon Urbanek
On Apr 14, 2011, at 5:13 PM, Janko Thyson wrote: > Dear list, > > I think I just stumbled across a bug in either 'relist()' and/or > 'as.relistable()'. It seems that 'pairlists' can only be un- and relisted as > long as they're not nested: > > Good: > a <- as.relistable(as.pairlist(list(a=1, b=

[Rd] Possible bug in 'relist()' and/or 'as.relistable()'

2011-04-14 Thread Janko Thyson
Dear list, I think I just stumbled across a bug in either 'relist()' and/or 'as.relistable()'. It seems that 'pairlists' can only be un- and relisted as long as they're not nested: Good: a <- as.relistable(as.pairlist(list(a=1, b=2))) a <- unlist(a) relist(a)# Works Bad: a <- as.relistable(as.pa

[Rd] Postscript can be very slow in R 2.13-0

2011-04-14 Thread Stephen Milborrow
Viewing certain postscript files under R 2.13-0 is very slow, at least using GSview on my 64 bit Windows 7 system. To see this, compare how long it takes to display these two files (fast.ps was created by removing the /srgb stuff in .ps.prolog): www.milbo.org/postscript/slow.ps www.mil

[Rd] S4 plus

2011-04-14 Thread James Perkins
Dear all, I set a generic s4 funciton, then add a method. When I do this, I notice that when pressing tab, the arguments to this method do not appear like they do for generic functions, instead I get an elipsis. i.e. > setClass("batchFile") [1] "batchFile" > > setGeneric("Gen1", function(batchF