search for: r_swig_new_intvector__swig_2

Displaying 1 result from an estimated 1 matches for "r_swig_new_intvector__swig_2".

2008 Nov 06
2
Fwd: SWIG with R and C++ STL
...-r -o myvector_wrap.cpp myvector.i PKG_LIBS="myvector.h" R CMD SHLIB myvector_wrap.cpp* Then in R I ran: >*dyn.load("myvector.so")* >*source("myvector.R")* Then i tried to create a vector in R: >*vi=IntVector(4)* I go the following error: *Error in .Call("R_swig_new_IntVector__SWIG_2", size, PACKAGE="myvector"): C symbol name "R_swig_new_IntVector__SWIG_2" not in DLL for package "myvector"* Since I basicly followed the steps in the doc, I don't understand where the error comes from. Can anybody help me out? Thanks a lot! Charlie [[a...