Re: [Rcpp-devel] r-forge error: undefined symbol: zgetri_

2010-08-21 Thread baptiste auguie
On 20 August 2010 22:33, Douglas Bates wrote: > On Fri, Aug 20, 2010 at 12:35 PM, baptiste auguie > wrote: >> Hi, >> >> On 20 August 2010 19:09, Romain Francois wrote: >>> Le 20/08/10 16:07, Dirk Eddelbuettel a écrit : On 20 August 2010 at 09:41, baptiste auguie wrote: | Indeed, I

[Rcpp-devel] [RcppExamples] -- would someone share the makefile?

2010-08-21 Thread Johannes Egner
Hi, I am (slowly and carefully) learning about Rcpp, and thought that compiling the code in the RcppExamples package could be a good start. MSVC seems to be out of the game (at least as far as the compiler is concerned; using it as an editor may be another story), and it seems I cannot avoid usin

Re: [Rcpp-devel] r-forge error: undefined symbol: zgetri_

2010-08-21 Thread Dirk Eddelbuettel
On 20 August 2010 at 19:35, baptiste auguie wrote: | That's OK, thankfully it works on the only platform(s) I use. A shame | that I can't easily share this work with others though. You can! You "merely" have to ensure folks have a full-blown LAPACK installation at hand rather than the ones suppl

Re: [Rcpp-devel] [RcppExamples] -- would someone share the makefile?

2010-08-21 Thread Dirk Eddelbuettel
On 21 August 2010 at 18:36, Johannes Egner wrote: | Hi, | | I am (slowly and carefully) learning about Rcpp, and thought that compiling | the code in the RcppExamples package could be a good start. | | MSVC seems to be out of the game (at least as far as the compiler is | concerned; using it as

Re: [Rcpp-devel] [RcppExamples] -- would someone share the makefile?

2010-08-21 Thread Romain Francois
Le 21/08/10 19:36, Johannes Egner a écrit : Hi, I am (slowly and carefully) learning about Rcpp Great. Welcome here. and thought that compiling the code in the RcppExamples package could be a good start. Perhaps. Also see Rcpp.package.skeleton to make a small package. The Rcpp-package vig

Re: [Rcpp-devel] On mailing list defaults, and suggested patch submission

2010-08-21 Thread Romain Francois
Dominick, I've commited a variation of your patch in Rcpp now. Let me know if that works for you. I've put the new headers in inst/include/Rcpp/msvc instead of inst/include/msvc to lower chances of clashes with other software. I've also modified msvcmath.cpp so that when this is not used in

Re: [Rcpp-devel] [RcppExamples] -- would someone share the makefile?

2010-08-21 Thread Johannes Egner
Dirk, Romain, thanks for your replies. I suspect I should have been more verbose. Here's what I was trying to do: (1) The convolve function is the standard example for using .Call or .C; and it is easy (using MinGW or even cl.exe in MSVC) to produce a DLL that one can call from R (possibly modul

[Rcpp-devel] Filling NumericMatrix with NumericVectors with apply by row/column?

2010-08-21 Thread Christian Gunning
Dear list, I'm amazed at the ability to use the apply family in Rcpp. Yet I'm still unsure of the best way to assign NumericVector objects into NumericMatrix objects. Must this be done element-by-element, or is there something equivalent to R's MyMatrix[,1] = MyColVector? (As an aside, are both