Asis,
It works fine here:
edd@don:/tmp/foobar$ rm src/*.o src/*.so
edd@don:/tmp/foobar$ grep Tables src/* R/*
src/rcpp_hello_world.cpp:RcppExport SEXP conditionalProbabilityTables(){
src/rcpp_hello_world.h:RcppExport SEXP conditionalProbabilityTables() ;
R/rcpp_hello_world.R: .Call(
Since you changed the function name, you can no longer call rcpp_hello_world()
from R. Try calling the new function name.
Better yet, start over, leave rcpp_hello_world code alone and add another .cpp,
.h, and .R file with another function.
Dale
On May 29, 2013, at 8:41 PM, Asis Hallab wrote:
Dear Dirk, Hadley and Rccp Experts,
thank you very much for your input.
Unfortunately I still cannot solve my problem.
I took Dirk's advise and used Rcpp.package.skeleton(name="foobar") to
create a new Hello-World package.
Then I build and installed it with
R CMD INSTALL foobar/
>From an interac
Hi Asis
On 29 May 2013 at 15:20, Asis Hallab wrote:
| Dear Rcpp Experts,
|
| hopefully this question of mine is not too stupid.
|
| Well, I am a greenhorn with Rcpp and my C/C++ expertise is quite dusty.
|
| I generated a new Rccp package and changed the hello_world function.
| The attached Rc
> I generated a new Rccp package and changed the hello_world function.
> The attached Rcpp Code stops working if I rename the method
> "rcpp_hello_world" to
> "conditionalProbabilityTables". The error I get is:
> "conditionalProbabilityTables" not available for .Call() for package
> "PhyloFun"
>
>
On 29/05/13 14:20, Asis Hallab wrote:
Dear Rcpp Experts,
hopefully this question of mine is not too stupid.
Well, I am a greenhorn with Rcpp and my C/C++ expertise is quite dusty.
I generated a new Rccp package and changed the hello_world function.
The attached Rcpp Code stops working if I ren
Dear Rcpp Experts,
hopefully this question of mine is not too stupid.
Well, I am a greenhorn with Rcpp and my C/C++ expertise is quite dusty.
I generated a new Rccp package and changed the hello_world function.
The attached Rcpp Code stops working if I rename the method
"rcpp_hello_world" to
"co