[R] Warning message if the plot statement breaks into 2 lines

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 29 20:20:28 CEST 2004


This is a consequence of a change described in NEWS to allow 
multi-line *strings*.

On Fri, 29 Oct 2004 partha_bagchi at hgsi.com wrote:

> Here is a curious observation. In 
> 
> > version
>          _ 
> platform i386-pc-mingw32
> arch     i386 
> os       mingw32 
> system   i386, mingw32 
> status 
> major    2 
> minor    0.0 
> year     2004 
> month    10 
> day      04 
> language R 
> >
> 
> Try the following:
> 
> > Plot(c(1:100), type = "l
> + ")
> Warning message: 
> plot type 'l
> ' truncated to first character in: plot.xy(xy, type, pch, lty, col, bg, 
> cex, lwd, ...) 
> >
> 
> Where as in 
> > version
>          _ 
> platform i386-pc-mingw32
> arch     i386 
> os       mingw32 
> system   i386, mingw32 
> status 
> major    1 
> minor    9.1 
> year     2004 
> month    06 
> day      21 
> language R 
> >
> > plot(c(1:10), type = "l
> Error: syntax error
> >
> 
> ______________________________________________
> R-help at 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
> 
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list