[R] tab characters

Duncan Murdoch murdoch at stats.uwo.ca
Fri Jan 30 14:40:44 CET 2009


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 been reviewed by anyone I have a
> question:  is it reliable resource for learning about R?  What is the
> authority of Patrick Burns?  I would like to avoid spending much time on
> learning from 'The R Inferno' to only later discover that it was wrong.

That's the first error I've seen in it.  In my opinion, it's a very 
useful reference.

Duncan Murdoch

> 
> Mvh.
> Marie
> 
> 
> 
> On Fri, Jan 30, 2009 at 11:13 AM, Patrick Burns <pburns at pburns.seanet.com>wrote:
> 
>> 'The R Inferno' pages 45-46.
>>
>>
>> Patrick Burns
>> patrick at burns-stat.com
>> +44 (0)20 8525 0696
>> http://www.burns-stat.com
>> (home of "The R Inferno" and "A Guide for the Unwilling S User")
>>
>> Nick Matzke 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.:
>>> > x="\t"
>>> > x="\t"
>>> > x
>>> [1] "\t"
>>> > print(x)
>>> [1] "\t"
>>>
>>>
>> ______________________________________________
>> R-help at r-project.org 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.
>>
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org 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.




More information about the R-help mailing list