Re: [Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-11-06 Thread Tyler
on page 40 confirms this): when there is a missing marginal term in the formula, the higher-order interaction should be coded by dummy variables, regardless of type. Thus, the terms() function is only following the cited behavior 1/3rd of the time. Best regards, Tyler On Mon, Nov 6, 2017 at 6:

Re: [Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-11-04 Thread Tyler
ather than categorical." Since F_j refers to both categorical and numeric variables, the behavior of model.matrix is not consistent with the heuristic. Best regards, Tyler On Sat, Nov 4, 2017 at 6:50 AM, Arie ten Cate wrote: > Hello Tyler, > > I rephrase my previous mail, as follows: > >

Re: [Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-11-02 Thread Tyler
ric rather than categorical." Factor here is used in the more general sense of the word, not referring to the R type "factor." The behavior of R does not match the heuristic that it's citing. Best regards, Tyler On Thu, Nov 2, 2017 at 2:51 AM, Arie ten Cate wrote: > Hello Tyler

Re: [Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-10-31 Thread Tyler
tion] has not [appeared in the formula]"). However, the example I gave demonstrated that this dummy variable encoding only occurs for the model where the missing term is the numeric-numeric interaction, "~(X1+X2+X3)^3-X1:X2". Otherwise, the interaction term X1:X2:X3 is encoded by con

Re: [Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-10-15 Thread Tyler
1 0 0 -1 0 5 1 0 1 0 0 1 6 1 0 1 0 0 -1 > solve(t(mm) %*% mm) Error in solve.default(t(mm) %*% mm) : system is computationally singular: reciprocal condition number = 5.55112e-18 I still believe this is a bug. Best regards, Tyl

[Rd] Bug in model.matrix.default for higher-order interaction encoding when specific model terms are missing

2017-10-12 Thread Tyler
X3 column would also be two columns regardless of what two-factor interactions we also specified, but in this case it switches to three. If other two factor interactions are missing in addition to X1:X2, this issue still occurs. This also happens regardless of th

[Rd] Issues with installing RBGL package

2013-02-23 Thread jason tyler
Hi all, I was installing a package *RBGL* of bioconductor. However, I had some issues while installing it. I asked the devel group of bioconductor and they told me to consult this group. Here is my conversation with the bioconductor group related to the problem *Me->* I was trying to install the

[Rd] Ghost RefClasses

2012-05-16 Thread Tyler Pirtle
methods = list( + addSome = function(){ + a <<- a+3 + a + })) + } > j <- boot2() > s <- j$new(a=1) > s$addSome() [1] 2 I'd expect the last call to addSome to be 4, not 2. Thanks, Tyler [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] unserialize and eager execution

2011-12-05 Thread Tyler Pirtle
On Mon, Dec 5, 2011 at 10:41 PM, Prof Brian Ripley wrote: > Take a look at the information on serialization in 'R Internals'. AFAICS > this is no different from what can happen when loading a saved workspace. > > I'll give that a look, thanks. > > On 06/

[Rd] unserialize and eager execution

2011-12-05 Thread Tyler Pirtle
e()) ? Thanks, Tyler [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Including multiple third party libraries in an extension

2011-11-13 Thread Tyler Pirtle
On Sun, Nov 13, 2011 at 6:25 PM, Simon Urbanek wrote: > > On Nov 13, 2011, at 6:48 PM, Tyler Pirtle wrote: > > > > > > > On Sun, Nov 13, 2011 at 7:27 AM, Uwe Ligges < > lig...@statistik.tu-dortmund.de> wrote: > > > > > > On 13.11.2011 05:22, T

Re: [Rd] Including multiple third party libraries in an extension

2011-11-13 Thread Tyler Pirtle
On Sun, Nov 13, 2011 at 7:27 AM, Uwe Ligges wrote: > > > On 13.11.2011 05:22, Tyler Pirtle wrote: > >> On Sat, Nov 12, 2011 at 8:08 PM, Tyler Pirtle wrote: >> >> Thanks Simon, a few replies... >>> >>> On Sat, Nov 12, 2011 at 6:14 AM, Simon

Re: [Rd] Including multiple third party libraries in an extension

2011-11-12 Thread Tyler Pirtle
On Sat, Nov 12, 2011 at 8:08 PM, Tyler Pirtle wrote: > Thanks Simon, a few replies... > > On Sat, Nov 12, 2011 at 6:14 AM, Simon Urbanek < > simon.urba...@r-project.org> wrote: > >> Tyler, >> >> On Nov 11, 2011, at 7:55 PM, Tyler Pirtle wrote: >&

Re: [Rd] Including multiple third party libraries in an extension

2011-11-12 Thread Tyler Pirtle
Thanks Simon, a few replies... On Sat, Nov 12, 2011 at 6:14 AM, Simon Urbanek wrote: > Tyler, > > On Nov 11, 2011, at 7:55 PM, Tyler Pirtle wrote: > > > Hi, > > > > I've got a C extension structured roughly like: > > > > package/ > &g

[Rd] Including multiple third party libraries in an extension

2011-11-12 Thread Tyler Pirtle
ulting .so? Or, are there better ways to bundle extension-specific third party dependencies? ;) I'd rather not have my users have to install obscure libraries globally on their systems. Thanks! Tyler [[alternative HTML version deleted]] ___

[Rd] GetRNGstate and PutRNGstate

2008-07-03 Thread tyler
detect if every call to the helper function was returning the same result. Thanks, Tyler -- __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] naive question regarding running parallel C code from R

2008-04-19 Thread tyler
m there. > > Hope this helps, Dirk > Very much! Thanks Dirk and Simon - I've got snow and rmpi installed and I'll start from there. Cheers, Tyler -- There is something fascinating about science. One gets such wholesale returns of conjecture out of such a trifling inves

[Rd] naive question regarding running parallel C code from R

2008-04-18 Thread tyler
R is thread-safe if the actual simulation is being computed in separate, shared C code? I'm running my current, sequential code, on a cluster that supports both OpenMP and MPI, should I figure out how to use it. Thanks for your patience, Tyler -- Don't learn

Re: [Rd] dyn.load in linux: missing libraries?

2005-07-06 Thread Tyler Smith
ah, that's better. For an immediate fix I just changed .dll to .so, and it appears to work perfectly. I will read through Writing R Extensions to make sure I understand what I'm doing! Thanks! Tyler Peter Dalgaard wrote: >Tyler Smith <[EMAIL PROTECTED]> writes: > >

[Rd] dyn.load in linux: missing libraries?

2005-07-05 Thread Tyler Smith
n able to compile it using R CMD SHLIB, but when I try to dyn.load it I get the following error: > dyn.load("Cfiles/Neutral/Bell2000.dll") Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/home/tyler/RWorkingDirectory/Cfiles/Neutral/