Skip to content

Separating Columns in Excel Export from R

6 messages · Peter Ehlers, watsonl, John Kane +1 more

#
Hello - 

When I export my files using the write.table command and name the file.xls
and use the sep="/t" to try and separate the columns in excel, everything
just stays in one column. how do i get them all into separate columns (it
did this before but i can't figure out what's different between this time
exporting and other times when i enter the same thing)

example:
what about this command wont let the columns get separated? 



--
View this message in context: http://r.789695.n4.nabble.com/Separating-Columns-in-Excel-Export-from-R-tp4638124.html
Sent from the R help mailing list archive at Nabble.com.
#
I think you have a type: Try "\t"

John Kane
Kingston ON Canada
____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails
#
On 2012-07-27 09:30, watsonl wrote:
You're _not_ entering the same thing! Wanna bet?
(Hint: check you sep= argument)

Peter Ehlers
#
Yes just a bit picky.  While it would not have caught this problem a good editor with highlighting (Tinn-R in Windows, gedit or geany? in Linux can really help.

Try googling for a discusson of editors for R.  There was one a few month ago I think

John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
#
See the Related Projects --> R GUI's -->IDE/Editors link on CRAN for a
fairly comprehensive list.

-- Bert
On Fri, Jul 27, 2012 at 4:43 PM, John Kane <jrkrideau at inbox.com> wrote: