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
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
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
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
> 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
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
line 17 has `intepretation', should read `interpretation'
Torsten
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
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
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.
>
> 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 ...
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
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:
>
>>
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
>
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
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
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
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
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
>
> 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
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
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.
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
> >
> > 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
23 matches
Mail list logo