Re: [Rd] Suggestion: help(package name)

2005-06-08 Thread Torsten Hothorn
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

Re: [Rd] Suggestion: help(package name)

2005-06-08 Thread torsten
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

Re: [Rd] Use of htest class for different tests

2005-03-14 Thread Torsten Hothorn
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

[Rd] promptMethods(foo) \alias{foo}

2005-02-16 Thread Torsten Hothorn
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

[Rd] R News: Call for Papers

2005-02-14 Thread Torsten Hothorn
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

[Rd] fitting problems in coxph.fit

2004-12-16 Thread Torsten Hothorn
`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

Re: [Rd] R2.0.0 bug in function vcov in library survival (PR#7266)

2004-10-06 Thread Torsten Hothorn
, ...) { 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

Re: [Rd] R and C++ code

2004-05-18 Thread Torsten Hothorn
#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

Re: [Rd] Segfault: .Call and classes with logical slots

2004-04-27 Thread torsten
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

[Rd] Segfault: .Call and classes with logical slots

2004-04-26 Thread Torsten Hothorn
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

[Rd] `extends()'at C-level?

2004-04-02 Thread Torsten Hothorn
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

[Rd] Memory Protection calling C-fun from C

2004-04-01 Thread Torsten Hothorn
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

[Rd] plot.dendrogram and expressions

2004-03-12 Thread Torsten Hothorn
) 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

Re: [Rd] Using log() on an openMosix cluster

2003-11-24 Thread Torsten Hothorn
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

Re: [Rd] function 'density' in r-devel

2003-09-18 Thread Torsten Hothorn
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

[Rd] `var' broken in 1.8.0 alpha (2003-09-15)

2003-09-16 Thread Torsten Hothorn
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

Re: [Rd] `var' broken in 1.8.0 alpha (2003-09-15)

2003-09-16 Thread Torsten Hothorn
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

Re: [Rd] wilcox.test, CI (PR#3666)

2003-08-14 Thread Torsten Hothorn
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

[Rd] typo in R-exts

2003-06-16 Thread Torsten Hothorn
) ^^^ Best, Torsten __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

[Rd] brackets in prompt.data.frame (PR#2676)

2003-03-24 Thread Torsten . Hothorn
} } [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