[R] How to represent pure linefeeds chr(10) under R for Windows
    Prof Brian Ripley 
    ripley at stats.ox.ac.uk
       
    Wed Nov  5 17:24:17 CET 2003
    
    
  
Use \n in the character string, if I understand you aright, as in
foo <-"a\nb"
On Wed, 5 Nov 2003, Jens Oehlschlägel wrote:
> 
> I need to write out with write.table() a csv file allowing for line feeds
> (pure chr(10)) as part of character field (not as a line seperator).
> 
> How can I do that?
-- 
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