[R] inplace assignment
David Hugh-Jones
davidhughjones at gmail.com
Fri Jun 16 11:23:57 CEST 2006
- Previous message: [R] Assignemt problem ,,,,,,,,,,,,,,,
- Next message: [R] inplace assignment
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
I get tired of writing, e.g.
data.frame[some.condition & another.condition, big.list.of.columns] <-
paste(data.frame[some.condition & another.condition,
big.list.of.columns], "foobar")
I would a function like:
inplace(paste(data.frame[some.condition & another.condition,
big.list.of.columns], "foobar"))
which would take the first argument of the inner function and assign
the function's result to it.
Has anyone done something like this? Are there simple alternative
solutions that I'm missing?
Cheers
David
- Previous message: [R] Assignemt problem ,,,,,,,,,,,,,,,
- Next message: [R] inplace assignment
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the R-help
mailing list