[R] can't load nlme on windoze 7
Mike Marchywka
marchywka at hotmail.com
Sun Nov 7 13:26:37 CET 2010
________________________________
> From: tal.galili at gmail.com
> Date: Sun, 7 Nov 2010 09:27:10 +0200
> Subject: Re: [R] can't load nlme on windoze 7
> To: marchywka at hotmail.com
> CC: r-help at r-project.org
>
> Hello Mika,
>
> Most of my problems with win7 where permission problems.
> You can check if that is the case, by setting R to ran with
> administrator privileges, and see if that solves the problem.
Yes, I have had problems like that but most of the other packages
appear to build and load ok although I haven't done many on this
machine yet. I checked the permissions strings and just did
chmod -R 777 * on library directory but no help. In any case,
someone should detect a permission problem and fail rather than
hang. The problem is that an attempt to load, either test load
during the install or a call to library(nlme) hangs forever.
The other link I cited finally sent the problem to the r-developers
list.
>
> Best,
> Tal
>
>
> ----------------Contact
> Details:-------------------------------------------------------
> Contact me: Tal.Galili at gmail.com |
> 972-52-7275845
> Read me: www.talgalili.com (Hebrew) |
> www.biostatistics.co.il (Hebrew) |
> www.r-statistics.com (English)
> ----------------------------------------------------------------------------------------------
>
>
>
>
> On Sun, Nov 7, 2010 at 3:39 AM, Mike Marchywka
> > wrote:
>
> Hi,
>
> I've got a problem that sounds a lot like this,
>
> http://r.789695.n4.nabble.com/Re-R-R-2-12-0-hangs-while-loading-RGtk2-on-FreeBSD-td3005929.html
>
> under windoze 7.
>
> but it seems to hang with this stack trace,
>
> #0 0x77830190 in ntdll!LdrFindResource_U ()
>
>
>
>
>
> building goes as follows,
>
> $ ./R CMD INSTALL --no-test-load nlme_3.1-97.tar.gz
> * installing to library 'C:/pfs/R/R-2.11.1/library'
> * installing *source* package 'nlme' ...
> ** libs
> making DLL ...
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> corStruct.c -
> o corStruct.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> gnls.c -o gnl
> s.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> init.c -o ini
> t.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> matrix.c -o m
> atrix.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> nlOptimizer.c
> -o nlOptimizer.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> nlme.c -o nlm
> e.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> nlmefit.c -o
> nlmefit.o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> nls.c -o nls.
> o
> gcc -I"C:/pfs/R/R-2.11.1/include" -O3 -Wall -std=gnu99 -c
> pdMat.c -o pd
> Mat.o
> gcc -shared -s -static-libgcc -o nlme.dll tmp.def corStruct.o gnls.o
> init.o matr
> ix.o nlOptimizer.o nlme.o nlmefit.o nls.o pdMat.o -LC:/pfs/R/R-2.11.1/bin -lR
> installing to C:/pfs/R/R-2.11.1/library/nlme/libs
> ... done
> ** R
> ** data
> ** moving datasets to lazyload DB
> ** inst
> ** preparing package for lazy loading
> ** help
> *** installing help indices
> ** building package indices ...
>
> * DONE (nlme)
>
>
> $ gcc --version
> gcc (GCC) 4.3.4 20090804 (release) 1
> Copyright (C) 2008 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
> $ gdb
> GNU gdb 6.8.0.20080328-cvs (cygwin-special)
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin".
> (gdb) target exec R.exe
> (gdb) run
> Starting program: /cygdrive/c/pfs/R/R-2.11.1/bin/R.exe
> [New thread 20844.0x5368]
> Error: dll starting at 0x77420000 not found.
> Error: dll starting at 0x769c0000 not found.
> Error: dll starting at 0x77420000 not found.
> Error: dll starting at 0x77540000 not found.
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> (no debugging symbols found)
> Error: dll starting at 0x4a0b0000 not found.
>
> R version 2.11.1 (2010-05-31)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > library(nlme)
> [New thread 20844.0x5154]
> [Switching to thread 20844.0x5154]
> Quit
> (gdb) bt
> #0 0x77830190 in ntdll!LdrFindResource_U ()
> (gdb)
>
>
>
>
>
>
> Mike Marchywka | V.P. Technology
>
> 415-264-8477
> marchywka at phluant.com
>
> Online Advertising and Analytics for Mobile
> http://www.phluant.com
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list