On Wed, Feb 27, 2008 at 5:50 AM, Henrik Bengtsson <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 12:56 AM, Prof Brian Ripley
> <[EMAIL PROTECTED]> wrote:
> > On Wed, 27 Feb 2008, Martin Maechler wrote:
> >
> >  > Thank you Henrik,
> >  >
> >  >>>>>> "HenrikB" == Henrik Bengtsson <[EMAIL PROTECTED]>
> >  >>>>>>     on Tue, 26 Feb 2008 22:03:24 -0800 writes:
> >  >
> >  > {with many superfluous empty statements ( i.e., trailing ";" ):
> >
> >  Indeed!
>
> I like to add a personal touch to the code I'm writing ;)
>
> Seriously, I added them here as a bait in order to get a chance to say
> that I finally found a good reason for adding the semicolons.  If you
> cut'n'paste code from certain web pages it may happen that
> newlines/carriage returns are not transferred and all code is pasted
> into the same line at the R prompt.  With semicolons you still get a
> valid syntax.  I cannot remember under what conditions this happened -

I have seen that too and many others have as well since in some forums
(not related to R) its common to indent all source lines by two spaces.  Any
line appearing without indentation must have been wrapped.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to