Dear all,

I am getting a error while using lapply to generate plots. The variable
".name" is used to identify each plot in the "main" variable. The method
worked once but afterwards seems to throw up an error when used in a
different case. The input ...

dataOut <- lapply(names(dataIn), FUN =
function(.name){anotherplotFun(dataIn[[.name]], numb = .name)} )

Throws up the error ...

Error in testFun(corrData[[.name]], numb = .name) :
  promise already under evaluation: recursive default argument reference or
earlier problems?


Thanks

Chibisi

        [[alternative HTML version deleted]]

______________________________________________
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