Re: [R] R is GNU S, not C.... [was "how to get or store ....."]

From: <vincent_at_7d4.com>
Date: Wed 07 Dec 2005 - 05:56:46 EST

Patrick Burns a écrit :

> We get questions on R-help often enough about why
> code like:
>
> if(x > 0) y <- 4
> else y <- 4.5e23
>
> doesn't work.
>
> If people habitually used semi-colons, those sorts of
> questions would probably multiply.

I wrote "end of line" in my first message, but in fact I did mean "end of statement".

By the way, there will always be more ways to make mistakes than to make rigth ... with or without semi-colons ;-)



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 07 07:13:43 2005

This archive was generated by hypermail 2.1.8 : Wed 07 Dec 2005 - 09:36:59 EST