Dear list:
I am looking for a good way to create an S4 class that would extend
numeric, but would allow NULL instead of data as well. As far as I can
see there is no way at the moment to do that, but please correct me if I
am wrong. The best solution I came up with so far was the following (it
als
Full_Name: Ludo Pagie
Version: 2.8.1
OS: linux
Submission from: (NULL) (194.171.7.39)
p.adjust in stats seems to have a bug in handling n>length(p) for (at least) the
methods 'holm' and 'hochberg'.
For method 'holm' the relevant code:
i <- 1:n
o <- order(p)
ro <- order(o)
The man page for gc reads:
The final two columns show the maximum space used since the last
call to 'gc(reset=TRUE)' (or since R started).
The word 'last' here is ambiguous: does it include the *current* call
to gc? When I first read this, I assumed that it did not; indeed, I
only real
What warnings? Which part of the following is not what you're looking
for? (The usual information is needed, like version of R, reproducible
example, etc.)
> setClassUnion("numericOrNULL", c("numeric","NULL"))
[1] "numericOrNULL"
> setClass("foo", representation(x="numericOrNULL"))
[1] "foo"
>
Hi Ludo,
Issues such as this are best posed as
questions to the list before filing a bug
report. (False bug reports create extra
work for volunteer R-core members.)
What is your use case for setting
n larger than length(p) (the default)?
The documentation does say
"n number of comparisons, must
So, I was intrigued and played around a bit more. Still can't get any
warnings, but the following may be the issue.
One thing NOT currently possible is to have a class that has NULL as its
data part, because type NULL is abnormal and can't have attributes.
So if you want a class that contain
Hi all,
I try to utilize RSPython to invoke Python from R. For me it works pretty
fine for basic applications, but I have 3 problems that may be related.
(1) I can't load other packages but "standard" ones also when I adjust the
PythonPath:
> importPythonModule('sys', all=T)
NULL
Hi David.
(Sorry about not replying to your earlier mail. I have been rather
busy in the last few days.)
David Scherrer wrote:
Hi all,
I try to utilize RSPython to invoke Python from R. For me it works pretty
fine for basic applications, but I have 3 problems that may be related.
(1) I can
hello,
I would like to contribute to the r project ,but as i have no(or very less)
knowledge of statistics(I am a computer science student) am finding it
difficlut to do so.My programming expereince includes c and c++.Also i have
gone thorugh the basic r Syntax found in the r-intro pdf file.I would