
Untitled
By: a guest on
May 10th, 2012 | syntax:
None | size: 0.70 KB | hits: 34 | expires: Never
> library(Rcpp)
> library(inline)
>
> fx <- cxxfunction(signature( x = "numeric" )
+ ,
+ 'NumericVector xx(x);
+ return wrap( std::accumulate( xx.begin(), xx.end(), 0.0));
+ ',
+ plugin = "Rcpp")
Error in dyn.load(libLFile) :
unable to load shared object '/var/folders/p0/79v696gn5h76s0gvq9gw1qmr0000gn/T//RtmpaGMrcx/fileea5c6e546c96.so':
dlopen(/var/folders/p0/79v696gn5h76s0gvq9gw1qmr0000gn/T//RtmpaGMrcx/fileea5c6e546c96.so, 6): Symbol not found: ___emutls_get_address
Referenced from: /usr/local/lib/libstdc++.6.dylib
Expected in: /Library/Frameworks/R.framework/Resources/lib/libgcc_s.1.dylib
in /usr/local/lib/libstdc++.6.dylib