[R] crossprod(x) vs crossprod(x,x)
Robin Hankin
r.hankin at noc.soton.ac.uk
Tue Nov 21 14:52:07 CET 2006
Hi
On 21 Nov 2006, at 12:27, Duncan Murdoch wrote:
> On 11/21/2006 6:39 AM, Robin Hankin wrote:
>>
[snip]
>>
>> How come my findings are qualitatively different from yours?
>
> Have you said what version of R you're using? I tried your code in an
> Intel Mac with R 2.4.0, and a Windows machine with R-devel, and saw
> what
> Brian saw. Maybe the Power Mac changes this, but that doesn't make a
> lot of sense. On the other hand, it could be that an older R
> release is
> making unnecessary copies in one case but not the other.
>
> Duncan Murdoch
>>
Sorry, for some reason I was under the misapprehension that
Sys.info() reported the R version. Here goes:
> R.Version()
$platform
[1] "powerpc-apple-darwin8.7.0"
$arch
[1] "powerpc"
$os
[1] "darwin8.7.0"
$system
[1] "powerpc, darwin8.7.0"
$status
[1] ""
$major
[1] "2"
$minor
[1] "4.0"
$year
[1] "2006"
$month
[1] "10"
$day
[1] "03"
$`svn rev`
[1] "39566"
$language
[1] "R"
$version.string
[1] "R version 2.4.0 (2006-10-03)"
--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
tel 023-8059-7743
More information about the R-help
mailing list