Re: [Rd] Rcmd SHLIB error

2010-12-18 Thread Dominick Samperi
On Sat, Dec 18, 2010 at 5:24 PM, Gabor Grothendieck wrote: > I am getting this error message when I try to run Rcmd SHLIB myprog.c. > There appears to be a missing / between etc and i386 in the path. I > am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16 > r53864) and just do

[Rd] Rcmd SHLIB error

2010-12-18 Thread Gabor Grothendieck
I am getting this error message when I try to run Rcmd SHLIB myprog.c. There appears to be a missing / between etc and i386 in the path. I am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16 r53864) and just downloaded Rtools 2.12 today. Is this a bug in R? How can I resolve t

Re: [Rd] Surprising behavior of letters[c(NA, NA)]

2010-12-18 Thread William Dunlap
I'm agnostic at this point about the recycling rules for logical subscripting, but I've been coming around to thinking that x[logicalSubscript] should only return the values of x such that the corresponding value of logicalSubscript is TRUE. Values in logicalSubscript of NA and FALSE should be tre

Re: [Rd] Surprising behavior of letters[c(NA, NA)]

2010-12-18 Thread Duncan Murdoch
On 18/12/2010 9:12 AM, Radford Neal wrote: Duncan Murdoch writes: The relevant quote is in the Language Definition, talking about indices by type of index: "Logical. The indexing i should generally have the same length as x. If it is shorter, then its elements will be recycled as di

[Rd] How to use the RUnit tracker in unit tests?

2010-12-18 Thread Niels Richard Hansen
R-developers Does anybody know how I incorporate the use of the tracker in RUnit in the unit tests? I have read the RUnit Vignette, help pages and searched around, but I could find no examples of using 'inspect' in the unit test functions. Moreover, doing so, I tried something like library(RUni

[Rd] Surprising behavior of letters[c(NA, NA)]

2010-12-18 Thread Radford Neal
Duncan Murdoch writes: The relevant quote is in the Language Definition, talking about indices by type of index: "Logical. The indexing i should generally have the same length as x. If it is shorter, then its elements will be recycled as discussed in Section 3.3 [Elementary arithmetic o