[Rd] Small inaccuracy in the Writing R Extensions manual

2016-01-11 Thread Berwin A Turlach
G'day all, In Chapter 1.4 (Writing package vignettes) the Writing R Extensions manual states: By default @code{R CMD build} will run @code{Sweave} on all Sweave vignette source files in @file{vignettes}. If @file{Makefile} is found in the vignette source directory, then

[Rd] On 'R CMD INSTALL' with multiple architectures

2016-01-11 Thread Berwin A Turlach
G'day all, I guess it is still early enough in the year to wish everybody a happy and successful new year. I thought I should report that the installation of the CRAN package rstan regularly fails on my machine (a 64 bit linux box running Xubuntu 15.10). The reason being that I have the 32-bit a

Re: [Rd] coerce SEXP type to C++ matrix class and back

2016-01-11 Thread Antonio Perez
Dirk, I am sorry if it sounded disrespectful. On the contrary, as I said, your packages Rcpp and RcppArmadillo work very well, and use both of them in more "complex" applications. However, in this particular case in which I have just one object of one type (matrix double) with its elements stored

Re: [Rd] Possibly useful idea

2016-01-11 Thread Dirk Eddelbuettel
John, On 11 January 2016 at 07:44, ProfJCNash wrote: | I've not worked changing underlying computational infrastructure, but | developers who do might want to use ideas from FlexiBLAS. Apologies in | advance if this is well-known. You have been able to do that at the OS level, given a suitable O

Re: [Rd] coerce SEXP type to C++ matrix class and back

2016-01-11 Thread Dirk Eddelbuettel
I don't want to sound disrespectful, but why not use RcppArmadillo if simplicity is you goal? It is hard to beat the _fully automatic_ conversion: R> cppFunction("arma::mat doubleUp(const arma::mat & x) { return 2*x; }", depends="RcppArmadillo") R> doubleUp(matrix(1:9,3,3)) [,1] [,2] [,3]

[Rd] Possibly useful idea

2016-01-11 Thread ProfJCNash
I've not worked changing underlying computational infrastructure, but developers who do might want to use ideas from FlexiBLAS. Apologies in advance if this is well-known. Best JN > From: Martin Koehler koehl...@mpi-magdeburg.mpg.de > Date: January 07, 2016 > Subject: FlexiBLAS Version 1.3.0 Rele