[Rd] Rtools and MinGW

2011-04-03 Thread Thomas Mang
Hi, I have R version 2.8.1 and Rtools 28 installed (as you might guess, set up years ago). In Rtools the MinGW GCC 4.2 compiler toolset is included. For my regular C/C++ programs I have also installed, separately, the full MinGW bundle with the latest GCC 4.5 compiler tools. So I have two g+

Re: [Rd] [R-sig-ME] Documentation for the glm module in jags/rjags?

2011-04-03 Thread Wincent
It turns out that when I use GUI (file-change dir) to set the working directory, R will crash. If I use setwd() instead, the example runs well. Regards, On 4 April 2011 00:17, Wincent wrote: > OK, I dig into the problem and found that Chinese character in the path > should be blamed. > Once the

[Rd] Inconsistency: sort(NULL)/sort.int(NULL) does not throw an error, cf. order(NULL), sort.int(NULL, index.return=TRUE), ...

2011-04-03 Thread Henrik Bengtsson
Hi, while backtracking why sort(NULL) gives a warning, and acknowledging that NULL is not the same as an empty vector and sort(NULL) is bad coding, I discovered the following inconsistency of sort.int(): > x <- NULL > sort(x) Warning in is.na(x) : is.na() applied to non-(list or vector) of typ

Re: [Rd] Suggests and examples

2011-04-03 Thread Jay Emerson
That must be it. Our new 3.0.0 has then added the Suggests, and as the changes from 2.2.0 to 3.0.0 were unrelated I assumed we had been properly suggesting previously; apparently not. Thanks, Jay On Sun, Apr 3, 2011 at 1:57 PM, Uwe Ligges wrote: > > > On 03.04.2011 19:31, Jay Emerson wrote: >>

Re: [Rd] Suggests and examples

2011-04-03 Thread Uwe Ligges
On 03.04.2011 19:31, Jay Emerson wrote: I apologize in advance for probably missing something obvious, but if someone could point me in the right direction I'd be grateful. This NOTE is not unique to our package (I list a few others, below). Package bcp has several Suggests (strucchange, for

[Rd] Suggests and examples

2011-04-03 Thread Jay Emerson
I apologize in advance for probably missing something obvious, but if someone could point me in the right direction I'd be grateful. This NOTE is not unique to our package (I list a few others, below). Package bcp has several Suggests (strucchange, for example). Then in an Rd file, we have if (