[Rd] let R and Rscript infer paths from their own location (PR#14007)

2009-10-15 Thread pkensche
Full_Name: Philip R. Kensche Version: 2.9.1 OS: Linux Submission from: (NULL) (131.174.146.252) Use case: Run R scripts using bin/Rscript or "bin/R --no-restore --file= --args " in a heterogeneous computing grid in which it is not possible to predict the actual installation directory of the R bin

[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",

[Rd] substitute(INDICES) in by.data.frame returns invalid multi-line name (PR#9108)

2006-07-28 Thread pkensche
Full_Name: Philip Kensche Version: 2.3.0 OS: Redhat Linux Submission from: (NULL) (131.174.88.204) Try this: -- x <- data.frame(the.first.column=c("A"), the.second.column=c("b"), the.third.column=c("d"), and.many.more.columns=c("e")) by(x, paste(x$the.first.column, x$the.second.column, x$and.ma