search for: mgcv

Displaying 20 results from an estimated 721 matches for "mgcv".

Did you mean: mgcp
2012 Jul 24
1
questions on R CMD INSTALL et al
Greetings, I am learning R My machine has these; CPU: 3cores amd64 OS pure-64bit CBLFS liux compiled from sources (kernel 3.2.1, gcc-4.6.2 R-2.15 When I compiled R the compiler spewed out lines like these:- make[3]: Entering directory `/tmp/RtmpiHdDJy/R.INSTALL472339eeb23a/mgcv/src' gcc -m64 -std=gnu99 -I/home/Rman/R-2.15.0/include -DNDEBUG - I/usr/local/atlas/include -I/usr/local/numerics/include -fpic -g -O2 -c gcv.c -o gcv.o gcc -m64 -std=gnu99 -I/home/Rman/R-2.15.0/include -DNDEBUG - I/usr/local/atlas/include -I/usr/local/numerics/include -fpic -g -O...
2005 Mar 14
2
Problem updating mgcv package
Hi All: I tried to update the package mgcv from my current version 1.1-8 to mgcv version 1.2. Using the command update.packages("mgcv") to update mgcv failed in my computer and the returning message was: "Error in old.packages(lib.loc=lib.loc, contriburl=contriburl, method=method, :no installed.packages for (?invalid) lib.lo...
2010 Feb 04
3
mgcv problem
Dear friends, I have install the last version 2.10 and now I have probles with 'mgcv' which can be load. I proved to eliminated and reinstalled but always obtain the same message: > library (mgcv) This is mgcv 1.6-1. For overview type `help("mgcv-package")'. Error in runif(1) : .Random.seed is not an integer vector but of type 'list' Error : .onAttac...
2006 Sep 19
2
mgcv in R-2.4.0.alpha
Hola! I am sending this to the list since emails from me to Simon Wood has bounced earlier. I get: > library(tsDyn) Loading required package: mgcv Erro en `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct Error: package 'mgcv' could not be loaded > library(mgcv) Erro en `parent.env<-`(`*tmp*`, value = NULL) : use of NULL environment is defunct Error: package/namespace load failed for &...
2012 Aug 14
1
problem installing mgcv
Hi all, I am running into a problem installing a package. I am using a Mac with OSX 10.5.8 I have been using mgcv for gam models, it has been working fine. The mgcv listed in my directory of R packages (Package Manager) does not load up and I receive the following: Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/libr...
2011 Dec 16
1
mgcv 1.7-12 crashes R
Dear community, I encountered a very disturbing phenomenon today: When I try to fit any gam() with mgcv R aborts. I could not find any post regarding this in google, which mades in even more strange. I am using the latest Ubuntu, latest R and latest mgcv everything up to date. The crash occured too with the last mgcv 1.7-11. This is the output from the R shell: <pre> R version 2.14.0 (2011-...
2008 Dec 09
1
update.packages() for R 2.7.1: mgcv fails
...bian/stable to R 2.7.1 via apt-get install r-base r-base-core r-base-dev, and then began to update.packages() > update.packages(lib.loc="/usr/local/lib/R/site-library") > update.packages(lib.loc="/usr/lib/R/library") but I get: .... * Installing *source* package 'mgcv' ... ** libs gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c gcv.c -o gcv.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c gdi.c -o gdi.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O2 -c init.c -o init.o gcc -std=gnu99 -I/usr/share/R/include -fpic -g -O...
2003 Sep 30
2
cluster & mgcv update
Hello, After reinstalling the whole OS and R as well, I tried to update.packages() and get the follwing error message: concerning the mgcv update: atlas2-base is installed and blas as well (on debian). I haven't found lf77blas, I assume it's a library or something similar associated with blas. any suggestion how to solve that, thanks Martin * Installing *source* package 'cluster' ... ** libs gcc -I/usr/lib/R/inclu...
2011 Aug 26
1
methods() not listing some S3 plot methods...?
...elated to this email thread initiated by Ben Bolker last month: https://stat.ethz.ch/pipermail/r-devel/2011-July/061630.html In answering this Question on StackOverflow http://stackoverflow.com/q/7195628/429846 I noticed that `methods()` was not listing some S3 methods for `plot()` provided by the mgcv package. At the time I wanted to check the development version of R as I recalled Uwe mentioning that `plot.function` was listed by `methods()` there but not in R2.13.x. I have now compiled the development version on two Fedora installations and certain plot methods are still not being listed. Deta...
2009 Oct 28
4
unable to compile mgcv
...pile R-2.9.2 on IBM Power5 machine with AIX 5.3. I have posted three previous posts. Over time I have made significant progress towards getting a successful build. I am now getting the following error: ========================================================== begin installing recommended package mgcv * Installing *source* package 'mgcv' ... ** libs gmake[2]: Entering directory `/tmp/RtmpOtsRnd/R.INSTALL2781446b/mgcv/src' gcc -maix64 -pthread -std=gnu99 -I/usr/local/builddir/include -I/usr/local/include -O2 -g -mcpu=power5 -c gcv.c -o gcv.o gcc -maix64 -pthread -std=gnu99 -I/us...
2009 Feb 13
2
loading mgcv package
Hi ,When I try to load the 'mgcv" package, often, but not always, get this error message. What am I doing wrong? __________________ This is mgcv 1.4-1.1 Error in runif(1) : .Random.seed is not an integer vector but of type 'list' Error : .onAttach failed in 'attachNamespace' Error: package/namespace load fai...
2012 Jan 16
2
Object not found using GAMs in MGCV Package
...ot; "Channel" "Profile" "Bathy" "Slope" "Salinity" X is longitude and Y is Latitude. I typed in the code below and received the reply "Error in eval(expr, envir, enclos) : object 'Atlantic' not found". > library(mgcv) This is mgcv 1.7-6. For overview type 'help("mgcv-package")'. > help("mgcv-package") starting httpd help server ... done > gam(Atlantic ~ s(depth, bs="sos", k=4) + s(distance, bs="sos", k=4)) Error in eval(expr, envir, enclos) : object 'Atl...
2010 Jun 27
1
mgcv out of memory
Hello, I am trying to update the mgcv package on my Linux box and I keep getting an "Out of memory!" error. Does anyone know of a fix for this? Below is a snippet of the message that I keep getting: Thank you. Geoff ** R ** inst ** preparing package for lazy loading ** help *** installing help indices >>> Buildi...
2011 May 25
1
[Fwd: Re: the mgcv package can not be loaded]
...l packages menu. I always write library(name.of.library), and it is enough. But when I write library(nlme), R does not find nlme right away I load nlme first and it says package was downloaded succesfully. However, when I try to do this again in another day, R cannot find nlme, so I try to load mgcv with library(mgcv), then I get this message: Error: package 'nlme' could not be loaded In addition: Warning message: In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) : there is no package called 'nlme' Is there any problem with nlme that I need...
2002 Sep 10
2
Hat values for generalized additive models
...ardisation of the residuals for resampling requires an adjustment using the diagonals of the hat matrix. Is there a simple way to get the hat values out of a GAM object? Looking through the code, I couldn't see anywhere where the hat matrix is constructed. I tried the appended patch (against mgcv_0.8-1.tar.gz). This returns sensible hat values for normal errors, however the hat values using Poisson data don't look as good: require(mgcv) x=seq(0,1,length=1001) mu=x y=rnorm(1001,mu) plot(gam(y~s(x))$hat,hat(glm(y~x)$qr)) y=rpois(1001,exp(mu)) plot(gam(y~s(x),family=poisson)$hat,hat(glm...
2012 Feb 26
0
mgcv stopped working mid-session
...scatter3d routinely to work similar data sets. However, when I tried to use scatter3d to work with this new data set I get the following message... Error in dyn.load(file, DLLpath = DLLpath, ...) : ? unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/mgcv/libs/i386/mgcv.so': ? dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/mgcv/libs/i386/mgcv.so, 6): Library not loaded: @rpath/R.framework/Versions/2.13/Resources/lib/libRlapack.dylib ? Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/mgcv/li...
2005 Sep 26
4
p-level in packages mgcv and gam
Hi, I am fairly new to GAM and started using package mgcv. I like the fact that optimal smoothing is automatically used (i.e. df are not determined a priori but calculated by the gam procedure). But the mgcv manual warns that p-level for the smooth can be underestimated when df are estimated by the model. Most of the time my p-levels are so small...
2010 Feb 04
1
mgcv problem to load
Dear friends, I cannot load the pachkages labdsv...which i do not understand is linked to 'mgcv' package. Anyway neither the last is loadable in my new R 2.10 version. Th emessage on the screen is the following: This is mgcv 1.6-1. For overview type `help("mgcv-package")'. Error in runif(1) : .Random.seed is not an integer vector but of type 'list' Error : .onAtt...
2012 Jun 02
2
mgcv (bam) very large standard error difference between versions 1.7-11 and 1.7-17, bug?
Dear useRs, I reran an analysis with bam (mgcv, version 1.7-17) originally conducted using an older version of bam (mgcv, version 1.7-11) and this resulted in the same estimates, but much lower standard errors (in some cases 20 times as low) and lower p-values. This obviously results in a larger set of significant predictors. Is this result exp...
2003 Nov 25
1
Something broken with update?
Updating my 1.8.0 R installation (>update.packages() ) I obtain the following (SORRY FOR THE LENGTH OF THE LOG BUT IT HELPS!!!): ................ downloaded 135Kb KernSmooth : Version 2.22-11 in /usr/lib/R/library Version 2.22-12 on CRAN Update (y/N)? y mgcv : Version 0.9-3.1 in /usr/lib/R/library Version 0.9-6 on CRAN Update (y/N)? y trying URL `http://cran.r-project.org/src/contrib/KernSmooth_2.22-12.tar.gz' Content type `application/x-tar' length 24752 bytes opened URL .......... .......... .... downloaded 24Kb trying URL `http://cran.r...