Re: [Rd] help("R_LIBS") brings up the wrong help file (PR#10475)

2007-11-28 Thread ripley
It brings up ?.libPaths in R 2.5.1 and later (that is, the last three releases of R). On Wed, 28 Nov 2007, [EMAIL PROTECTED] wrote: > Doing > help("R_LIBS") > brings up a help file (the same one as help(library)), > but the help file doesn't mention R_LIBS. > It does have a link to .libPat

Re: [Rd] help("R_LIBS") brings up the wrong help file (PR#10475)

2007-11-28 Thread Katharine Mullen
help(R_LIBS) is the same as help(.libPaths) for me. It appears you're running 2.5.0 - you could try updating, and then see if the issue still exists. --- platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2

[Rd] help("R_LIBS") brings up the wrong help file (PR#10475)

2007-11-28 Thread timh
Doing help("R_LIBS") brings up a help file (the same one as help(library)), but the help file doesn't mention R_LIBS. It does have a link to .libPaths, which does document R_LIBS. The quickest fix would be for help("R_LIBS") to bring up the .libPaths help file. --please do not edit the i

Re: [Rd] colnames slow (PR#10470)

2007-11-28 Thread maechler
> "UweL" == Uwe Ligges <[EMAIL PROTECTED]> > on Mon, 26 Nov 2007 22:14:07 +0100 writes: UweL> [EMAIL PROTECTED] wrote: >> Full_Name: Tomas Larsson >> Version: 2.6.0 >> OS: Windows XP >> Submission from: (NULL) (198.208.251.24) >> >> >> This is not a bu

Re: [Rd] hash access to data.frame uses prefix? (PR#10474)

2007-11-28 Thread ripley
If you do want only exact matching, use match(). E.g. in your example x[match("V41", row.names(x)), ] will give NA as you expected for a construction documented to do something else. On Wed, 28 Nov 2007, Prof Brian Ripley wrote: > Exact matching has preference over partial matching: see ?pmat

Re: [Rd] hash access to data.frame uses prefix? (PR#10474)

2007-11-28 Thread ripley
Exact matching has preference over partial matching: see ?pmatch. Your version of R is three versions obsolete: the latest version explains this in detail under ?`[.data.frame` and ?`[` (and maybe 2.5.0 does too). Please do your homework before sending non-bugs to R-bugs. On Wed, 28 Nov 2007,

[Rd] hash access to data.frame uses prefix? (PR#10474)

2007-11-28 Thread pkensche
Full_Name: Philip Kensche Version: R version 2.5.0 (2007-04-23) OS: Linux Submission from: (NULL) (131.174.146.31) I want to access a row of a data.frame() by using the row names as hash keys. This works fine for most keys. Now consider the following data.frame(). > x <- data.frame(v=c(V40="a",