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
[EMAIL PROTECTED]
[[alternative HTML version deleted]]
--
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
______________________________________________
R-help@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
and provide commented, minimal, self-contained, reproducible code.