overviews
is very nice, but _forcing_ package authors to provide additional
meta-information would be less welcome.
Best,
Torsten
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On Wed, 8 Jun 2005, Duncan Murdoch wrote:
Torsten Hothorn wrote:
On Tue, 7 Jun 2005, Duncan Murdoch wrote:
[...]
My proposal (modified following the suggestions I've heard so far) is as
follows:
- to check that a couple of help topic aliases exist (pkg.package
and pkg
On Sun, 13 Mar 2005, Gorjanc Gregor wrote:
Hello!
First of all I must appologize if this has been raised previously, but
search provided by Robert King at the University of Newcastle seems to
be down these days. Additionally let me know if such a question should
be sent to R-help.
I did a
Dear all,
`promptMethods(foo)' currently does not produce and Rd-skeleton including
an `\alias{foo}' entry, which is required (at least R CMD check keeps
crying until the alias is added). Maybe one could simply add this line.
Thanks,
Torsten
__
R
to Uwe Ligges [EMAIL PROTECTED].
The deadline for submissions is
April, 10th, 2005
Keep the contributions rolling in!
The Editorial Board,
Doug Bates, Paul Murrell and Torsten Hothorn
__
R-devel@stat.math.ethz.ch mailing list
https
`exp' returns `nan'. Of course
one could transform the independent variables prior to fitting but I'm not
sure if this is the intented solution.
Best,
Torsten
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
, ...)
{
rval - object$var
dimnames(rval) - list(names(coef(object)), names(coef(object)))
rval
}
environment: namespace:survival
Torsten
__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
#ifndef X_H
#define X_H
class X
{
public:
X();
~X();
};
#endif
//X_main.cpp
#include X.h
extern C {
void X_main(){
X x;
}
}
//essai.R
did you load the shared library via
dyn.load(X_main.so)
?
Torsten
foo-function()
{.C(X_main);}
When I execute the file essai.R
to save (UN)PROTECT calls because of efficiency reasons. Anyway,
this helps me a lot, thanks!
Torsten
#include Rdefines.h
SEXP foo() {
SEXP ans, cl, el;
PROTECT(cl = MAKE_CLASS(test));
PROTECT(ans = NEW_OBJECT(cl));
PROTECT(el = allocVector(LGLSXP, 1));
SET_SLOT(ans
which gives
R
R
R dyn.load(dummy.so)
R
R setClass(test, representation = representation(lgl = logical))
[1] test
R
R a = .Call(foo)
R a
An object of class test
Slot lgl:
[1] TRUE
R
R gctorture(on = TRUE)
R a = .Call(foo)
R gctorture(on = FALSE)
Segmentation fault
Best,
Torsten
R version
One can check easily if an object is of class foo via
strcmp(CHAR(asChar(GET_CLASS(obj))), foo)
and I wonder if there is high-level functionality to check
if `obj' extends a class?
Best,
Torsten
__
[EMAIL PROTECTED] mailing list
https
both
`foo' and `bar' directly from R and C-level (say for the sake of writing
tests in R for the lowlevel functions).
Any clarification is very welcome Thanks in advance,
Torsten
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman
)
344c344
text(xBot, my, attr(child, edgetext))
---
text(xBot, my, edgeText)
and one could use expressions for plotting symbols.
Best,
Torsten
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r
is fine here. I guess using R-1.8.1 will fix your
problem.
Torsten
Interestingly, when I tried running the following code:
##
N - 10; a - numeric(N); b - numeric(N)
e - rnorm(N)
for(i in 1:N) {
a[i] - exp(e[i])
b[i] - exp(abs(a[i]))
}
##
I didn't experience any
correctly. Just rebuild from a fresh checkout.
Best,
Torsten
Regards,
L.
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
__
[EMAIL PROTECTED] mailing list
passed to cov which
requires 4.
Best,
Torsten
R version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status alpha
major1
minor8.0
year 2003
month09
day 15
language R
__
[EMAIL
is using
rsync -rC --delete rsync.r-project.org::r-devel R
(maybe one should add a hint in section 2.4 of the FAQ).
Thank you for pointing this out!
Best,
Torsten
Regards,
Martin Maechler [EMAIL PROTECTED] http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO C16
to 0
95 percent confidence interval:
-5 6
sample estimates:
(pseudo)median
2.5
from package 'exactRankTests' which derives the confidence
limits from the conditional distribution.
Best,
Torsten
fails
print(wilcox.test(c(2,1,4,3,6,-5,0,1),conf.int=T))
works
print(wilcox.test(c
)
^^^
Best,
Torsten
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
} }
[12] }
where the closing bracket to describe is missing. The fix seems simply
changing
fmt - c(fmt, })
to
fmt - c(fmt, } \n } )
in line 208 of prompt.R.
Torsten
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman
20 matches
Mail list logo