[datatable-help] How to produce variations of a text?
nachti
kpm.nachtmann at gmail.com
Wed Nov 2 22:56:44 CET 2016
@affableambler
Explicit loops (e.g. for) are inefficient and should not be used if it's
possible.
unlist(lapply(...)) is safer than sapply(...)
I posted the lapply version, because if the result should be used within a
data.table, the right handside (right from :=) should be a list.
~g
--
View this message in context: http://r.789695.n4.nabble.com/How-to-produce-variations-of-a-text-tp4726153p4726160.html
Sent from the datatable-help mailing list archive at Nabble.com.
More information about the datatable-help
mailing list