Re: [R] Generic Plot and save function

2011-10-30 Thread Joshua Wiley
Hi, Regarding, ..., you literally just pass For example: f <- function(d, ...) { lapply(d, mean, ...) } f(1:10) # but you could pass other arguments to lapply. Regarding saving, my thought would be to just switch which device is started based on path. I'm sure thre are other, possibly

Re: [R] Generic Plot and save function

2011-10-30 Thread Alaios
I am replying to myself as regardless of the save I described below I also want to do something like the following do_analysis_for_data_sets <- function(AnalysisFunction, DataSets, ...) {     lapply(DataSets,AnalysisFunction, "how to pass the ... to lapply") } which means that I want to p