Re: [Rd] R-devel Digest, Vol 125, Issue 2

2013-07-04 Thread gianluca mastrantonio
I'm just a beginner, so i can make some stupid error. I use the "-l cov.model.h -l util.h" because i need to load another two c++ programs (cov.model.cpp and util.cpp) Il giorno 04/lug/2013, alle ore 09:44, peter dalgaard ha scritto: > -I [[alternative HTML version deleted]] ___

Re: [Rd] R-devel Digest, Vol 125, Issue 2

2013-07-04 Thread gianluca mastrantonio
Hi all, I have a problem but i am not sure that this is the right mailing list. I'm writing a R program which call a C++ program, through the function .Call. I use to compile the c++ script with the command R CMD SHLIB SpTempWrapC.cpp -Wall -l covmodel.h -l util.h Everything works fine sinc

Re: [Rd] Crash - cause 'memory not mapped'

2012-11-09 Thread gianluca mastrantonio
the error "memory non mapped" happen also if i use void FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) instead SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) { Il giorno 09/nov/2012, alle ore 23:58, Peter Langfelder ha scritto: > I'm not an expert, but from what I know you sh

Re: [Rd] unable to load shared object - opencv

2012-11-09 Thread gianluca mastrantonio
Thanks to all, now this problem is solved G.M. Il giorno 09/nov/2012, alle ore 01:09, Simon Urbanek ha scritto: > > On Nov 8, 2012, at 3:34 PM, niandra wrote: > >> Sorry but i'm really a beginner. >> >> If when i use opencv with Xcode i need to set the following path >> /System/Library/Fr

Re: [Rd] unable to load shared object - opencv

2012-11-09 Thread gianluca mastrantonio
Ok, sorry. I need the library libopencv_core.2.4.0.dylib and libopencv_highgui.2.4.0.dylib. Thanks G.M. Il giorno 09/nov/2012, alle ore 01:09, Simon Urbanek ha scritto: > > On Nov 8, 2012, at 3:34 PM, niandra wrote: > >> Sorry but i'm really a beginner. >> >> If when i use opencv with Xc

Re: [Rd] unable to load shared object - opencv

2012-11-08 Thread gianluca mastrantonio
Yes i know, i need to study. i'm trying to understand all this stuff, i never use c++ or Unix. G.M. Il giorno 08/nov/2012, alle ore 22:58, Dirk Eddelbuettel ha scritto: > > On 8 November 2012 at 12:53, niandra wrote: > | Edit > | > | i try to use this comman in terminal: > | R CMD SHLIB pr