Displaying 2 results from an estimated 2 matches for "lenr".
Did you mean:
len
2004 Feb 03
1
Error in f(x, ...) : subscript out of bounds
...lt;- 0:nn
wd <- exp((theta[3] * d + theta[4] * d^2))/(sum(exp(theta[3] *
d + theta[4] * d^2)))
sigsq <- numeric(length(gsvR$ret))
x <- numeric(length(gsvR$ret)
# Below this line can be specified differently
x[1] <- 1
lenR <- length(gsvR$ret)
for (i in 1:(lenR-1)) {
x[i+1] <- sum(gsvR$rw[1:i]) + 1
rsq <- (gsvr$ret[(x[i]):(nn+x[i])])^2
sigsq[i] <- 22 * sum(wd * rsq)
}
if((nn+x[lenR]) < length(gsvr$ret)) rsq...
2013 Feb 21
8
Facter & Puppet disagree on RHEL 6?
I''ve run into an odd one on one of my new RHEL 6 boxes. Puppet and Facter
seem to disagree about the value of a fact.
Puppet version: 2.7.9
Facter version: 1.6.4
Module: puppetlabs-apache
apache::params falls through its if structure:
if $::osfamily == ''redhat'' or $::operatingsystem == ''amazon'' {
...
} elsif $::osfamily ==