Re: [Rd] Bug in plnorm (PR#11867)

2008-07-01 Thread maechler
Thank you, Goran, that's indeed a buglet (also for lower.tail=TRUE) that will be fixed shortly. Regards, Martin GB == Gž¾¡ž¡öran Brostrž¾¡ž¡öm [EMAIL PROTECTED] on Mon, 30 Jun 2008 00:45:21 +0200 (CEST) writes: GB Full_Name: Göran Broström Version: 2.7.1 OS: Ubuntu

Re: [Rd] AIX 5.3 --enable-R-shlib make error with R-2.7.1

2008-07-01 Thread Ei-ji Nakama
Hi Perhaps I think that there is a possibility that success of former link was my hallucination... Please try this patch if you like. http://prs.ism.ac.jp/~nakama/AIX/aix_R-2.7.1_Rshlib_include_configure.patch Some problems are left in gcc, but think that the make is possible. If you want to

[Rd] Autoconf / Windows package building problem for device package

2008-07-01 Thread Tobias Verbeke
Dear list, Tadashi Kadowaki has developed a pdf device package that allows to add hyperlinks and popups to (currently) text, mtext and rect calls. The package passes R CMD check (minor warnings) and compiles on MacOS X and GNU/Linux, but we do not succeed in building the package for Windows.

Re: [Rd] Autoconf / Windows package building problem for device package

2008-07-01 Thread Simon Urbanek
Tobias, that package uses headers internal to R (a really bad thing to do). Although it attempts to supply them (very dangerous again since they are R-version-dependent) they rely on configured R sources which are not present on Windows. I don't have a Windows machine handy, but I dimly

[Rd] [.data.frame speedup

2008-07-01 Thread Tim Hesterberg
Below is a version of [.data.frame that is faster for subscripting rows of large data frames; it avoids calling duplicated(rows) if there is no need to check for duplicate row names, when: i is logical attr(x, dup.row.names) is not NULL (S+ compatibility) i is numeric and negative

Re: [Rd] [.data.frame speedup

2008-07-01 Thread Tim Hesterberg
There is a bug in the standard version of [.data.frame; it mixes up handling duplicates and NAs when subscripting rows. x - data.frame(x=1:3, y=2:4, row.names=c(a,b,NA)) y - x[c(2:3, NA),] y It creates a data frame with duplicate rows, but won't print. In the previous message I included a

Re: [Rd] get ...

2008-07-01 Thread Duncan Murdoch
On 30/06/2008 10:56 AM, Luke Tierney wrote: On Sat, 28 Jun 2008, Peter Dalgaard wrote: Gabor Grothendieck wrote: Suppose we do this: f - function(...) environment() e - f(a = 1, b = 2) ls(e, all = TRUE) [1] ... e$... ... class(e$...) [1] ... Is there any way of getting a and b

Re: [Rd] [.data.frame speedup

2008-07-01 Thread Tim Hesterberg
Here is a revised version of notSorted; change argument order (to be more like is.unsorted) and fix blunder. notSorted - function(x, na.rm = FALSE, decreasing = FALSE, strict = FALSE){ # return TRUE if x is not sorted # If decreasing=FALSE, check for sort in increasing order # If