Few more details:
nSamples_save is an integer variable and if nSamples_save>1000 I get the
error, while if nSamples_save<1000 everything is fine
--
View this message in context:
http://r.789695.n4.nabble.com/Invalid-read-of-size-8-tp4702843p4702847.html
Sent from the R devel mailing list archi
Hi,
I have a R program that call a C function. I define a vector of pointer as
int nLC=3;
int pownLC = nLC*nLC
double *MatCovExtra[nT+1];
for(k=0;kK. Then i put some values on the vector associated with the
pointer:
for(k=0;khttp://r.789695.n4.nabble.com/Invalid-read-of-size-8-tp4702843.html
S
i'm using the following c++ code
using namespace std;
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
extern "C" {
SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) {
int size1 = INTEGER(size1_r)[0];
int size2 = INTEGER(size2_r
when i use dyn.load("prova2.so") i get
Errore in dyn.load("prova2.so") :
unable to load shared object
'/Users/niandra/Desktop/statistico/r/builtpack/ProvaScript/prova2.so':
dlopen(/Users/niandra/Desktop/statistico/r/builtpack/ProvaScript/prova2.so,
6): image not fo
Sorry but i'm really a beginner.
If when i use opencv with Xcode i need to set the following path
/System/Library/Frameworks
/usr/local/include
/usr/local/lib
how can i specify this in R CMD SHLIB?
--
View this message in context:
http://r.789695.n4.nabble.com/unable-to-load-shared-object-
ow in the terminal i type R CMD SHLIB prova2.cpp to create the file
prova2.so and this happen without error.
In R i type dyn.load("prova2.so") and get this error:
Errore in dyn.load("prova2.so") :
unable to load shared object
'/Users/niandra/Desktop/statistico/r/bui