[Rd] Warnings generated by log2()/log10() are really large/takes a long time to display

Gabor Grothendieck ggrothendieck at gmail.com
Wed Feb 27 14:39:47 CET 2008


On Wed, Feb 27, 2008 at 5:50 AM, Henrik Bengtsson <hb at stat.berkeley.edu> wrote:
> On Wed, Feb 27, 2008 at 12:56 AM, Prof Brian Ripley
> <ripley at stats.ox.ac.uk> wrote:
> > On Wed, 27 Feb 2008, Martin Maechler wrote:
> >
> >  > Thank you Henrik,
> >  >
> >  >>>>>> "HenrikB" == Henrik Bengtsson <hb at stat.berkeley.edu>
> >  >>>>>>     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.



More information about the R-devel mailing list