Is there a way to edit user defined functions once they've been created? For instance, I've a simple function that plots a table, but I'd like to go back and add more parameters to the barplot call. Is there a way to change this function without completely starting from scratch? Other than storing the code in a file and re-running it? Joshua Gramlich Piocon Technologies Chicago, Illinois USA
See ?fix. Joshua Gramlich wrote:> Is there a way to edit user defined functions once they've been > created? For instance, I've a simple function that plots a table, but > I'd like to go back and add more parameters to the barplot call. Is > there a way to change this function without completely starting from > scratch? Other than storing the code in a file and re-running it? > > > Joshua Gramlich > Piocon Technologies > Chicago, Illinois USA > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-help >
See ?edit If you use ESS, C-c C-d. On Friday 14 February 2003 04:07 pm, Joshua Gramlich wrote:> Is there a way to edit user defined functions once they've been > created? For instance, I've a simple function that plots a table, but > I'd like to go back and add more parameters to the barplot call. Is > there a way to change this function without completely starting from > scratch? Other than storing the code in a file and re-running it? > > > Joshua Gramlich > Piocon Technologies > Chicago, Illinois USA > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-help