Re: [Rd] newline with cell of Excel worksheet created with write.xls

2007-02-12 Thread Mark W Kimpel
Hans-Peter, I agree, I wasn't sure whether to put this stuff on-list or not. I have seen some people request that things NOT be taken of list because then the answers are not available to everybody. Let's solve some of these issues ourselves (I am willing to help) and, if appropriate, repost th

Re: [Rd] newline with cell of Excel worksheet created with write.xls

2007-02-12 Thread Hans-Peter
Hi Mark, You need a character vector or a data.frame for separate rows. Something like: longtext <- 'akdf kadfö \nkad flkdöflkadfk dafk \nlakdf kdjfkjdfkjadfk\njadfkjdflk adf' (rowtext <- as.data.frame( strsplit( longtext, split = "\n" )) ) may do this. Regards, Hans-Peter PS: Probably not so