Re: [Rd] Customized Makefiles (C++ and R)

2006-08-07 Thread Selwyn-Lloyd McPherson
t.lib is defined as: .First.lib <- function(libname, pkgname) { library.dynam ("chpoly",pkgname,libname) } which I think is correct, but maybe not? I tried creating a test package that uses C++ to take in some arguments, do some simple math, and spit them back out again and that w

[Rd] Customized Makefiles (C++ and R)

2006-08-06 Thread Selwyn-Lloyd McPherson
akefile to ensure that everything works out okay? Thanks so much in advance! Selwyn-Lloyd McPherson __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] C++ in an R package

2006-08-02 Thread Selwyn-Lloyd McPherson
Oh, of course, a few minutes after asking, I think I've figured it out. :) But, out of curiosity, even if I have a C++ program "whatever.cpp" in /src, there is no "whatever" file in the installation directory; where is that information going? Thank

[Rd] C++ in an R package

2006-08-02 Thread Selwyn-Lloyd McPherson
Hi all, I've read the manual on implementing C++ in R but I must be tripping over something simple. I am just trying to run a simple "Hello World" program from R and I understand how to call the function andhave no problem getting the package to install and, but should I expect .so files i