This is a major point... do not make the mistake that you can "get by" using MSWord as a text editor because it actively changes your code in ways that make sense in a word processor but change code in ways that corrupt it. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
On September 4, 2015 7:09:29 AM PDT, jwd <j...@surewest.net> wrote: >On Fri, 4 Sep 2015 21:07:19 +1000 >"Joyaa Antares" <jo...@goldcoastosteopathy.com.au> wrote: > >> 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! 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. >> >> Once again, very many thanks. Joyaa >> >A potentially useful piece of advise is to avoid using MSWord as a text >editor. I don't use Rcmdr, but text files, particularly CSVs are >extremely useful in R as data files. Scripts should be pure text as >well. Word demands that you keep this in mind at all times. It won't >default to a simple text mode. You can use notepad, which MS provides >as a stopgap, though I would recommend a more capable programmer's text >editor such as Notepad++, a very useful GPL-licensed text editor for >Windows, which can be downloaded for free. > >JWDougherty > >______________________________________________ >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.