Dear Joyaa, > -----Original Message----- > From: Joyaa Antares [mailto:jo...@goldcoastosteopathy.com.au] > Sent: Friday, September 4, 2015 7:07 AM > To: Fox, John > Cc: r-help@r-project.org > Subject: Re: [R] Unable to run RcmdrPlugin.survival using 3.2.2 with > Windows 10 > > Dear John, > > Very many thanks. Your hypothesis was completely correct - I did save > the > workspace, and this is what created the problem. As a newbie, being > part > way through an "exercise", saving my workspace intuitively seemed the > right > thing to do. Clearly not!
It wouldn't have seemed the correct thing to do had you read the Rcmdr manual (accessible via "Help > Introduction to the R Commander"). See Section 6.5. I understand why saving the workspace was made the default on exiting the R Console -- after all, it can help users to avoid inadvertently losing work -- but it my experience it is a frequent source of confusion among new users of R, whether or not they're using the R Commander. > So now, before I closed R and Rcmdr, I > copied > and pasted from Rcmdr's script file into a MS Word document, added a few > comments (with preceding #), and then closed without otherwise saving > R's > script, output, workspace or markdown. I hope this is reasonable > practice. > If not, I would be grateful for guidance on this. You've already received good advice from others about *not* using Word as a programming editor. I think that it's safe to say that the most popular programming editor for R (and for good reason) is RStudio. The Rcmdr script tab has basic editing capabilities, including saving and opening R scripts, and it offers to save the script when you exit. You can, however, paste input and output, including graphs, from the Rcmdr into Word to create a report. It would be better, however, to use the Rcmdr Markdown tab to create reports in the form of HTML, PDF, or Word files. The Rcmdr includes an editor for R Markdown documents. See Sections 6.1 and 6.2 of the manual. Best, John > > Once again, very many thanks. Joyaa > > -----Original Message----- > From: Fox, John > Sent: Friday, September 4, 2015 1:24 PM > To: Joyaa Antares > Cc: r-help@r-project.org > Subject: RE: [R] Unable to run RcmdrPlugin.survival using 3.2.2 with > Windows > 10 > > Dear Joyaa, > > > -----Original Message----- > > From: Joyaa Antares [mailto:jo...@goldcoastosteopathy.com.au] > > Sent: September 3, 2015 9:37 PM > > To: Fox, John <j...@mcmaster.ca> > > Cc: r-help@r-project.org > > Subject: Re: [R] Unable to run RcmdrPlugin.survival using 3.2.2 with > > Windows 10 > > > > Dear John, Dear List, > > > > Thank you for responding. Like you, I have tried uninstalling R and > > reinstalling > > again. Question 1: having uninstalled R, how do you delete the > package > > library? > > You say below that you installed R packages when R was run as > administrator > and that you took all defaults. In that case, the installed packages > will > be in C:\Program Files\R\R-3.2.2\library . Just delete the library > directory, which will still be there after R 3.2.2 is uninstalled. I do > recommend, by the way, that, for using the Rcmdr, you install R with the > SDI > rather than the default MDI, but that doesn't explain your difficulties. > > > > > I have used defaults throughout the process, except for running the > whole > > things > > as Administrator rather than a User. For the mirror, my first two > install > > attempts > > were via a mirror in Germany. My 3rd and 4th attempts via Cambridge, > UK. > > > > Perhaps importantly: the first time I ran the RcmdrPlugin.survival > plug-in > > it > > worked fine. > > If you said that before, I missed it. > > > I got half way through the exercise I was attempting, then closed > > the programs for the night. The next day, when I tried to reload the > > plugin from > > R Commander, the plugin asked me to restart R Commander, but on opting > for > > "Yes", this is when R Commander does not open properly. > > Here's my hypothesis: When you "closed" R, you saved the R workspace. My > guess is that this is the source of your problem. If so, the saved > workspace > is in the file .RData in your home directory; delete it and try again. > > If this works, in future, exit from the Rcmdr and R via the Rcmdr menus > (or > if closing R directly, don't save the workspace). > > I hope this helps, > John > > ----------------------------- > John Fox, Professor > McMaster University > Hamilton, Ontario > Canada L8S 4M4 > Web: socserv.mcmaster.ca/jfox > > > > > > My thanks to you and the list for your time. Joyaa (Gold Coast, > > Queensland, > > Australia) > > > > -----Original Message----- > > From: Fox, John > > Sent: Friday, September 4, 2015 1:29 AM > > To: Joyaa Antares > > Cc: r-help@r-project.org > > Subject: RE: [R] Unable to run RcmdrPlugin.survival using 3.2.2 with > > Windows > > 10 > > > > Dear Joyaa, > > > > I too run R 3.2.2 on a Windows 10 system. I uninstalled R, deleted my > > package > > library, and then reinstalled R and the Rcmdr and RcmdrPlugin.survival > > packages. > > I took all defaults, except that I selected the SDI rather than the > > default MDI for > > Rgui, but I seriously doubt that this is the source of your problem. I > > used the 0- > > Cloud mirror, both for R > > 3.2.2 and for packages. > > > > I'm afraid that I can't duplicate your problem -- everything works > > perfectly fine > > for me. > > > > You provided a reasonable amount of detail, but is there anything else > you > > can > > add? > > > > Best, > > John > > > > ----------------------------- > > John Fox, Professor > > McMaster University > > Hamilton, Ontario > > Canada L8S 4M4 > > web: socserv.mcmaster.ca/jfox > > > > > > ________________________________________ > > From: R-help [r-help-boun...@r-project.org] on behalf of Joyaa Antares > > [jo...@goldcoastosteopathy.com.au] > > Sent: September 3, 2015 8:31 AM > > To: r-help@r-project.org > > Subject: [R] Unable to run RcmdrPlugin.survival using 3.2.2 with > Windows > > 10 > > > > Hello r-help, > > > > I am quite new to R. I downloaded R 3.2.2 for Windows to use with > Windows > > 10. > > > > On attempting to load the RcmdrPlugin.survival plug-in I got this > error > > message: > > > > Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : > > [tcl] invalid command name "configure". > > > > The lead-up to this was: > > > > * I uninstalled R 3.2.2 and deleted all R files I could find. > > * Downloaded R 3.2.2 to do a fresh install > > * Opened the .exe file as Administrator > > * Ran 64-bit R as Administrator > > * Updated all packages > > * Installed Rcmdr and RcmdrPlugin.survival > > * Ran Rcmdr using library(Rcmdr) from the console > > * This required an install of a host of packages, which I installed > > * Loaded RcmdrPlugin.survival from the Tools menu > > * I was asked to restart R commander, and when I tried it didn't open > > properly > > (showing only File/Edit/Data in the menu bar), and this wouldn't close > > properly > > either. The error message as above showed in the console. > > > > I haven't posted to the list before and would be very grateful for > help. > > Thank you. Joyaa > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > 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. > > = ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.