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]]