[Rd] AIX 5.3 --enable-R-shlib make error with R-2.7.1

2008-06-30 Thread Jagat.K.Sheth
Using AIX 5.3 and gcc-4.2.1 for building R-2.7.1 with the following configure flags OBJECT_MODE=64 CC="gcc -maix64" CXX="g++ -maix64" F77="gfortran -maix64" FC="gfortran -maix64" CFLAGS="-g -O3" CXXFLAGS="-g -O3" FFLAGS="-g -O3" FCFLAGS="-g -O3" LDFLAGS="-L/$HOME/usr/local/lib/ppc64 -L/$HO

Re: [Rd] get ...

2008-06-30 Thread Luke Tierney
On Sat, 28 Jun 2008, Peter Dalgaard wrote: Gabor Grothendieck wrote: Suppose we do this: f <- function(...) environment() e <- f(a = 1, b = 2) ls(e, all = TRUE) [1] "..." e$... <...> class(e$...) [1] "..." Is there any way of getting a and b given e without modifying f? evalq(lis

[Rd] Embedded R, last errormessage, and stack smashing

2008-06-30 Thread Laurent Gautier
Dear list, I am having an embedded R, dying with *** stack smashing detected *** in one specific case. My code is such as I evaluate R expression with C code like res = R_tryEval(expr, env, &error); and in case of error, get the error message (usually sucessfully) with code like below: SEXP ge