Dear List, I am trying to extend Rcmdr with some functions usefult to my study... I have addedd succesfully a menu and some submenu to the GUI, and I have placed a file .R in the /etc folder... I am able to call functions on that file, but I cannot see the results: how can I tell Rcmdr to write the output in the output box? Second question: how can I refer to the actually selected Dataset in my .R functions' file? Thank you, Simone Gabbriellini
Dear Simone, You'll find instructions for extending the R Commander in Section 4 of the paper at <socserv.socsci.mcmaster.ca/jfox/Papers/R-commander.pdf>. In most instances, you should cause commands to be executed and printed in the Script window and output to appear in the Output window by using the function doItAndPrint(). I hope this helps, John -------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 socserv.mcmaster.ca/jfox --------------------------------> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Simone > Gabbriellini > Sent: Monday, August 29, 2005 9:48 AM > To: r-help at stat.math.ethz.ch > Subject: [R] Rcmdr extensions > > Dear List, > > I am trying to extend Rcmdr with some functions usefult to my > study... I have addedd succesfully a menu and some submenu to > the GUI, and I have placed a file .R in the /etc folder... I > am able to call functions on that file, but I cannot see the > results: how can I tell Rcmdr to write the output in the output box? > > Second question: how can I refer to the actually selected > Dataset in my .R functions' file? > > Thank you, > Simone Gabbriellini > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > R-project.org/posting-guide.html