[R] changing the quote

Duncan Murdoch murdoch at stats.uwo.ca
Sat Mar 15 14:46:54 CET 2008


On 15/03/2008 7:29 AM, Christophe Genolini wrote:
> Hi the list,
> 
> I am using R2.6.2. I don't now why, the quote used in the output of 
> 'new' seams not compatible with Sweave. Is there a way to change them ?
> Is it something link with R, or link with my computer configuration ?
> 
>  > setClass("E",list(e="factor"))
> [1] "E"
>  > new("E")
> An object of class “E”

options(useFancyQuotes=FALSE) should turn those off.

See ?sQuote for a discussion of how R chooses the defaults for this option.

Duncan Murdoch



More information about the R-help mailing list