From mwkimpel at gmail.com  Fri Feb  9 08:17:48 2007
From: mwkimpel at gmail.com (Mark W Kimpel)
Date: Fri, 09 Feb 2007 02:17:48 -0500
Subject: [Rd] newline with cell of Excel worksheet created with write.xls
Message-ID: <45CC201C.9060600@gmail.com>

As part of my project to put different types of results into worksheets, 
I would like to be able to put an auto-generated methods section. If I 
compose in RWinEdt, read into R, and use write.table with a .txt file 
extension, what I get out has line-breaks that correspond to those I put 
in in the first place.

If I do the same thing but write.xls with .xls extention, I get an Excel 
  worksheet with the entire paragraph on one line (row). It seems to me 
that Excel uses a special character for new-lines (new-rows). Is there a 
way that write.xls could convert \n to this special character?

I'm  writing lots of posts on this, but trying to break up the subjects 
to create better threads.

Mark

-- 
Mark W. Kimpel MD
Neuroinformatics
Department of Psychiatry
Indiana University School of Medicine



[Rd] newline with cell of Excel worksheet created with write.xls
Mark W Kimpel