This is already fixed: *please* don't send bug reports on obselete 
versions of R, especially without checking the current NEWS file:

                CHANGES IN R VERSION 1.6.2

...

    o   system(intern=TRUE) has an undocumented line length limit of
        119 chars both on Unix and Windows.  The limit is now 8096 and
        documented.  On Unix (only) every 120th character used to be
        discarded.


On Mon, 10 Mar 2003 [EMAIL PROTECTED] wrote:

> system(..., intern=TRUE) splits long lines after 118th character and
> discards the 119th character 
> 
> > a <- paste(rep("a", 124), collapse="")
> > system(paste("echo", a), intern=TRUE)
> system(paste("echo", a), intern=TRUE)
> [1]
> "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" "aaaaa"
> 
> > 
> 
> The result is a vector of length 2 and it should be that of 1.
> 
> version
>          _                
> platform i686-pc-linux-gnu
> arch     i686             
> os       linux-gnu        
> system   i686, linux-gnu  
> status                    
> major    1                
> minor    6.0              
> year     2002             
> month    10               
> day      01               
> language R                
> 
> 
> Thanks,
> Vadim
> 
> -------------------------------------------------- 
> DISCLAIMER\ This e-mail, and any attachments thereto, is intende... [[dropped]]
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
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

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to