From iwhite at staffmail.ed.ac.uk  Sun Sep  7 18:01:00 2003
From: iwhite at staffmail.ed.ac.uk (iwhite@staffmail.ed.ac.uk)
Date: Sun Sep  7 17:00:21 2003
Subject: [Rd] bug in crossprod? (PR#4092)
Message-ID: <200309071501.h87F10JH001717@pubhealth.ku.dk>

# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
#       r-bugs@r-project.org
#
######################################################

# The last line of following code produces a segmentation fault:

x <- 1:10
f <- gl(5,2)
mns <- tapply(x,f,mean)
crossprod(mns) #to get sum of squares of mns.
# Of course sum(mns^2) is more straightforward.


--please do not edit the information below--

Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status =
 major = 1
 minor = 7.1
 year = 2003
 month = 06
 day = 16
 language = R

Search Path:
 .GlobalEnv, package:methods, package:ctest, package:mva, package:modreg, package:nls, package:ts, Autoloads, package:base

======================================
I.White
ICAPB, University of Edinburgh
Ashworth Laboratories, West Mains Road
Edinburgh EH9 3JT
Fax: 0131 650 6564  Tel: 0131 650 5490
E-mail: iwhite@staffmail.ed.ac.uk


[Rd] bug in crossprod? (PR#4092)
iwhite@staffmail.ed.ac.uk