An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090222/96f38887/attachment-0001.pl>
Setting global variables in a function
2 messages · Will Stone, Eik Vettorazzi
see ?'<<-' hth. Will Stone schrieb:
Hi, I am writing a function that plots many graphs so therefore I have it turn recording on. The problem is; that when it is run again, the new graphs get added to the old ones, doubling the amount recorded. I know that .SavedPlots<-NULL removes the recorded plots but how can this be done from inside a function? Thanks in advance. W. [[alternative HTML version deleted]]
______________________________________________ R-help at 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.