On 20 August 2010 at 09:41, baptiste auguie wrote:
| Indeed, I had forgotten to rerun roxygen before my last commit, sorry.
| It should be OK now.
|
| I've also put the source tarball from R CMD BUILD here,
|
| http://dl.dropbox.com/u/352834/cda_1.0.tar.gz
This works for me on Ubuntu 10.4 / amd64 once I drop the Depends: on
the package constants which is not on CRAN:
e...@max:/tmp/cda$ R CMD INSTALL .
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘cda’ ...
** libs
g++ -I/usr/share/R/include -I"/usr/local/lib/R/site-library/Rcpp/include"
-I"/usr/local/lib/R/site-library/RcppArmadillo/include" -fpic -O3 -g0 -Wall
-pipe -c cda.cpp -o cda.o
cda.cpp: In function ‘int progress_bar(double, double)’:
cda.cpp:36: warning: no return statement in function returning non-void
cda.cpp: In function ‘Rcpp::List linearExtinction(const arma::mat&, const
arma::cx_mat&, double)’:
cda.cpp:285: warning: unused variable ‘pi’
g++ -shared -o cda.so cda.o -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib -llapack -lblas -lgfortran
-lm -L/usr/lib64/R/lib -lR
installing to /usr/local/lib/R/site-library/cda/libs
** R
** inst
** preparing package for lazy loading
Loading required package: reshape
Loading required package: plyr
Loading required package: grid
Loading required package: proto
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (cda)
e...@max:/tmp/cda$ r -lcda -e'cat("Hello cda world\n")'
Hello cda world
e...@max:/tmp/cda$
FWIW on Debian and Ubuntu R uses external lapack and blas libraries.
Dirk
--
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel