Re: [R] converting numbers to characters

From: milton ruser <milton.ruser_at_gmail.com>
Date: Fri, 27 Jun 2008 21:31:20 -0300

Hi Lana,

I think it could help you (following the answer by Paulo Justiniano on last week)
x<-1e+05
x
as.character(x)

options(scipen=1)
x<-1e+05
x
as.character(x)

?options

Kind regards,

miltinho
brazil

On 6/27/08, Lana Schaffer <schaffer_at_scripps.edu> wrote:
>
> Hi,
> I need to convert numbers to characters in order
> to index an array when I encountered the number
> 100000 which turned into "1e+05".
> Does anyone know how to get around this problem?
>
> Lana Schaffer
> Biostatistics/Informatics
> The Scripps Research Institute
> DNA Array Core Facility
> La Jolla, CA 92037
> (858) 784-2263
> (858) 784-2994
> schaffer_at_scripps.edu
>
> ______________________________________________
> 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. Received on Sat 28 Jun 2008 - 00:36:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 28 Jun 2008 - 02:31:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive