Ben Bolker wrote: > > (2) [long term] develop your code in a text editor (Tinn-R, emacs, > R source code editor accessible from the menu ...) and cut & paste > or source() as necessary. >
Which I consider the only real solution. From many tutorials, one gets the impression that the purely interactive way is the method of choice, followed by save(). This probably is the reason why it is so difficult to ask for self-contained examples. Maybe we should have some warning displayed in the opening screen: "Are you sure you have a separate editor window open?" Dieter -- View this message in context: http://n4.nabble.com/Editing-a-function-tp1572251p1572557.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.