[R] number in R
jim holtman
jholtman at gmail.com
Tue Aug 18 13:25:15 CEST 2009
change the value of 'scipen':
> options(scipen=6)
> x
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
> options(scipen=16)
> x
Policy.Number AXA.Entity Country LoB ccy.data
1 60000000000000 BNL BNL P EUR
2 60000000000000 USA BNL P EUR
3 60000000000000 UK BNL E EUR
4 60000000000000 USA BNL P EUR
5 60000000000000 I BNL E EUR
>
On Mon, Aug 17, 2009 at 10:49 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.
>
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?
More information about the R-help
mailing list