As everybody told you in using options with digits... It exactly is what
I made in the sent code.
Alain
On 27-Oct-10 14:21, Alaios wrote:
So?
Do you imply that I do not need to change the precision.. and if yes
how to change the default display settings?
Best regards
Alex
------------------------------------------------------------------------
*From:* Alain Guillet <[email protected]>
*To:* Alaios <[email protected]>
*Cc:* Rhelp <[email protected]>
*Sent:* Wed, October 27, 2010 1:58:46 PM
*Subject:* Re: [R] Increase R precision
Hi,
It is not a problem of precision but a problem of display.
> options(digits=15)
> (18-46)/(45-93)
[1] 0.583333333333333
Alain
On 27-Oct-10 13:49, Alaios wrote:
> Hello everyone.
>
> When I execute the following in R
>> (18-46)/(45-93)
> [1] 0.5833333
>
> I get small precision for what I am trying to deal with . Is it
possible to
> increase the precision for this and for other operations?
>
> For example openoffice calc for this operation returns
>
>
> 0.58333333333333300000
>
>
> I
>
>
>
>
> I would like to thank you for your help
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [email protected] <mailto:[email protected]> 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.
>
--
Alain Guillet
Statistician and Computer Scientist
SMCS - IMMAQ - Université catholique de Louvain
Bureau c.316
Voie du Roman Pays, 20
B-1348 Louvain-la-Neuve
Belgium
tel: +32 10 47 30 50
--
Alain Guillet
Statistician and Computer Scientist
SMCS - IMMAQ - Université catholique de Louvain
Bureau c.316
Voie du Roman Pays, 20
B-1348 Louvain-la-Neuve
Belgium
tel: +32 10 47 30 50
______________________________________________
[email protected] 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.