Displaying 20 results from an estimated 8000 matches similar to: "lme4 installation"
2010 Jul 06
1
lme4
Hi,
I was trying to install lme4 package, but got the following errors:
> install.packages("lme4")
Warning in install.packages("lme4") :
argument 'lib' is missing: using '/Users/xx/Library/R/2.11/library'
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘lme4’ is not available
The session info is:
> sessionInfo()
2010 Aug 10
0
problem installing "boot" package on Mac
Dear all,
I cannot seem to get "boot" running. Can anybody help? I've tried downloading and compiling the binary from <http://cran.r-project.org/web/packages/boot/index.html>, as well as the below. (Please see the scary-sounding error message, and the sessionInfo.) Neither works.
Any help would be much appreciated.
- Malcolm
> install.packages("boot",
2010 Sep 30
0
Problem comparing lme objects with anova using do.call
Hi all,
I am running some linear mixed models for longitudinal data using the nlme
package. Part of the code I've developed tests for differences among models
using the anova function, but I can't simply pass the corresponding lme
objects as parameters to the anova function because some of the models do
not converge and others are retained for comparison only if certain criteria
are met.
2011 Oct 04
0
matrix of chi-square results for all combinations of data frame
Hi everybody
I have a questionnaire with a lot of questions that allow for more than one
option to be chosen (like a tickbox in a html form). The data captured on a
mobile device and is supplied in a format where every option is a separate
variable (logical). I want to develop a generic function to process these
questions. As part of the analysis I want make a matrix of the p-value from
the
2010 Jul 01
0
Cholmod warning when fitting a poisson GLMM
Hi,
I am getting a warning message when I am fitting a generalized mixed model (mod_2) and I don't understand why because when I add just an interaction factor the model works perfectly (mod_1).
Does anyone know what it happpens ?
Thanks,
Aïda
> mod_1<-lmer(sur15~soeviv15_4plus+frviv15_4plus+frat_15death+dad_class_new+soeviv15_4plus:dad_class_new +frviv15_4plus:dad_class_new+
2010 Jun 08
2
duplicated() and unique() problems
Hi everybody
I have found something (for me at least) strange with duplicated(). I will
first provide a replicable example of a certain kind of behaviour that I
find odd and then give a sample of unexpected results from my own data. I
hope someone can help me understand this.
Consider the following
# this works as expected
ex=sample(1:20, replace=TRUE)
ex
duplicated(ex)
ex=sort(ex)
ex
2010 Sep 13
1
Problem with all.equal and POSIXt.
I'm getting an error when applying all.equal() to objects of
class POSIXt.
E.g.
x <- strptime(rep("2007-02-12",10),format="%Y-%m-%d")
all.equal(x,x)
Error in target[[i]] : subscript out of bounds
The object seems to have to be of double-digit length to trigger the
error. E.g.
all.equal(x[1:9],x[1:9])
returns TRUE.
I did a cursory search of the r-help pages and
2009 Jun 10
1
Unable to load package:lme4 [ Ubuntu 9.04 ]
Hi folks,
When I try to load package 'lme4' on my Linux box (64-bit Ubuntu
9.04), I get the following error:
-------------------------------------
> library(lme4)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
function 'cholmod_start' not provided by package 'Matrix'
Error: package/namespace load failed for 'lme4'
------------------------------------
I
2012 Aug 29
1
lme4 installation
Being rather inept at all things Linux, I paid a consultant
to fix some things on my computer,? Unforntately, good
help is hard to find.? Here's where I am:
?
...
Loading required package: Matrix
Loading required package: lattice
Error in dyn.load(file, DLLpath = DLLpath, ...) :
? function 'cholmod_l_start' not provided by package 'Matrix'
Error: package/namespace load failed
2011 Jan 20
2
circular reference lines in splom
Hello everyone,
I'm stumped. I'd like to create a scatterplot matrix with circular
reference lines. Here is an example in 2d:
library(ellipse)
set.seed(1)
dat <- matrix(rnorm(300), ncol = 3)
colnames(dat) <- c("X1", "X2", "X3")
dat <- as.data.frame(dat)
grps <- factor(rep(letters[1:4], 25))
panel.circ <- function(x, y, ...)
{
circ1
2011 Jun 27
0
cld object did not plot
Dear R list.,
I am running a script to get a compact letter display.
library(lme4)
library(multcomp)
library(gplots)
####### Mixed Effects Model #########
data <- read.table("AJmix.txt",header=TRUE, sep="\t")
attach(data)
y<-cbind(positive,negative)
treatment<-factor(treatment)
mouse<-factor(mouse)
data$obs<-1:nrow(data)
names(data)
detach(data)
attach(data)
2010 Nov 13
1
RMySQL on Windows 2008 64 Bit -Help!
Dear Group,
I'm having lots of problems getting RMySQL on a 64 bit machine. I followed
all instructions available but couldn't get it working yet! Please help.
See the output below.
I did a install of RMySQL binary from the revolution cran source. It seems
to have unpacked fine but gives this error when I call RMySQL
Error: package 'RMySQL' is not installed for 'arch=x64'
2017 Feb 22
0
[Lme4-authors] Crash in the latest release
Thanks, posted to https://github.com/lme4/lme4/issues/412 for further
discussion ...
On Wed, Feb 22, 2017 at 10:03 AM, Therneau, Terry M., Ph.D.
<therneau at mayo.edu> wrote:
> I found this by accident yesterday. The program that crashes is the first
> two lines of the example from the help page for nlmer. That example hasn't
> changed in a long time, so I assumed that it is
2010 Oct 05
3
reorder always returns "ordered"
Or at least is seems that way to me. It's not a big problem, but the
behavior doesn't match the documentation. (I think r-help is the
place to report this. )
> x <- factor(1:5)
> x.ro <- reorder(x, rnorm(5))
> is.ordered(x.ro) # should be FALSE according to ?reorder
[1] TRUE
>
> x.ro <- reorder(x, rnorm(5), ordered=FALSE)
> is.ordered(x.ro) # should be FALSE
2010 Jul 11
1
RSQLite install R x86_64 fail
Hi,
On a fresh install of R on mac os x 10.6.4 (snow leopard) RSQLite did not install while running biocLite()
$ R
R version 2.11.1 (2010-05-31)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
[...]
Loading required package: utils
BioC_mirror = http://www.bioconductor.org
Change using chooseBioCmirror().
[Previously saved workspace restored]
>
2010 Feb 25
1
error in lmLists in lme4 package (bug?)
Hello,
I am trying to use lmLists in the lme4 package and copying over very
standard code from the nlme package given in 'Mixed-Effects Models in S
and S-Plus'. It appears to not accept an 'I(age-11)' in the formula,
though it will accept the formula with out the subtraction of 11 from
age. This seems like it would be a bug, since this is standard formula
syntax, unless
2010 Jul 29
1
multiple graphics windows open with sessionInfo
Dear R People:
Hello again. I'm trying to have 3 graphics windows visible
simultaneously. I set up a zoo series.
Then I plot the original series. I use the locator function to select
2 values from the original series, which generates a subset of the
original series.
Next, I plot the subset.
The last step is to produce an EWMA chart from the subset series.
Fair enough. I've tried
2010 Sep 01
1
Looks like a bug in subsetting of a complicated object
I don't understand what is happening! I have a (large) object sim1, an
matrix list
with dim c(101,101) where each element is an 3*3 matrix. I am
subsetting that with
a matrix coo, of dim c(100,2), of unique indices, but the resulting object
has length 99, not 100 as expected.
Code reproducing the problem follows:
library(RandomFields)
set.seed(123)
sim0 <- GaussRF(x=seq(0, 100, by=1),
2011 Feb 22
2
Plotting a functional time series
Hello,
I'm willing to plot a sequence of densities on a 3d graph, something like
-----------------------------------------------------------------
x <- sapply(1:10, function(i)rnorm(1000))
f <- sapply(1:10, function(i)density(x[,i], from=-5,to=5)$y)
grid <- density(x[,1], from=-5,to=5)$x
win.graph()
persp(grid1, 1:10, f,theta=-50, phi=30, d=2)
2010 Oct 02
1
Memory allocation in 64 bit R
Hi Everyone,
I am getting the following error message
Error: cannot allocate vector of size 2.6 Gb
In addition: Warning messages:
1: In dim(res$res) = dim(bi) :
Reached total allocation of 8122Mb: see help(memory.size)
2: In dim(res$res) = dim(bi) :
Reached total allocation of 8122Mb: see help(memory.size)
3: In dim(res$res) = dim(bi) :
Reached total allocation of 8122Mb: see