Displaying 1 result from an estimated 1 matches for "ilappli".
Did you mean:
ilapply
2008 Jan 25
1
lapply without return values?
Hi
I am looking for a function which is executing some code repeatedly,
exactly like lapply() and sappl() are doing, but do not return anything
as I am not interested in the return values.
An example would be:
> p <- data.frame(runif(10), runif(10), runif(10))
> lapply( p, function(ps) {x11(); plot(ps)} )
which results in three graphs and a printout:
$runif.10.
NULL
$runif.10..1