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 strict=TRU
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
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 inclu
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
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 r
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.
The
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 ea
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.