search for: anotherplotfun

Displaying 1 result from an estimated 1 matches for "anotherplotfun".

2008 Nov 02
0
error in lapply (sorry error in last e-mail)
...le 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 anotherplotFun(dataIn[[.name]], numb = .name) : promise already under evaluation: recursive default argument reference or earlier problems? Thanks Chibisi [[alternative HTML version deleted]]