Re: [R] Ensure parameter is a string when passed within an lapply & called function runs a 'substitute' on it

2016-05-11 Thread Andrew Clancy
se the parent environment, the subtitue should remain. See the resolution here (jcheng beat r-help to it this time!) https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/shiny-discuss/cIZJzQmw8tQ On 11 May 2016 at 08:48, David Winsemius wrote: > > > On May 9

[R] Ensure parameter is a string when passed within an lapply & called function runs a 'substitute' on it

2016-05-10 Thread Andrew Clancy
Hi, I’m trying to solve what looks like the same issue as stack overflow article, but within an lapply: http://stackoverflow.com/questions/18939254/cant-use-a-variable-as-an-argument-but-can-use-its-value I’ve replicated the issue with partialPlot below in ‘testFunc’. The lines up to the final