Displaying 2 results from an estimated 2 matches for "illposed".
Did you mean:
billposer
2011 Nov 12
1
Use of Matrix within packages in R-2.14.0
...he context of the package it
works fine.
I have constructed the following trivial dummy package to replicate
the problem, the contents of which follow:
DESCRIPTION file:
Package: dummy
Type: Package
Title: Dummy package for testing
Version: 0.0.0
Date: 2011-10-15
Author: B. W. Lewis <blewis at illposed.net>
Maintainer: B. W. Lewis <blewis at illposed.net>
Description: A bogus test package
Depends: Matrix
License: GPL
NAMESPACE file:
export("test")
R/test.R file:
`test` <- function(A)
{
x = crossprod(A)
return(0)
}
To replicate the problem, create a package called &qu...
2009 Jul 16
1
model.matrix memory problem (PR#13838)
Hi,
`model.matrix' might kill R with a segfault (on a illposed problem, but anyway):
mydf <- as.data.frame(sapply(1:40, function(i) gl(2, 100)))
f <- as.formula(paste("~ - 1 + ", paste(names(mydf), collapse = ":"), sep = ""))
X <- model.matrix(f, data = mydf)
*** caught segfault ***
address 0x18, cause 'memory not...