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
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
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
>>
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
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(
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.
___
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