Closed jranke closed 10 years ago
Yes, and I can't think of any easy way to implement this. My only suggestion would be to create an environment in the global scope and refer to that in the script.
OK, I tested assigning a list of arguments to .GlobalEnv. This works to pass them to the GUI, but yields a NOTE in the package check that I am assigning to the global environment. Also, when I start the GUI a second time, I get notes about the arguments masking each other. So I am not sure if this is worth it. I guess CRAN maintainers would complain.
Yes, they will complain. You can circumvent things at times by putting these calls in a script that gets read in. I think that the scripts don't get checked .
On Thu, May 1, 2014 at 8:55 AM, Johannes Ranke notifications@github.comwrote:
OK, I tested assigning a list of arguments to .GlobalEnv. This works to pass them to the GUI, but yields a NOTE in the package check that I am assigning to the global environment. Also, when I start the GUI a second time, I get notes about the arguments masking each other. So I am not sure if this is worth it. I guess CRAN maintainers would complain.
— Reply to this email directly or view it on GitHubhttps://github.com/jverzani/gWidgetsWWW2/issues/11#issuecomment-41907407 .
John Verzani Chair, Department of Mathematics College of Staten Island, CUNY verzani@math.csi.cuny.edu
I did not find a way to pass startup arguments to the GUI R script, which would be very nice.