Skip to content
Prev 82253 / 398502 Next

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

Martin Maechler a ??crit :
May I disagree ?
I find missing ";" at end of lines *so* ugly.
Ugly/not ugly depends on our observer's eyes.
 From my programmer point of view, I prefer to mark
clearly the end of the lines.
In many languages, it's safer to do it this way,
and I thank the R developers to permit it.
(in my opinion, it should even be mandatory).
(By the way, marking the end of lines with a unique symbol
makes also the job easier for the following treatment.)
And yes, I'm also a C programmer ;-)

 > {and I have another chain of argments why   "<-" is so more
 > expressive than "="

Why "<-" seems better than "=" is also quite mysterious for me.
There was a discussion about this point recently I think.
I believe in 99% of cases it's more for historical reason
(and perhaps also for some "snob" reasons).

I am not at all a 20 years experienced R programmer, but I have
written several hundreds of R lines those 6 last months,
and until today didn't get any problem using "=" instead of "<-".

But I'll read your chain of arguments with interest.

Thread (33 messages)

shanmuha boopathy how to get or store the intermediate v?lues while running a function Dec 6 vincent@7d4.com how to get or store the intermediate v?lues while running a function Dec 6 Martin Maechler R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Adaikalavan Ramasamy R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Philippe GROSJEAN R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Adaikalavan Ramasamy R is GNU S, not C.... [was "how to get or store ....."] Dec 6 vincent@7d4.com R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Brian Ripley R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Xiaofan Li R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Jan T. Kim R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Peter Ehlers R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Barry Rowlingson R formatting Dec 6 Patrick Burns R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Peter Dalgaard R formatting Dec 6 Martin Maechler R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Barry Rowlingson R formatting Dec 6 vincent@7d4.com R is GNU S, not C.... [was "how to get or store ....."] Dec 6 (Ted Harding) R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Deepayan Sarkar R is GNU S, not C.... [was "how to get or store ....."] Dec 6 (Ted Harding) R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Patrick Connolly R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Philippe GROSJEAN R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Patrick Connolly R is GNU S, not C.... [was "how to get or store ....."] Dec 6 vincent@7d4.com R is GNU S, not C.... [was "how to get or store ....."] Dec 6 Peter Ehlers R is GNU S, not C.... [was "how to get or store ....."] Dec 7 Dave Roberts R is GNU S, not C.... [was "how to get or store ....."] Dec 7 Gabor Grothendieck R is GNU S, not C.... [was "how to get or store ....."] Dec 7 Jan T. Kim R is GNU S, not C.... [was "how to get or store ....."] Dec 7 Jim Lemon R is GNU S, not C.... [was "how to get or store ....."] Dec 7 Deepayan Sarkar R is GNU S, not C.... [was "how to get or store ....."] Dec 7 Brian Ripley R coding style (was R is GNU S, not C....) Dec 7 Martin Maechler R is GNU S, not C.... [was "how to get or store ....."] Dec 7 vincent@7d4.com R coding style (was R is GNU S, not C....) Dec 8