Displaying 20 results from an estimated 300 matches similar to: "R crashes with 'nlme' and corStruct"
2005 May 17
0
problem with gls : combining weights and correlation structure
Dear R-users,
I hope you will have time to read me and I will try to be brief. I am also
sorry for my poor english.
I used gls function from the package nlme to correct two types of bias in my
database. At first, because my replicates are spatially aggregated, I would
like to fit a corStruct function like corLin, corSpher, corRatio, corExp or
corGaus in my gls model, and simultaneously,
2007 Sep 03
0
buglet?? in nlme:::corRatio documentation
[hoping to redeem myself for my last spurious bug report]
From ?corRatio:
Letting d denote the range and n denote the nugget effect, the
correlation between two observations a distance r apart is
(r/d)^2/(1+(r/d)^2) when no nugget effect is present and
(1-n)*(r/d)^2/(1+(r/d)^2) when a nugget effect is assumed.
This disagrees with the C code (corStruct.c)
/* Rational class
2006 Feb 06
1
question about corStruct
dear list,
I am wondering if one can find examples and/or more detailed
descriptions of modifications needed when going beyond standard
corStruct classes (i.e. those already provided for use in lme/nlme)?
When I looked at pages 238-239 of Pinheiro/Bates (2000): Mixed-effects
models in S and S-plus, I found that I would need a bit more explicit
guidance what to do for implementing a new
2013 Jan 22
0
ordering in 'gnls' with 'corCompSymm' corStruct
Dear R-devel members,
While writing a new correlation structure similar to 'corCompSymm' and
intended to be used with 'gnls', I got puzzled with the 'Initialize' method.
Using 'Initialize' before 'gnls' may be regarded as a mean to set an
initial value for the corStruct parameter. However 'gnls' does not work
properly with a
2006 Jun 06
1
spatial corStruct in lme
Hi,
I'm fitting a relatively simple growth model to some forest plot data. Two
species of trees were planted in different mixtures in 10 (nearly-adjacent)
plots and measured on four occasions over 10 years. The model is
constructed in terms of the diameter increments (per year; DI) in the 3
intervals, in which DI is modelled as a function of mid-interval D and DSQ.
The details of the
2020 Apr 07
0
Hard memory limit of 16GB under Windows?
Hi Samuel,
please also have a look at ?memory.limit. You can set this limit at R
startup. It is in megabytes. Maybe R Studio sets it at runtime.
Best
Tomas
On 4/7/20 3:57 PM, Samuel Granjeaud IR/Inserm wrote:
> Hi Tomas,
>
> Many thanks for your answer.
>
> Here is a copy of a fresh session under RStudio, and after a copy
> under Rgui.
> Strangely enough the result of
2020 Apr 07
0
Hard memory limit of 16GB under Windows?
Dear Samuel,
The most important information from your mail was the actual error message:
"cannot allocate vector of size 12.6 Gb".
You'll need to know what code generated this error message. And then figure
out if the code does something sensible. Often that is not the case when
you get a similar error message.
Best regards,
ir. Thierry Onkelinx
Statisticus / Statistician
2007 Oct 04
1
Problem with .libPaths & Rterm.exe (under Vista)
Dear list,
I?m using R embedded in another program (coded in tcl/tk) under Windows
Vista. In this context I don?t launch Rgui.exe but rather Rtem.exe.
Now I have a problem finding libraries not specifically installed as
administrator (and which are not in the path ?program files? but in
Contacts\Documents of the current user). To be precise, the user
launching my tcl/tk program can?t find
2020 Apr 07
1
Hard memory limit of 16GB under Windows?
Agreed. I don't see any evidence of a "hard limit" here. It just looks
like the code you're running has exhausted the memory of your machine.
It doesn't require creating a lot of 12.6 Gb vectors to do that, even on
a machine with a lot of memory ;-)
H.
On 4/7/20 08:05, Thierry Onkelinx via R-devel wrote:
> Dear Samuel,
>
> The most important information from
2008 Sep 19
1
readRegistry function (PR#12937)
Full_Name: Zivan Karaman
Version: 2.7.2
OS: Windows XP
Submission from: (NULL) (195.6.68.214)
I'm puzzled by the readRegistry function.
Shouldn't the "hive" argument be something like
c("HLM", "HCR", "HCU", "HU", "HCC", "HPD") rather than
c("HLM", "HCR", "HCU", "HU",
2009 Sep 24
1
how to make a function recognize the name of an object/vector given as argument
Dear guRus,
I'd like to learn how to make a function recognize the name of an
object/vector given as argument
If I have :
testFun <- function(x,y) plot(x,y, main=paste("plot
of",names(x),"and",names(y)) ) # this just a simple example ...
a1 <- 5:8
b1 <- 9:6
testFun(a1,b1)
# Returns the plot, but not the names of the objects/vectors given as
arguments,
# but
2010 Oct 18
1
R 2.12.0 for Windows: error when loading (some) packages
Dear all,
I have installed the latest version of R 2.12.0 available on CRAN
(http://cran.r-project.org). When I try to load the recommended
package lattice:
> library(lattice)
Error: package 'lattice' is not installed for 'arch=i386'
I am running Rgui using
C:\R\R-2.12.0\bin\i386\Rgui.exe --vanilla
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform:
2012 Jun 01
1
Error: package 'myLib' is not installed for 'arch=i386'
Hello,
I 'd like to use some functions in myLib. So I do:
library(myLib)
Then I get this message:
Error: package 'myLib' is not installed for 'arch=i386'
> sessionInfo()
R version 2.13.2 (2011-09-30)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252
LC_MONETARY=French_France.1252 LC_NUMERIC=C
2010 Nov 07
1
Sweave: option keep.source=TRUE and package cacheSweave
Dear all,
When I use the cacheSweave package together with the Sweave option
keep.source = TRUE, all the LaTeX code before the Sweave code chunk is
included in the TeX file to be compiled. For example, with the
following Sweave file
\documentclass[12pt]{article}
\usepackage[nogin]{Sweave}
% Sweave options
\SweaveOpts{keep.source=TRUE, strip.white=TRUE, eps=FALSE, pdf=TRUE}
\begin{document}
2020 Apr 07
4
Hard memory limit of 16GB under Windows?
Hi Tomas,
Many thanks for your answer.
Here is a copy of a fresh session under RStudio, and after a copy under
Rgui.
Strangely enough the result of memory.limit() is not the same. Without
your question I would not have looked to RGui, being used to work with
RStudio.
The value under RGui sounds to correspond to the total RAM of the
computer. It makes me noticing that the value is in MB.
2009 Mar 10
1
require() is not giving TRUE / FALSE statements ?
Dear list,
?require says :
"... |require| is designed for use inside other functions; it returns
|FALSE| and gives a warning (rather than an error as |library()| does by
default) if the package does not exist ..."
However when I run the following code I don't get any TRUE / FALSE
statements (but the warning only).
Since I want to test from inside of a function if a given package
2009 Feb 20
1
NOT an R problem: cannot install packages from distant repository
I met today a computer crash and our maintenance officer had to reinstall
some components of the OS (MS Windows XP Pro) as well as the Internet
browser (among other things). Now, I cannot install packages from a distant
repository:
> utils:::menuInstallPkgs()
Error in .readRDS(pfile) : unknown input format
> traceback()
5: .readRDS(pfile)
4: .packages(all.available = TRUE)
3:
2011 Aug 02
2
Memory limit in Aggregate()
Dear all,
I am trying to aggregate a table (divided in two lists here), but get a
memory error.
Here is the code I'm running :
sessionInfo()
print(paste("memory.limit() ", memory.limit()))
print(paste("memory.size() ", memory.size()))
print(paste("memory.size(TRUE) ", memory.size(TRUE)))
print(paste("size listX ", object.size(listX)))
2006 Jul 18
2
Using corStruct in nlme
I am having trouble fitting correlation structures within nlme. I would like to
fit corCAR1, corGaus and corExp correlation structures to my data. I either
get the error "step halving reduced below minimum in pnls step" or
alternatively R crashes.
My dataset is similar to the CO2 example in the nlme package. The one major
difference is that in my case the 'conc' steps are
2010 Oct 03
1
Encoding problem in Rd file
Dear all,
I have a problem with an Rd file containing French accentuated
characters. I have uploaded the file at
http://filex.cirad.fr/get?k=cjW7lImMaNC6Ci2vX0H
I have declared
Encoding: latin1
in the package DESCRIPTION file
and I have added
\encoding{latin1}
in the header of the Rd file.
When I compile the package manual, I have LaTeX errors:
! Package inputenc Error: Unicode char \u8:?F