[R] Turning on helpful errors in interpreter? was Re: problem with simple if() statement
Uwe Ligges
ligges at statistik.uni-dortmund.de
Mon Feb 13 17:51:27 CET 2006
Patricia J. Hawkins wrote:
> Evidently, my R has some feature of error messages disabled.
>
>
>>>>>>"NG" == Norman Goodacre <taranpen at yahoo.co.uk> writes:
>
>
> NG> the following code apprantely, for some grand old reason, induces a syntax error:
> NG> if (seq[i] = "A") m <- trans[1,]
>
> NG> Error: syntax error in "if (seq[i] ="
>
> Where Norman gets this nice error message pointing to the exact
> location of the error, all I get is:
>
>
>>if (1=1) 5
>
> Error: syntax error
>
>
> How do I turn on more-verbose error messages? Is this an environmental
> issue, or a build issue?
It's a version issue! Please update.
Uwe Ligges
>
> This is a debian (ubuntu breezy) build; happens even when I run R --vanilla
>
> R.version
> _
> platform i486-pc-linux-gnu
> arch i486
> os linux-gnu
> system i486, linux-gnu
> status
> major 2
> minor 1.1
> year 2005
> month 06
> day 20
> language R
>
> TIA!
>
More information about the R-help
mailing list