[Rd] wishlist: add get_seed() function to standalone R library(PR#3160)

2003-06-02 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 1.7.0 OS: Debian GNU/Linux unstable Submission from: (NULL) (66.32.185.71) Hi all, This report is about the use of R as a standalone library, for linking with a C program, for example. I have found it useful to be able to save the seeds of a random num

[Rd] Wishlist: user-specified color names for palette() (PR#4836)

2003-10-28 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 1.8.0 OS: GNU/Linux (Debian unstable) Submission from: (NULL) (156.153.255.243) Hi, I use palette(rgb(red=..., green=..., blue=..., names=mycolors)) to define my own color palette. After doing this, the names `mycolors' are not stored in palette() anymore

[Rd] documentation of "scope": possible error + cleanup (PR#5095)

2003-11-14 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 1.8.0 OS: Debian GNU/Linux unstable Submission from: (NULL) (156.153.255.243) While reading the R lang info pages, I came across the following paragraphs in the node "Scope": >>A simple example, >> >> f <- function(x) { >> y <- 10 >>

[Rd] typo in documentation for lda in MASS (PR#2438)

2003-01-09 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 1.6.1 OS: Linux Submission from: (NULL) (192.6.19.190) In the description of the `CV' argument to lda in package MASS, "leave-out-out" should be "leave-one-out". __ [EMAIL PROTECTED] mailing list http://www.stat.mat

[Rd] plot.rpart ignores uniform=TRUE if graphics device is not open (PR#7361)

2004-11-11 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 2.0.0 OS: Debian GNU/Linux Submission from: (NULL) (156.153.255.236) Hi all, If fit is an rpart object, plot(fit, uniform=TRUE) ignores uniform=TRUE if the graphics device is not already open. To reproduce this: library("rpart") example(plot.rpart) dev.off(

[Rd] Wishlist: pos argument for mget (PR#7376)

2004-11-17 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 2.0.0 OS: Debian GNU/Linux Submission from: (NULL) (156.153.255.243) Why doesn't mget() have a "pos" argument like get()? mget has an "envir" argument, but the documentation says that this is only for backward compatibility. Thanks, Hsiu-Khuern. ___

[Rd] Unexpected behavior of colSums (rowSums) when the input matrix has zero rows (columns) (PR#7775)

2005-04-05 Thread htang
Hi all, colSums() does not work as I expect when there are no rows. For example: > x = matrix(0, nrow=0, ncol=5) > colSums(x) Error in colSums(x, n, prod(dn), na.rm) : invalid value of n I expected to get 0's, as is given by apply(): > apply(x, 2, sum, na.rm=TRUE) [1] 0 0 0 0 0 This behavior