[R] large numbers

R. Michael Weylandt michael.weylandt at gmail.com
Wed Oct 12 21:20:40 CEST 2011


Are you sure its being imported into R without the decimal and that
it's not just a print option? I can't off the cuff think of a reason
why that would happen...

Try print(valueFromImport - 43988014) and see what you get

Michael

On Wed, Oct 12, 2011 at 3:16 PM, Veerappa Chetty <chettyvk at gmail.com> wrote:
> Hi,
> When I import an excel "CSV" file, large numbers such as " 43988014.3" is
> imported as "43988014", leaving out the decimal ".4". How to import keeping
> the fraction?
> Thanks.
> Chetty
>
> --
> Professor of Family Medicine
> Boston University
> Tel: 617-414-6221, Fax:617-414-3345
> emails: chettyvk at gmail.com,vchetty at bu.edu
>
>        [[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