Re: [Rd] attributes on symbols

2017-07-07 Thread Torsten Hothorn
Here is a simpler example: ex <- as.name("a") attr(ex, "test") <- 1 quote(a) a attr(,"test") [1] 1 Torsten On Thu, 6 Jul 2017, William Dunlap wrote: The multcomp package has code in multcomp:::expression2coef that attaches the 'coef' attribute to symbols.  Since there is only one symbol o

Re: [Rd] mboost_1.1-3 blackboost_fit (PR#13972)

2009-09-28 Thread Torsten Hothorn
On Sun, 27 Sep 2009, Uwe Ligges wrote: Please read the FAQs about submitting bug reports. Bugs in contributed packages must not go to the R-bugs repository but to the corresponding package maintainer, CCing in this case (I do not confirmed that it is a bug). Ivan, bd <- party:::ctreedp

[Rd] model.matrix memory problem (PR#13838)

2009-07-16 Thread Torsten . Hothorn
Hi, `model.matrix' might kill R with a segfault (on a illposed problem, but anyway): mydf <- as.data.frame(sapply(1:40, function(i) gl(2, 100))) f <- as.formula(paste("~ - 1 + ", paste(names(mydf), collapse = ":"), sep = "")) X <- model.matrix(f, data = mydf) *** caught segfault *** address 0

[Rd] [SoC09-Idea] Party On!

2009-02-27 Thread Torsten Hothorn
Hi Manuel, find our SoC proposal below. Best wishes, Torsten & Achim ___ Party On! New Recursive Partytioning Tools. Mentor: Torsten Hothorn & Achim Zeileis Short Description: The aim of the project is the implem

[Rd] nlevels() is 0 and not NA

2007-04-24 Thread Torsten Hothorn
> nlevels(c("a", "b")) [1] 0 but the documentation in R 2.5.0 (and earlier) says If the argument is not a 'factor', 'NA' is returned. I hope it isn't too late, I only came across this in a lecture this morning. Best, Torsten __ R-devel@r-p

[Rd] R 2.4.0 @ R-project.org

2007-01-16 Thread Torsten Hothorn
R-project.org' News section still has R version 2.4.0 has been released on 2006-10-03. Best wishes, Torsten __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Typo in print.default.Rd

2006-09-05 Thread Torsten Hothorn
line 17 has `intepretation', should read `interpretation' Torsten __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Package Unit Testing

2006-07-25 Thread Torsten Hothorn
On Mon, 24 Jul 2006, Gregor Gorjanc wrote: > Martin Maechler stat.math.ethz.ch> writes: > >> >>> "miguel" == miguel manese gmail.com> >>> on Mon, 3 Jul 2006 09:43:12 +0800 writes: >> >> miguel> Hello, Do we have like an official unit testing >> miguel> framework for packages

[Rd] gsub + backslashes

2006-04-24 Thread Torsten Hothorn
Dear developeRs, I thought that backslashes can be escaped in the usual way (and I think I did this before) but I can't see why R> gsub("\\", "x", "\alpha") Error in gsub(pattern, replacement, x, ignore.case, extended, fixed, useBytes) : invalid regular expression '\' gives an error.

Re: [Rd] profiling C code

2006-02-22 Thread Torsten Hothorn
> > If you are running Linux, Torsten's suggestion of oprofile is a good one, > provided you have root access (it seems to need it). So I used in a root > terminal (running the same example in another window in the middle) > > % opcontrol --no-vmlinux > % opcontrol --start > run things ...

Re: [Rd] profiling C code

2006-02-20 Thread Torsten Hothorn
On Mon, 20 Feb 2006, Liaw, Andy wrote: > The last time I tried I didn't have much luck. The gprof manual I could > find seems to indicate that it can not profile code that are dynamically > loaded. (I was trying on Linux.) The R source seems to hint otherwise. > I'd very much appreciate pointe

Re: [Rd] S3 generics without NS and cleanEx()

2006-02-15 Thread Torsten Hothorn
arch path. To ensure that these methods are available the > packages defining the methods should ensure that the generics are > imported and register the methods using @code{S3method} directives. > > > Brian > > On Wed, 15 Feb 2006, Torsten Hothorn wrote: > >>

Re: [Rd] S3 generics without NS and cleanEx()

2006-02-15 Thread Torsten Hothorn
ed but not attached >> to the search path. To ensure that these methods are available the >> packages defining the methods should ensure that the generics are >> imported and register the methods using @code{S3method} directives. >> >> >> Brian >

[Rd] conflicting S4 generics

2006-02-15 Thread Torsten Hothorn
Good morning again, there is a second problem which keeps us from finishing new releases. Package `kernlab' defines a `fit' S4 generic and `modeltools' does as well (so this is kind of an internal communication problem). `party' and `kernlab' define methods for `fit' and export them in their n

[Rd] S3 generics without NS and cleanEx()

2006-02-15 Thread Torsten Hothorn
Good morning, we recently observed a problem with importing S3 generics from a foreign package (without namespace), defining a S3 method in a package _with_ namespace and the `cleanEx()' function which is automatically generated and executed before examples are run by R CMD check. To be more

[Rd] useR! 2006 - Submission Deadline 2006-02-28

2006-01-24 Thread Torsten Hothorn
tions of R. A web page offering more information on the `useR!' conference, abstract submission, registration and Vienna is available at http://www.R-project.org/useR-2006/ We will accept submissions until February 28, 2006. Let the contributions roll in! The organizing committee: Tor

[Rd] typo in `eurodist'

2005-12-07 Thread Torsten Hothorn
R> attributes(eurodist)$Labels[9] [1] "Gibralta" should be `Gibraltar'. Best, Torsten __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] useR! 2006: submission & registration started!

2005-11-09 Thread Torsten Hothorn
We are happy to inform you that the online abstract submission and registration for `useR! 2006' is now available online from http://www.R-project.org/useR-2006/ This second world meeting of the R user community will take place at the Wirtschaftsuniversitaet Wien, Vienna, Austria, June 15 to 17

Re: [Rd] mosaicplot() update and clarification

2005-11-08 Thread Torsten Hothorn
> > All, > > Again, my apologies for seeming to claim credit for > your other mosaic implementation. However, there are two > sources of this confusion, and I hope the following helps. > > 1. "my" implementation (e.g. the one originally written for > and included in S-Plus, then modified and impr

Re: [Rd] Classification Trees and basic Random Forest pkg using tree structures in C

2005-11-07 Thread Torsten Hothorn
On Fri, 4 Nov 2005, Liaw, Andy wrote: > > For some of the data we encounter, all X variables are binary, so each data > point can be encoded into a bitstring. There are algorithms that take > advantage of that. The problem is interfacing such code with R. I know of > no good solutions. As I to

[Rd] R news: Call for Papers

2005-09-12 Thread Torsten Hothorn
eRs. Please send submissions to Uwe Ligges <[EMAIL PROTECTED]>. The deadline for submissions is October, 8th, 2005 Keep the contributions rolling in! The Editorial Board, Doug Bates, Paul Murrell and Torsten Hothorn __ R-devel@r-project.

Re: [Rd] Buglet in src/appl/splines.c (PR#8030)

2005-07-25 Thread Torsten Hothorn
On Mon, 25 Jul 2005 [EMAIL PROTECTED] wrote: > > > "BeT" == Berwin A Turlach <[EMAIL PROTECTED]> > > on Sun, 24 Jul 2005 16:24:51 +0200 (CEST) writes: > > BeT> I was looking at "splinefun" and the underlying C code > BeT> and believe that there is a memory access error in the

Re: [Rd] .Rbuildignore {was: ... upgrading an R (WINDOWS) installation..}

2005-07-06 Thread Torsten Hothorn
> > > > No! {We have been here before, and I had explained before that} > > this is really undesired: ".Rbuildignore" should contain what is > > ignored by build, but not by "check". > > It does make sense to have extra code and / or checks for 'R CMD check' > > that I as package developer want