Re: [Rd] unable to compile mgcv

2009-10-28 Thread William Dunlap
> -Original Message- > From: Chuck White [mailto:chuckwhi...@charter.net] > Sent: Wednesday, October 28, 2009 3:47 PM > To: r-devel@r-project.org; William Dunlap > Subject: RE: [Rd] unable to compile mgcv > > Thanks for your response. Can you please point me to the > make file where I

Re: [Rd] unable to compile mgcv

2009-10-28 Thread Chuck White
Thanks for your response. Can you please point me to the make file where I would make this change. Thanks. William Dunlap wrote: > The first offending line in gdc.c is > 294 int *pivot,i,TRUE=1,j; > and TRUE must be #defined in some AIX > include file. Change it to true or > add #u

Re: [Rd] unable to compile mgcv

2009-10-28 Thread William Dunlap
The first offending line in gdc.c is 294 int *pivot,i,TRUE=1,j; and TRUE must be #defined in some AIX include file. Change it to true or add #undef TRUE prior to its use and it may compile. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-deve

Re: [Rd] unable to compile mgcv

2009-10-28 Thread Chuck White
Some more details on my being able to compile R 2.9.2 for AIX 5.3 export OBJECT_MODE=64 export AR="ar -X64" export R_BROWSER=/opt/freeware/bin/firefox export MAKE=/usr/bin/gmake export R_SHELL=/usr/bin/bash #export LIBICONV=/opt/freeware/lib export CC="gcc -maix64 -pthread" export CXX="g++ -maix64

[Rd] unable to compile mgcv

2009-10-28 Thread Chuck White
Hello -- I am trying to compile R-2.9.2 on IBM Power5 machine with AIX 5.3. I have posted three previous posts. Over time I have made significant progress towards getting a successful build. I am now getting the following error: == begin i

Re: [Rd] mysteriously persistent generic definition

2009-10-28 Thread Duncan Murdoch
On 10/28/2009 3:14 PM, Ross Boylan wrote: Here's a self-contained example of the problem: foo <- function(obj) {return(3);} setGeneric("foo") [1] "foo" removeGeneric("foo") [1] TRUE foo <- function(x) {return(4);} args(foo) function (x) NULL setGeneric("foo") [1] "foo" args(foo) functio

Re: [Rd] mysteriously persistent generic definition

2009-10-28 Thread Ross Boylan
R 2.8.1 on Windows behaves as I expected, i.e., the final args(foo) returns a function of x. The previous example (below) was on Debian GNU/Linux. On Wed, 2009-10-28 at 12:14 -0700, Ross Boylan wrote: > Here's a self-contained example of the problem: > > > foo <- function(obj) {return(3);} > >

Re: [Rd] mysteriously persistent generic definition

2009-10-28 Thread Ross Boylan
Here's a self-contained example of the problem: > foo <- function(obj) {return(3);} > setGeneric("foo") [1] "foo" > removeGeneric("foo") [1] TRUE > foo <- function(x) {return(4);} > args(foo) function (x) NULL > setGeneric("foo") [1] "foo" > args(foo) function (obj) NULL R 2.7.1. I get the sam

Re: [Rd] Segfault reporting: memory not mapped error

2009-10-28 Thread Martin Maechler
> Blair Christian > on Sun, 25 Oct 2009 15:42:36 -0400 writes: > Is this the right place to report segfaults? > spc$ R CMD BATCH driver.q rOut.txt > spc$ tail -16 rOut.txt /Library/Frameworks/R.framework/Resources/bin/BATCH: > line 60: 5461 Segmentation fault ${