On 19 June 2013 at 10:52, Pratibha Rana wrote: | Hi, | | I have an application that installs and uses R-3.0. If a machine has an | installation of R-2.15 in some other location then RInside fails to | initialize. If I remove R-2.15 installation then my a[pplication works | fine. Here is the backtrace of the crash. | | (gdb) bt | #0 0x00002abbdf606285 in raise () from /lib64/libc.so.6 | #1 0x00002abbdf607d30 in abort () from /lib64/libc.so.6 | #2 0x0000000000630964 in __gnu_cxx::__verbose_terminate_handler() () | #3 0x000000000062eb56 in __cxxabiv1::__terminate(void (*)()) () | #4 0x000000000062eb83 in std::terminate() () | #5 0x000000000062ec7a in __cxa_throw () | #6 0x00002abbdecf1a32 in Rcpp::Environment::find(std::basic_string<char, | std::char_traits<char>, std::allocator<char> > const&) const () | from /opt/vertica/R/library/Rcpp/lib/libRcpp.so | #7 0x00002abbdef63b40 in RInside::autoloads() () from | /opt/vertica/R/library/RInside/lib/libRInside.so | #8 0x00002abbdef6503f in RInside::initialize(int, char const* const*, | bool) () from /opt/vertica/R/library/RInside/lib/libRInside.so | #9 0x00002abbdef65350 in RInside::RInside() () from | /opt/vertica/R/library/RInside/lib/libRInside.so | #10 0x0000000000493264 in main (argc=5, argv=0x7fffafa67638) at | /scratch_a/release/vbuild/UDxFence/Udx-R.cpp:398
I think that that may be your local issue. Consider setting LD_LIBRARY_PATH etc pp. There are not that many steps in the build proces; look at all of them individually and check. For what it is worth, I my box I keep two R versions, "release" and "devel" but completely hide the latter -- and call it via a shell script wrapper. These days, people also use virtual machine with good success. 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
