Why does the expression (-8)^(1/3) return NaN, instead of -2?
This is not answered by
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-are-powers-of-negative-numbers-wrong_003f
Thanks,
Dave
[[alternative HTML version deleted]]
__
I tried downloading R-2.7.2
(http://cran.cnr.berkeley.edu/bin/windows/base/R-2.7.2-win32.exe, both from
Berkeley and cran) and both times I got a warning from Computer Associates
eTrust Antivirus (version 7.1.710) that the Win32/Adclicker.JO trojan was
detected:
The Win32/Adclicker.JO was
, 2008 8:41 PM
To: Dave DeBarr
Cc: r-help@r-project.org
Subject: Re: [R] R-2.7.2 infected?
Dave DeBarr wrote:
I tried downloading R-2.7.2
(http://cran.cnr.berkeley.edu/bin/windows/base/R-2.7.2-win32.exe, both from
Berkeley and cran) and both times I got a warning from Computer Associates
eTrust
-project.org; Dave DeBarr; Duncan Murdoch
Subject: Re: [R] R-2.7.2 infected?
This is what it does. It seems like a false alarm because in case of
actual infection it seems
quite conspicious
Ajay
www.decisionstats.com
http://www.spywareguide.com/product_show.php?id=2569
Full Name:
Win32
I've noticed that if I don't include parentheses around the intended return
value for the "return" statement, R will assume the first parenthetical
expression is the intended return value ... even if that parenthetical
expression is only part of a larger expression.
Is this intentional?
I'm
5 matches
Mail list logo