Re: [R] tab characters

2009-01-30 Thread Marie Sivertsen
I see 'The R Inferno' being refered quiet often recently. But it was now pointed by Duncan Murdoch that for example the statement concerning variables in a for loop is not correct in there (page 62). As I can not find any information about the book been reviewed by anyone I have a question: is

Re: [R] tab characters

2009-01-30 Thread Duncan Murdoch
On 1/30/2009 7:19 AM, Marie Sivertsen wrote: I see 'The R Inferno' being refered quiet often recently. But it was now pointed by Duncan Murdoch that for example the statement concerning variables in a for loop is not correct in there (page 62). As I can not find any information about the book

Re: [R] tab characters

2009-01-30 Thread Peter Dalgaard
Marie Sivertsen wrote: I see 'The R Inferno' being refered quiet often recently. But it was now pointed by Duncan Murdoch that for example the statement concerning variables in a for loop is not correct in there (page 62). As I can not find any information about the book been reviewed by

Re: [R] tab characters

2009-01-30 Thread Marie Sivertsen
Thank you both Peter and Duncan for explanations. 'The R Inferno' is indeed not so much introduction but I find it useful to know about how I can go wrong in simple things before I do. Mvh. Marie On Fri, Jan 30, 2009 at 3:03 PM, Peter Dalgaard p.dalga...@biostat.ku.dkwrote: Marie Sivertsen

Re: [R] tab characters

2009-01-29 Thread jim holtman
?cat x - '\t' print(x) [1] \t cat(x) On Thu, Jan 29, 2009 at 3:13 PM, Nick Matzke mat...@berkeley.edu wrote: Hi all, Working at the R command line, how do I get strings to display e.g. tab or newline characters as they should be displayed, rather than as e.g. \n or \t? e.g.: