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
NULL

$runif.10..2
NULL

 >

How can I avoid this printout without using

tmp <- lapply( p, function(ps) {x11(); plot(ps)} )?

Thanks,

Rainer

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to