[R] number 6 e+13

Gabor Grothendieck ggrothendieck at gmail.com
Tue Aug 18 11:38:16 CEST 2009


Try this:

> DF <- data.frame(a = 6e13, b = "X")
>
> DF
      a b
1 6e+13 X
>
> options(scipen = 20)
> DF
               a b
1 60000000000000 X



On Tue, Aug 18, 2009 at 5:05 AM, Inchallah Yarab<inchallahyarab at yahoo.fr> wrote:
>
> Hi,
>
> i export data from an csv file like this :
>  Data <- read.csv2("c:/Art.csv",sep=",") # import data into R
>> Data <- Data [1:5,1:5]# extracting the first 5 rows and columns
>> Data
>   Policy.Number AXA.Entity Country LoB ccy.data
> 1         6e+13        BNL     BNL   P      EUR
> 2         6e+13        USA     BNL   P      EUR
> 3         6e+13         UK     BNL   E      EUR
> 4         6e+13        USA     BNL   P      EUR
> 5         6e+13          I     BNL   E      EUR
>
>
> and i want to have in the first column the number 60000000000000 without using e +13???
>
> someone has an idea please?
> Thank you very much for your help!!!
>
> Inchallah Yarab
>
>
>
>
>        [[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