Re: [Rd] Call C code from R

2007-09-21 Thread christophe vuadens
maybe try this page, http://www.math.ncu.edu.tw/~chenwc/R_note/index.php?item=R_call i'm not alrigth with this but i try Christophe -- View this message in context: http://www.nabble.com/Call-C-code-from-R-tf4463938.html#a12729578 Sent from the R devel mailing list archive at Nabble.com. ___

Re: [Rd] Call C code from R

2007-09-17 Thread Oleg Sklyar
1) You include libraries just like you would always do. Here is the example from my package that uses external libraries of ImageMagick and GTK, standard libraries (stdio, pthread) and R libraries: #include #include #include #include #include #include #include #ifndef WIN32 # include

Re: [Rd] Call C code from R

2007-09-17 Thread Prof Brian Ripley
On Mon, 17 Sep 2007, ? ?. ??? wrote: > Hello, All! > > I'm new for R-devel list. And I'd like to ask some questions, > maybe they will be stuped for the most part of members of the > list. > I need to call function which is written in C++ from R. Your subject line says C > My quest

[Rd] Call C code from R

2007-09-16 Thread Ольга К. Камнева
Hello, All! I'm new for R-devel list. And I'd like to ask some questions, maybe they will be stuped for the most part of members of the list. I need to call function which is written in C++ from R. My questions are: 1. How should I include libraries (for example, iomanip, sstream, iostream)?