[R] write.table linebreaks
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jul 19 13:26:27 CEST 2007
What do you think the 'eol' argument to write.table is for?
I don't have a Mac to hand, but eol='\r' does this on Linux and Windows.
On Thu, 19 Jul 2007, Birgit Lemcke wrote:
> Hello R users,
>
> I am a newby using R 2.5.0 on a Apple Power Book G4 with Mac OS X
> 10.4.10.
>
> when I use the write.table function, I always get the output in Unix
> linebreaks that I have to change to McIntosh linebreaks to be able to
> Import the data in Excel 2004 for Mac.
>
> Is there a possibility to do this automatically in R and respectively
> in the write.table function?
>
> Thanks in advance.
>
> Birgit
>
>
> Birgit Lemcke
> Institut für Systematische Botanik
> Zollikerstrasse 107
> CH-8008 Zürich
> Switzerland
> Ph: +41 (0)44 634 8351
> birgit.lemcke at systbot.uzh.ch
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
>
--
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