[R] R versus R Studio output differences

R. Michael Weylandt michael.weylandt at gmail.com
Fri Mar 9 14:28:25 CET 2012


Missed that...thank you.

Michael

On Fri, Mar 9, 2012 at 8:21 AM, peter dalgaard <pdalgd at gmail.com> wrote:
>
> 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.
>
> -pd
>
>>
>> But the canonical answer is the CLI R and the CRAN binaries.
>>
>> Michael
>>
>> 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.
>>>
>>> -Best,
>>> Aayush Raman
>>>
>>>        [[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.
>>
>> ______________________________________________
>> 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.
>
> --
> Peter Dalgaard, Professor
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
>



More information about the R-help mailing list