[Rd] bug in crossprod? (PR#4092)

iwhite at staffmail.ed.ac.uk iwhite at staffmail.ed.ac.uk
Sun Sep 7 18:01:00 MEST 2003


# 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 at 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 at staffmail.ed.ac.uk



More information about the R-devel mailing list