Re: [Rd] Package check error: cannot extract package

2015-05-07 Thread Uwe Ligges
On 07.05.2015 21:17, Sören Vogel wrote: Hi Compilation failed for package GUTS for r-oldrel Windows, saying cannot extract package: http://www.r-project.org/nosvn/R.check/r-oldrel-windows-ix86+x86_64/GUTS-00check.html 1. What does that mean? 2. Should I fix this (what are consequences if, o

[Rd] Package check error: cannot extract package

2015-05-07 Thread Sören Vogel
Hi Compilation failed for package GUTS for r-oldrel Windows, saying cannot extract package: http://www.r-project.org/nosvn/R.check/r-oldrel-windows-ix86+x86_64/GUTS-00check.html 1. What does that mean? 2. Should I fix this (what are consequences if, or if not)? 3. How can I fix this? Thanks Sö

Re: [Rd] Why is the diag function so slow (for extraction)?

2015-05-07 Thread Steve Bronder
Is it possible to replace c() with .subset()? Example below library(microbenchmark) diag2 <- function(x,nrow, ncol){ if (is.matrix(x)) { if (nargs() > 1L) stop("'nrow' or 'ncol' cannot be specified when 'x' is a matrix") if ((m <- min(dim(x))) == 0L) return(vecto