[R] Special characters: plus/minus - a method that works
Gabor Grothendieck
ggrothendieck at gmail.com
Tue Mar 21 02:09:16 CET 2006
Another way that works on my Windows XP system is
to use "\261" .
On 3/20/06, Smith, Phil <pzs6 at cdc.gov> wrote:
> Dear R-people:
>
> François Michonneau's method to obtain the special character plus/minus works on Windows 2000 professional.
>
> Many Thanks to François for his work!
>
> Phil Smith
> Centers for Disease Control and Prevention
> Atlanta, GA
>
> _____
>
> From: François MICHONNEAU [mailto:francois.michonneau at gmail.com]
> Sent: Monday, March 20, 2006 1:58 PM
> To: r-help at stat.math.ethz.ch; Smith, Phil
> Subject: Re: [R] Special characters: plus/minus
>
>
> Hello,
>
> You can obtain the special character plus/minus by a copy from the MS Windows "Character Table" and paste it in the R console or in your text editor as (NotePad or Emacs). Then, you can use it in your script:
> x <- 5
> y <- 0.25
> paste (x, "±", y)
>
> Cheers
>
> François Michonneau
>
>
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list