Re: [R] Whitespace

2017-05-01 Thread Barry Rowlingson
That looks like an error from Stan parsing your stan file, but the code you put in the message doesn't look like Stan code, it looks like R code, so maybe you've tried to parse your R code with Stan There's no mention of stan in the code either, like the rstan package, so somehow you've got a

Re: [R] Whitespace

2017-05-01 Thread Jim Lemon
Hi Miguel, You don't seem to have defined "J" before line 2. Maybe that is the problem. Jim On Mon, May 1, 2017 at 2:57 PM, Miguel Angel Hombrados Herrera wrote: > Hello > > > Ive been working on a stan program in Rstudio. Im kind of new on this, so > probably my

[R] Whitespace

2017-05-01 Thread Miguel Angel Hombrados Herrera
Hello Ive been working on a stan program in Rstudio. Im kind of new on this, so probably my question is trivial, However I was not able to find information about this. The error Im getting when I run my stan code is: PARSER EXPECTED: whitespace to end of file. FOUND AT line 2: The code

[R] whitespace with subscript text

2009-10-30 Thread e-letter
Readers, I have the following command: expression(A[1]B~%) but that causes an error so I changed to: expression(A[1]~B~%) but the result is too much whitespace between subscript and B. Is there a way to reduce this whitespace? Yours, rhelp at conference.jabber.org r 251 mandriva 2008

Re: [R] whitespace with subscript text

2009-10-30 Thread Uwe Ligges
e-letter wrote: Readers, I have the following command: expression(A[1]B~%) but that causes an error so I changed to: expression(A[1]~B~%) but the result is too much whitespace between subscript and B. Is there a way to reduce this whitespace? Use * rather than ~ Uwe Ligges Yours,