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