Robin Hankin wrote:

> For the line breaking, R deals with incomplete lines by not
> executing the statement until you finish it.

Beware, however, that syntactically valid lines do get executed
immediately (at least at the prompt).  So

1 + 2
- 3

will be interpreted as two commands (returning 3 and -3,
respectively), while

1 + 2 -
3

will be interpreted as a single command (returnig 0).

-- 
Bjørn-Helge Mevik

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to