Re: [Rd] Compatibility of external C code across platforms

2009-09-26 Thread Murray Efford
Thank you. I'm much clearer on this. I now notice that the messages from gcc distinguish breaches of ISO C and ISO C90, and can see the significance. My gcc versions were the same - the different behaviour is likely to be explained by the --std flag. And it looks like I have to re-write a lot o

Re: [Rd] Rtools210 missing jpeg-7?

2009-09-26 Thread Duncan Murdoch
Hiroyuki Kawakatsu wrote: Hi, I just built r49839 on my windoze machine with Rtools210. When I do -make bitmapdll-, it errors saying file jpeg-7/jconfig.h not found (apologies, I lost the exact error message). After downloading and unpacking jpegsr7.zip, the bitmap dll builds fine. Rtools210 app

[Rd] xaxs disactivated when asp=1 in plots (PR#13971)

2009-09-26 Thread francois_birgand
Full_Name: François Birgand Version: 2.9.0 OS: windows xp Submission from: (NULL) (152.1.16.161) When I type this sequence: x11() Ylim<-c(0,14) Xlim<-c(0,14) plot(0,0,xlim=Xlim,ylim=Ylim,col="white",main="",xlab="",ylab="",bty="n",xaxt="n",yaxt="n",xaxs="i",yaxs="i",asp=1) abline(h=c(0,14),lwd=2

[Rd] mboost_1.1-3 blackboost_fit (PR#13972)

2009-09-26 Thread bullshit
Full_Name: Ivan the Terrible Version: 2.9.2 OS: Windows XP SP3 Submission from: (NULL) (89.110.13.151) When using the method blackboost_fit of the package mboost appear following error : Error in party:::get_variables(o...@responses) : trying to get slot "responses" from an object (class "boos

Re: [Rd] Compatibility of external C code across platforms

2009-09-26 Thread Prof Brian Ripley
On Sat, 26 Sep 2009, Murray Efford wrote: A package I have written makes considerable use of external C code. There appear to be no problems building a Windows binary with the GNU C compiler, but now I would like to make the package available for other platforms. A stringent check of the code

[Rd] Rtools210 missing jpeg-7?

2009-09-26 Thread Hiroyuki Kawakatsu
Hi, I just built r49839 on my windoze machine with Rtools210. When I do -make bitmapdll-, it errors saying file jpeg-7/jconfig.h not found (apologies, I lost the exact error message). After downloading and unpacking jpegsr7.zip, the bitmap dll builds fine. Rtools210 appears to still install jpeg-6

Re: [Rd] Compatibility of external C code across platforms

2009-09-26 Thread William Dunlap
Even though the C99 standard allows variable length arrays on the stack, I would avoid using them much as the stack is a much more limited resource than the heap (where malloc allocates memory). A typical stack has a few megabytes while a typical heap has a few gigabytes. Detecting stack overflow