[R] Handling R Objects in C++

2005-02-03 Thread Àííà
Hello! I want R to call some functions from my DLL, which is written on C++ using Microsoft Visual C++ 6.0. I've looked through Writing R extensions manual and FAQ for Windows. I achieved, that R can call void functions without parameters from my C++ DLL. Then I included R headers files to my

[R] Handling R Objects in C

2004-02-26 Thread pascal dessaux
Hello I want to handle R from a C/C++ project developped with Microsoft Visual C++.Net I put a multiproject solution,and one project is a win32 and dedicated for R manipulation; When I put in this project the example code from Written R extension 4.7 Handling R objects in C p39: #include R.h

Re: [R] Handling R Objects in C

2004-02-26 Thread Prof Brian Ripley
extension 4.7 Handling R objects in C p39: (Note: page numbers are useless as they depend on the page size you used when producing the manual.) #include R.h #include Rdefines.h SEXP ab; PROTECT(ab=NEW_NUMERIC(2)) ; I got an unresolved external in the link, because I don't know what I