Re: [Rd] Ralloc clash

2006-11-23 Thread Tom McCallum
Thank you for your reply. My mistake - I meant Realloc (missed the 'e'). This morning I reinstalled MinGW with all the patches suggested by the Install R on Windows Help page, including w32api-3.7, just to make sure all was as it should be. I have put #define WIN32_LEAN_AND_MEAN at the t

Re: [Rd] Ralloc clash

2006-11-23 Thread Prof Brian Ripley
Realloc is defined in R_ext/RS.h, and only if STRICT_R_HEADERS is not defined. This *is* documented in 'Writing R Extensions'. On Thu, 23 Nov 2006, Tom McCallum wrote: > Thank you for your reply. My mistake - I meant Realloc (missed the 'e'). > This morning I reinstalled MinGW with all the pat

Re: [Rd] Ralloc clash

2006-11-23 Thread Tom McCallum
But from R_ext/RS.h you have (my comments are given by <-- some text): BEGIN EXTRACT #ifndef STRICT_R_HEADERS <-- fair enough this is defined but it

Re: [Rd] Ralloc clash

2006-11-23 Thread Prof Brian Ripley
On Thu, 23 Nov 2006, Prof Brian Ripley wrote: > Realloc is defined in R_ext/RS.h, and only if STRICT_R_HEADERS is not > defined. This *is* documented in 'Writing R Extensions'. That was the general intention, but seems not to cover this example. Howver, #include #undef Realloc #define R_Real

Re: [Rd] Ralloc clash

2006-11-23 Thread Tom McCallum
Thank you that did the job. Tom On Thu, 23 Nov 2006 13:06:29 -, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Thu, 23 Nov 2006, Prof Brian Ripley wrote: > >> Realloc is defined in R_ext/RS.h, and only if STRICT_R_HEADERS is not >> defined. This *is* documented in 'Writing R Extensio

[Rd] configure issue (PR#9379)

2006-11-23 Thread gml4410
Full_Name: Gordon Lack Version: 2.4.0 OS: Redhat Linux AS2.1 Submission from: (NULL) (198.28.92.5) Not sure whether this is a configure issue or an R one. It's only a minor issue, so this is really just FYI. The code in configure checks for the version of makeinfo by splitting the version strin

Re: [Rd] configure issue (PR#9379)

2006-11-23 Thread Kurt Hornik
> gml4410 writes: > Full_Name: Gordon Lack > Version: 2.4.0 > OS: Redhat Linux AS2.1 > Submission from: (NULL) (198.28.92.5) > Not sure whether this is a configure issue or an R one. > It's only a minor issue, so this is really just FYI. > The code in configure checks for the version of m

[Rd] OSF1 build fails (PR#9380)

2006-11-23 Thread gml4410
Full_Name: Gordon Lack Version: 2.4.0 OS: OSF1 5.1 Submission from: (NULL) (198.28.92.5) Attempts to build R 2.4.0 on an OSF1 5.1 system result in: == gcc -I. -I../../src/include -I../../src/include .. In file included from dynload.c:33: ../../src/include/Defn.h:554: error: parse

Re: [Rd] configure issue (PR#9379)

2006-11-23 Thread Gordon Lack
Kurt Hornik wrote: > > Did you try configuring with MAKEINFO=false in your envrionment? No, but I just have and it makes no difference. The relevant code in configure is: === echo "$as_me:$LINENO: checking for working makeinfo" >&5 echo $ECHO_N "checking for working makeinfo.

[Rd] Writing R Extensions manual?

2006-11-23 Thread Spencer Graves
I got an error message apparently from copying a line in the "Writing R Extensions" manual. Specifically, the sample "DESCRIPTION" file includes the following: Depends: R (>= 1.8.0), nlme When I ran "R CMD check", I got the following message in "00install.out": installing R.css

Re: [Rd] Writing R Extensions manual?

2006-11-23 Thread hadley wickham
It's very particular: > Malformed Depends or Suggests or Imports or Enhances field. > Offending entries: > R (>=2.4.0) > Entries must be names of packages optionally followed by '<=' or '>=', > white space, and a valid version number in parentheses. ^^^ You need a space after >= Had

Re: [Rd] Writing R Extensions manual?

2006-11-23 Thread Spencer Graves
Dear Hadley: Thanks very much. Clearly I looked at TFM but failed to properly parse it. Thanks again. Spencer Graves hadley wickham wrote: > It's very particular: > >> Malformed Depends or Suggests or Imports or Enhances field. >> Offending entries: >> R (>=2.4.0) >> Entries must be names o