Re: [Rd] Suggestion: Dimension-sensitive attributes

2009-07-08 Thread SIES 73
Hi, I agree with Henrik that his suggestion to have "dimension vector attributes" working like dimnames (see below) would be an extremely useful infrastructure adittion to R. If this is not considered for R-core, I am happy to try to implement this in a package, as a new class. And possibly do

[Rd] "Roxygenating" packages

2009-07-08 Thread Barry Rowlingson
Is there any interest in a method of taking a package with documentation in Rd files and attaching it to package R files in Roxygen format? I can see a few problems with a totally general solution but it might be possible to make a script that provides a kickstart to converting a package to Roxygen

Re: [Rd] Installation of R_2.9.1 & readline (PR#13805)

2009-07-08 Thread Dirk Eddelbuettel
On 6 July 2009 at 08:50, mb990...@uni-greifswald.de wrote: | Submission from: (NULL) (141.53.34.152) | | | Hello, | when I try to install R by "./configure", I get the following message: | | | . | . | . | configure: error: --with-readline=yes (default) and headers/libs are not | available | .

Re: [Rd] "Roxygenating" packages

2009-07-08 Thread Claudia Beleites
Dear Barry, I'd definitely be interested. Though I don't have time to do it :-( But I'd volunteer as test user :-) --Claudia > Is there any interest in a method of taking a package with > documentation in Rd files and attaching it to package R files in > Roxygen format? I can see a few problems

Re: [Rd] "Roxygenating" packages

2009-07-08 Thread hadley wickham
Sounds like a neat idea! Especially with Duncan Murdoch's recent work making it easy to parse rdoc files in R. Hadley On Wed, Jul 8, 2009 at 1:07 PM, Barry Rowlingson wrote: > Is there any interest in a method of taking a package with > documentation in Rd files and attaching it to package R file

Re: [Rd] Suggestion: Dimension-sensitive attributes

2009-07-08 Thread Tony Plate
There have been times when I've thought this could be useful too. One way to go about it could be to introduce a special attribute that controls how attributes are dealt with in subsetting, e.g., "attr.dimname.like". The contents of this would be character data; on subsetting, any attribute t

Re: [Rd] "Roxygenating" packages

2009-07-08 Thread Barry Rowlingson
On Wed, Jul 8, 2009 at 3:53 PM, hadley wickham wrote: > Sounds like a neat idea!  Especially with Duncan Murdoch's recent work > making it easy to parse rdoc files in R. I reckon the tricky bit is going to be working out how to map the various possibilities of rdoc files into Roxygen syntax. We

[Rd] bug in seq_along

2009-07-08 Thread Kasper Daniel Hansen
Using the IRanges package from Bioconductor and somewhat recent R-2.9.1. ov = IRanges(1:3, 4:6) length(ov) # 3 seq(along = ov) # 1 2 3 as wanted seq_along(ov) # 1! I had expected that the last line would yield 1:3. My guess is that somehow seq_along don't utilize that ov is an S4 class with a