[Rd] bug in barplot.default (graphics) (PR#11585)

2008-06-05 Thread c . beale
There seems to be a minor bug in barplot.default when used with log scale w= here one or more values is NA: dat <- matrix(1:25, 5) dat[2,3] <- NA barplot(dat, beside =3D T) #Plots and appropriate barplot with gaps for m= issing data barplot(dat, beside =3D T, log =3D "y") #Error in if (min(heigh

[Rd] prevent `R CMD INSTALL' from reading `.Rprofile'

2008-06-05 Thread Joerg van den Hoff
I tripped over the following problem: due to (my?) unresolved problems with cairo graphics under MacOS (graphic window blocks unrecoverably) I modified my `.Rprofile' to issue `X11(type = "Xlib")` on each R startup (as a workaround to automatic opening of a `cairo' device when issu

Re: [Rd] prevent `R CMD INSTALL' from reading `.Rprofile'

2008-06-05 Thread Simon Urbanek
On Jun 5, 2008, at 7:41 AM, Joerg van den Hoff wrote: I tripped over the following problem: due to (my?) unresolved problems with cairo graphics under MacOS (graphic window blocks unrecoverably) I modified my `.Rprofile' to issue `X11(type = "Xlib")` on each R startup (as a worka

[Rd] RFC: Add 'postinstall' hook to R CMD INSTALL ?

2008-06-05 Thread Dirk Eddelbuettel
I have been mulling over an idea I had meant to flesh out with a prototype but haven't gotten around to. So here it goes in the abstract without working code: What: Extend 'R CMD INSTALL' to also work on sources that are not strictly CRAN packages Why: 'R CMD INSTALL' is very good an

Re: [Rd] prevent `R CMD INSTALL' from reading `.Rprofile'

2008-06-05 Thread Joerg van den Hoff
On Thu, Jun 05, 2008 at 08:57:58AM -0400, Simon Urbanek wrote: > > On Jun 5, 2008, at 7:41 AM, Joerg van den Hoff wrote: > > >I tripped over the following problem: > > > >due to (my?) unresolved problems with cairo graphics under > >MacOS (graphic window blocks unrecoverably) I modified my >

[Rd] qf with infinite df

2008-06-05 Thread Simone Giannerini
Dear all, I found the following behaviour > rf(5,Inf,Inf) [1] 1 1 1 1 1 but > qf(0.1,Inf,Inf) [1] NaN Warning messages: 1: In qf(0.1, Inf, Inf) : value out of range in 'lgamma' 2: In qf(p, df1, df2, lower.tail, log.p) : NaNs produced incidentally, > pf(1.01,Inf,Inf) [1] 1 > pf(1

Re: [Rd] qf with infinite df

2008-06-05 Thread Prof Brian Ripley
On Thu, 5 Jun 2008, Simone Giannerini wrote: Dear all, I found the following behaviour rf(5,Inf,Inf) [1] 1 1 1 1 1 but qf(0.1,Inf,Inf) [1] NaN Warning messages: 1: In qf(0.1, Inf, Inf) : value out of range in 'lgamma' 2: In qf(p, df1, df2, lower.tail, log.p) : NaNs produced Could do be

Re: [Rd] qf with infinite df

2008-06-05 Thread Martin Maechler
Thank you, Simone, > "SG" == Simone Giannerini <[EMAIL PROTECTED]> > on Thu, 5 Jun 2008 16:49:25 +0200 writes: SG> Dear all, I found the following behaviour >> rf(5,Inf,Inf) SG> [1] 1 1 1 1 1 SG> but >> qf(0.1,Inf,Inf) SG> [1] NaN Warning messages: 1: In qf(

[Rd] R-code embedded in VBE -- Type mismatch errors

2008-06-05 Thread pietro . parodi
Hello, I am trying to embed R-code inside VB for Excel (probably a perverse endeavour anyway) and I am running into difficulties, especially when passing vectors back and forth between the two environments. (1) I am using the RExcel package. (2) An example of error that I often get and that I

Re: [Rd] qf with infinite df

2008-06-05 Thread Simone Giannerini
many thanks for all the clarifications and for the declaration of intents for fixing qf(). For the sake of completeness I stumbled upon the behaviour of qf when preparing statistical tables with R to be put online for my students. I remained a bit surprised in seeing how much the results vary acros