[R] R versus R Studio output differences
pdalgd at gmail.com
Fri Mar 9 14:21:21 CET 2012
On Mar 9, 2012, at 13:15 , R. Michael Weylandt wrote:
> Reproducible code please. (I'm quite surprised this would happen --
> are you sure there's no stochastic element to your calculation that
> explains the differences?)
Notice that the code is running on two separate platforms.
It's not particularly unusual to find minor discrepancies due to e.g. different compiler optimizations. Rstudio as such is probably not part of the issue.
> But the canonical answer is the CLI R and the CRAN binaries.
> On Fri, Mar 9, 2012 at 7:11 AM, Aayush Raman <ayushraman at gmail.com> wrote:
>> Hi Everyone,
>> I ran the same code in R and in R-studio, but got two different results.
>> Does anybody know why this is occurring, and if there is a fix for this?
>> and which is the "correct" program to use ?
>> Some information about the code I am running: I am running the fisher test
>> and it seems that the p-values are similar but not same for example, for an
>> event A the p-value coming from the R-Studio is around 10^-58 and with R it
>> is 10^-135.
>> Also, I am running the Rstudio on Mac and R through linux server. They both
>> are 64 bit. I am finding it for the first time and I am really surprised by
>> its weirdness.
>> Aayush Raman
>> [[alternative HTML version deleted]]
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help