Re: [Rd] compiling 2.7.0 GNU/Linux | BLAS & Lapack query

2008-06-13 Thread Prof Brian Ripley
You need to look in config.log to see what happened. But note what 'R Installation and Administration' says about See @pxref{Shared BLAS} for an alternative (and in many ways preferable) way to use ACML. On Fri, 13 Jun 2008, evan cooch wrote: Greetings - For a host of reasons I chose (w

[Rd] (PR#11064) how to reproduce...

2008-06-13 Thread simon . debernard
You can try this: data <- cbind("a"=sample(1:10), "b"=sample(1:10)) fact <- sample(rep(1:1, each=10)) system.time(std <- by(data, fact, colSums)) by.matrix <- function (data, INDICES, FUN, ...) { if (!is.list(INDICES)) { IND <- vector("list", 1) IND[[1]] <- INDIC

Re: [Rd] how to install header files in package

2008-06-13 Thread Prof Brian Ripley
On Fri, 13 Jun 2008, Kjell Konis wrote: Here's what I'm doing: I define some C functions in pkgA and register them with R_RegisterCCallable and I want to use them in pkgB. When building pkgB, R CMD INSTALL expects to find the header files for the registered C functions in pkgA*/include (where

Re: [Rd] how to install header files in package

2008-06-13 Thread Kjell Konis
Here's what I'm doing: I define some C functions in pkgA and register them with R_RegisterCCallable and I want to use them in pkgB. When building pkgB, R CMD INSTALL expects to find the header files for the registered C functions in pkgA*/include (where the * denotes the installed version o

Re: [Rd] compiling 2.7.0 GNU/Linux | BLAS & Lapack query

2008-06-13 Thread Simone Giannerini
Evan, It might depend on the way ACML has been compiled by the AMD people. Your version of gcc/gfortran might be incompatible with ACML 4.1.0. This is known to users and is causing problems. You can see it reported in the ACML forum here (it applies to 4.0.1 but I think the problems have not been

Re: [Rd] how to install header files in package

2008-06-13 Thread Seth Falcon
* On 2008-06-13 at 08:40 -0500 Dirk Eddelbuettel wrote: > On 13 June 2008 at 14:28, Kjell Konis wrote: > | Is there a way to get R CMD INSTALL (and friends) to copy the header > | files from a source package's src directory to the include directory? > > Only if you (ab-)use the 'make all' target

[Rd] compiling 2.7.0 GNU/Linux | BLAS & Lapack query

2008-06-13 Thread evan cooch
Greetings - For a host of reasons I chose (was forced) to upgrade my multi-Opteron box from Fedora 7 -> Fedora 8. In the process, I also updated the ACML I had installed from 4.0.0 to 4.1.0. While I get no errors (that I can find) in the config -> make -> make install sequence, I'm pretty sure (b

Re: [Rd] how to install header files in package

2008-06-13 Thread Bill Dunlap
On Fri, 13 Jun 2008, Dirk Eddelbuettel wrote: > > On 13 June 2008 at 14:28, Kjell Konis wrote: > | Is there a way to get R CMD INSTALL (and friends) to copy the header > | files from a source package's src directory to the include directory? > > Only if you (ab-)use the 'make all' target in src/Ma

Re: [Rd] how to install header files in package

2008-06-13 Thread Dirk Eddelbuettel
On 13 June 2008 at 14:28, Kjell Konis wrote: | Is there a way to get R CMD INSTALL (and friends) to copy the header | files from a source package's src directory to the include directory? Only if you (ab-)use the 'make all' target in src/Makefile to copy them, as a recent thread on r-devel show

[Rd] how to install header files in package

2008-06-13 Thread Kjell Konis
Is there a way to get R CMD INSTALL (and friends) to copy the header files from a source package's src directory to the include directory? Thanks. Kjell __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel