Re: [R] Unreasonable syntax error

2011-06-22 Thread Greg Snow
nces@r- > project.org] On Behalf Of Ted Harding > Sent: Tuesday, June 21, 2011 1:25 AM > To: r-help@r-project.org > Subject: Re: [R] Unreasonable syntax error > > How long can a fortune be? Bill's response is fortune-worthy > in its entirety! > > I would intensi

Re: [R] Unreasonable syntax error

2011-06-21 Thread Daniel Malter
I find this sign in the code multiple times: ¨C; I replaced those with *; there is also a MS-Word flexible hyphenation sign in there somewhere, probably standing for a minus sign. Other than that, there are a couple of output calls within loops that do not do anything anyway, but which seem to be m

Re: [R] Unreasonable syntax error

2011-06-21 Thread Ted Harding
How long can a fortune be? Bill's response is fortune-worthy in its entirety! I would intensify his advice to "NOT to use Microsoft Word." Note the Full Stop. I will spare people the full catalogue of misfortunes I have observed, but feel inclined to cite the case of someone to whom I once sent a

Re: [R] Unreasonable syntax error

2011-06-20 Thread Bill.Venables
The advice is always NOT to use Microsoft Word to edit an R file. That stuff is poisonous. Microsoft word, typical of all Microsoft software, does not do what you tell it to do but helpfully does what it thinks you meant to ask it to do but were too dumb to do so. Even notepad, gawdelpus, wou

Re: [R] Unreasonable syntax error

2011-06-20 Thread Ray Brownrigg
On Tue, 21 Jun 2011, james198877 wrote: > http://r.789695.n4.nabble.com/file/n3612530/PSC.r PSC.r > > Hi all, > > I just wrote a program in R by editing it in Microsoft Word and then > pasting into the text editor of R. The above is the file. > > And below is what the console complains Why d