search for: iostuff

Displaying 4 results from an estimated 4 matches for "iostuff".

Did you mean: dostuff
2005 May 18
2
R Include File Guards
R 2.1.0/src/include from 2005/04/18 download Naming inconsistent for guards as well but that's pedantic. Simple convention: file <foo.h> #ifndef R_FOO_H file <R_ext/bar.h> #ifndef R_EXT_BAR_H Missing guards: <IOStuff.h> <Internal.h> <Parse.h> <R_ext/GraphicsBase.h> <R_ext/GraphicsDevice.h> <R_ext/GraphicsEngine.h> <R_ext/R-ftp-http.h> <R_ext/libextern.h> Illegal Guards (leading underscore): <Rinternals.h> <R_ext/Error.h> <config.h.in> ----------...
2007 Nov 07
1
problem in linking to libR.so with R 2.5.0
Dear All, I tried to write a C++ program that uses R internals and I encounter "undefined reference" error when linking to libR.so. Here is an small example of the program test.cpp: extern "C" { #include <config.h> #include <IOStuff.h> int main(int argc, char** argv) { R_IoBufferInit(&R_ConsoleIob); return 0; } } I built it using: g++ -o test -I/dir/to/R-2.5.0/src/include -L/dir/to/R-2.5.0/lib/R/lib -lR test.cpp and I got the error message: /tmp/cc4zxrqh.o(.text+0x20): In function `main': test.cpp: undefined...
2005 Jul 20
1
(PR#8017) build of REventLoop package crashes with 2.1 due
...nk files > * building 'vjREventLoop_0.2.tar.gz' > > $ su > # R CMD INSTALL vjREventLoop_0.2.tar.gz > gcc -I/usr/lib/R/include -I/usr/src/r-base-2.1.1/src/include -fPIC -g -O2 > -c Reventloop.c -o Reventloop.o > In file included from /usr/src/r-base-2.1.1/src/include/IOStuff.h:30, > from Reventloop.c:8: > /usr/src/r-base-2.1.1/src/include/Defn.h:886: error: syntax error before > "mbstate_t" > Reventloop.c: In function `R_mainLoop': > Reventloop.c:112: warning: assignment from incompatible pointer type > Reventloop.c:156:...
2005 Jul 19
0
build of REventLoop package crashes with 2.1 due tosyntax error in Defn.h (PR#8017)
...ing 'INDEX' * removing junk files * building 'vjREventLoop_0.2.tar.gz' $ su # R CMD INSTALL vjREventLoop_0.2.tar.gz gcc -I/usr/lib/R/include -I/usr/src/r-base-2.1.1/src/include -fPIC -g -O2 -c Reventloop.c -o Reventloop.o In file included from /usr/src/r-base-2.1.1/src/include/IOStuff.h:30, from Reventloop.c:8: /usr/src/r-base-2.1.1/src/include/Defn.h:886: error: syntax error before "mbstate_t" Reventloop.c: In function `R_mainLoop': Reventloop.c:112: warning: assignment from incompatible pointer type Reventloop.c:156: warning: assignment from inc...