[R] can't load nlme on windoze 7
Mike Marchywka
marchywka at hotmail.com
Sun Nov 7 16:31:04 CET 2010
----------------------------------------
> Date: Sun, 7 Nov 2010 16:19:16 +0100
> From: ligges at statistik.tu-dortmund.de
> To: marchywka at hotmail.com
> CC: tal.galili at gmail.com; r-help at r-project.org
> Subject: Re: [R] can't load nlme on windoze 7
>
> I wonder why cygwin is mentioned here.
Yeah, that was my first question but once I get tied up in these
things I get confused easily and need input :) I haven't used
R in quite a while and this is my first exposure to the 64 bit OS and
all the "stuff" to consider about build issues. There could be a cygwin
R build, I dunno.
> and does not run under cygwin. cygwin1.dll should not be required
> anywhere. The cygwin platform is not supported.
I have reported even
more bizarre results on the cygwin list from time to time on this machine...
The library(nlme) call AFAIK is hanging in a 'dohs 7 stack trace with
no obvious use of cygwin. In fact, if I run cygcheck to find dll
list it returns this without obvious cygwin need. I did find some notes about
system32 and WOW64 redirects, not sure if there is anything relevant in that
mess but I was hoping to avoid this. Maybe I should just try a reinstall.
$ cygcheck ../R.exe
C:\pfs\R\R-2.11.1\bin\junk\..\R.exe
l
l
-0.dl
ll
1-1-0.dll
1-0.dll
>
> Best,
> Uwe Ligges
>
>
>
> On 07.11.2010 14:37, Mike Marchywka wrote:
> >
> >
> > On further investgiation, I clicked on the "R" picture using
> > windoze explorer and ran as admin. First, I got a prompt saying
> > it could not find cygwin1.dll. I changed env variables to add cygwin
> > to path and now it just silently hangs.
> >
> >
> > If I ask for more details and run R --verbose in gdb and then ctrl-C,
> > it seems to end up with these thread,
> >
> > #0 0x76a76a6f in NlsUpdateSystemLocale ()
> >
> >
> > #1 0x55c3e074 in ?? ()
> >
> >
> > I get stuff like this,
> > $ 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
> > (gdb) run --verbose
> > Starting program: /cygdrive/c/pfs/R/R-2.11.1/bin/R --verbose
> > [New thread 42148.0xa088]
> > 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 0x4a290000 not found.
> > now dyn.load("C:/pfs/R/R-2.11.1/library/methods/libs/methods.dll") ...
> >
> > 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.
> >
> > [Previously saved workspace restored]
> >
> > now dyn.load("C:/pfs/R/R-2.11.1/library/grDevices/libs/grDevices.dll") ...
> > Garbage collection 1 = 0+0+1 (level 2) ...
> > 2.8 Mbytes of cons cells used (29%)
> > 0.6 Mbytes of vectors used (8%)
> > now dyn.load("C:/pfs/R/R-2.11.1/library/stats/libs/stats.dll") ...
> > Garbage collection 2 = 1+0+1 (level 0) ...
> > 3.3 Mbytes of cons cells used (34%)
> > 0.7 Mbytes of vectors used (10%)
> > >R_ReplConsole(): before "for(;;)" {main.c}
> >> library(nlme)
> > now dyn.load("C:/pfs/R/R-2.11.1/library/grid/libs/grid.dll") ...
> > Garbage collection 3 = 2+0+1 (level 0) ...
> > 3.7 Mbytes of cons cells used (39%)
> > 0.8 Mbytes of vectors used (12%)
> > now dyn.load("C:/pfs/R/R-2.11.1/library/lattice/libs/lattice.dll") ...
> > Garbage collection 4 = 3+0+1 (level 0) ...
> > 4.1 Mbytes of cons cells used (44%)
> > 0.8 Mbytes of vectors used (13%)
> > now dyn.load("C:/pfs/R/R-2.11.1/library/nlme/libs/nlme.dll") ...
> > [New thread 42148.0x3f6c]
> >
> > Program received signal SIGINT, Interrupt.
> > [Switching to thread 42148.0x3f6c]
> > 0x76a76a6f in NlsUpdateSystemLocale (Quit
> > (gdb) bt
> > #0 0x76a76a6f in NlsUpdateSystemLocale ()
> > #1 0x55c3e074 in ?? ()
> > (gdb)
> >
> >
> >
> >> From: marchywka at hotmail.com
> >> To: tal.galili at gmail.com
> >> Date: Sun, 7 Nov 2010 07:26:37 -0500
> >> CC: r-help at r-project.org
> >> Subject: Re: [R] can't load nlme on windoze 7
> >>> 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
> >
> >
> > ______________________________________________
> > 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