[Rd] parsing Rd files and \deqn{}

2009-05-01 Thread Robin Hankin
Hi [R-2.9.0] I am having difficulty including a LaTeX formula in an Rd file. The example given in section 2.7 in 'Parsing Rd files' is: \deqn{ f(x) = \left\{ \begin{array}{ll} 0 & x<0 \\ 1 & x\ge 0 \end{array} \right. }{non latex} For me, this gives: \deqn{ f(x)

[Rd] unexpected behavior of rpart 3.1-43, loss matrix

2009-05-01 Thread Lars
Hi, I just noticed that rpart behaves unexpectecly, when performing classification learning and specifying a loss matrix. if the response variable y is a factor and if not all levels of the factor occur in the observations, rpart exits with an error: > df=data.frame(attr=1:5,class=factor(c(2,3,

Re: [Rd] NA_real_ NaN -> NA or NaN, should we care?

2009-05-01 Thread Martin Maechler
> William Dunlap > on Thu, 30 Apr 2009 10:51:43 -0700 writes: > On Linux when I compile R 2.10.0(devel) (src/main/arithmetic.c in > particular) > with gcc 3.4.5 using the flags -g -O2 I get noncommutative behavior when is this really gcc 3.4.5 (which is quite old) ? Wit

Re: [Rd] NA_real_ NaN -> NA or NaN, should we care?

2009-05-01 Thread Martin Maechler
> "MM" == Martin Maechler > on Fri, 1 May 2009 14:14:58 +0200 writes: > William Dunlap > on Thu, 30 Apr 2009 10:51:43 -0700 writes: >> On Linux when I compile R 2.10.0(devel) (src/main/arithmetic.c in >> particular) >> with gcc 3.4.5 using the flags -g -O2 I

Re: [Rd] NA_real_ NaN -> NA or NaN, should we care?

2009-05-01 Thread Duncan Murdoch
On 5/1/2009 8:14 AM, Martin Maechler wrote: William Dunlap on Thu, 30 Apr 2009 10:51:43 -0700 writes: > On Linux when I compile R 2.10.0(devel) (src/main/arithmetic.c in > particular) > with gcc 3.4.5 using the flags -g -O2 I get noncommutative behavior when is this really gcc

Re: [Rd] NA_real_ NaN -> NA or NaN, should we care?

2009-05-01 Thread William Dunlap
> From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] > Sent: Friday, May 01, 2009 5:15 AM > To: William Dunlap > Cc: r-devel@r-project.org > Subject: Re: [Rd] NA_real_ NaN -> NA or NaN, should we care? > > > William Dunlap > > on Thu, 30 Apr 2009 10:51:43 -0700 writes: > >

Re: [Rd] crash after using graphics in Rcmdr (PR#13679)

2009-05-01 Thread Rob Goedman
John, To the best of my knowledge this problem in R.app has been around at least since the R-2.8 days, but likely much longer. I never use R from a Terminal, so don't know if it occurs or not outside R.app. It's not related to Rcmdr and you're observation is indeed one of the better ways to

Re: [Rd] NA_real_ NaN -> NA or NaN, should we care?

2009-05-01 Thread William Dunlap
The optimizer in gcc 4.2 (but not 4.1) on Linux seems to get this issue "right" on one of my test machines (a 32-bit Ubuntu box). 4.1 fails on a 64-bit Linux but I don't have a newer gcc on any 64-bit Linux machine I can find. A cleaner version of the test is: % cat t.c #include #include #includ

[Rd] a statement about package licenses

2009-05-01 Thread Robert Gentleman
We are writing on behalf of the R Foundation, to clarify our position on the licenses under which developers may distribute R packages. Readers should also see FAQ 2.11: this message is not legal advice, which we never offer. Readers should also be aware that besides the R Foundation, R has many o

[Rd] nlminb - Port library codes

2009-05-01 Thread John C Nash
Having looked at documentation and codes, I'm still looking to find out who did the installation of the Port libraries. As I work on optimization code improvements, there are often choices of settings (tolerances etc.), and I'd prefer to learn if there are particular reasons for choices before

Re: [Rd] crash after using graphics in Rcmdr (PR#13679)

2009-05-01 Thread DevinJ
This happens to me every time I try a plot command from TextWrangler with the following applescript tell application "TextWrangler" set the_selection to (selection of front window as string) if (the_selection) is "" then set the_selection to line (get startLine of