toupper() and tolower()
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Erin Hodgess
Sent: Friday, December 17, 2010 4:10 PM
To: R help
Subject: [R] lower/upper case question
Dear R People:
Is there a function to convert a
On Fri, Dec 17, 2010 at 4:38 PM, William Dunlap wrote:
> Also, gsub() can change the case of part a string --
> use perl=TRUE and \\U or \\L (and perhaps \\E) in
> the replacement string. E.g., capitalize color names
> with
> > gsub(paste(sep="", "(", paste(colors(),collapse="|"), ")"),
> "\\
..@r-project.org] On Behalf Of Greg Snow
> Sent: Friday, December 17, 2010 1:19 PM
> To: Erin Hodgess; R help
> Subject: Re: [R] lower/upper case question
>
> See ?toupper for the toupper, tolower, chartr, and casefold functions.
>
> --
> Gregory (Gre
t.org] On Behalf Of Erin Hodgess
> Sent: Friday, December 17, 2010 2:10 PM
> To: R help
> Subject: [R] lower/upper case question
>
> Dear R People:
>
> Is there a function to convert a character string to all uppercase or
> all lowercase please?
>
> I'm sure
Dear R People:
Is there a function to convert a character string to all uppercase or
all lowercase please?
I'm sure that I've used one before but I'm drawing a blank.
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Down
5 matches
Mail list logo