Dear Vasilis, > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of vasilis pappas > Sent: Thursday, December 16, 2004 3:30 AM > To: [EMAIL PROTECTED] > Subject: [R] 3 questions . . . > > 2) In my function I make use of the Rcmdr package. But every > time I use my function and the Rcmdr package loads, I get > the R-commander window and I have to delete it every time. So > I wonder if there is a way to avoid R-commander window every > time I load the Rcmdr package. >
You could remove the .onAttach() function from the package, which calls Commander() to start the Rcmdr GUI. Because Commander() performs a variety of initialisations, however, your function may not work properly in its absence. It's not possible to know whether you'll run into problems without knowing what you're using in the Rcmdr package. I hope that this helps, John -------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario Canada L8S 4M4 905-525-9140x23604 http://socserv.mcmaster.ca/jfox ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
