[Rd] Cross-platform linking of a simple front-end

2013-07-04 Thread Jon Clayden
Dear all, I have a simple front-end program which uses the APIs described in section 8 of "Writing R Extensions" to deviate from the standard R behaviour in fairly minor ways. However, I'm having some difficulty getting it to link reliably across different platforms. R CMD LINK seemed like it wou

Re: [Rd] Ctrl+C in R will terminate the child process which is spawned by using "pipe"

2013-07-04 Thread Rong lI Li
Hi, all, My previous question is: "how to make the child process run happily without being terminated, after hit Ctrl+C in R". For this, I tried both "setsid" and blocking signals in the child process. Both of them can solve this issue. Considering the compatibility between Unix/Linux platform a

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 peter dalgaard
On Jul 4, 2013, at 09:34 , gianluca mastrantonio wrote: > 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

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