[R-sig-ME] glmmADMB troubles
Ross Boylan
ross at biostat.ucsf.edu
Mon Mar 4 01:47:56 CET 2013
On Sat, 2013-03-02 at 18:04 -0500, Ben Bolker wrote:
>
> >> r <- glmmadmb(sexActs~(1|id), sexpartner[!is.na(sexpartner
> $sexActs),],
> >> debug=TRUE)
> > platform: windows 32
> > executable name: glmmadmb.exe
> > bin_loc:
> >
> c:/Users/rdboylan/Documents/R/R-2.15.2/site-library/glmmADMB/bin/windows32/glmmadmb.exe
> >
> > using temp directory
> > C:\Users\rdboylan\AppData\Local\Temp\Rtmpy2JsMY\glmmADMB17085c19f4d
> > creating temp directory
> > changed working directory to
> > C:/Users/rdboylan/AppData/Local/Temp/Rtmpy2JsMY/glmmADMB17085c19f4d
> > Command line:
> >
> "c:/Users/rdboylan/Documents/R/R-2.15.2/site-library/glmmADMB/bin/windows32/glmmadmb.exe"
> > -maxfn 500 -maxph 5 -noinit -shess
> > Error in system(cmd, intern = intern, wait = wait | intern,
> > show.output.on.console = wait, :
> > 'C:/Program' not found
>
> I'm a little bit baffled here. What happens if you use save.dir to
> save the input files to a temporary directory and run
I'll try when I'm at the machine (later in the week).
>
> "c:/Users/rdboylan/Documents/R/R-2.15.2/site-library/glmmADMB/bin/windows32/glmmadmb.exe"
> -maxfn 500 -maxph 5 -noinit -shess
>
> from the command line?
>
> What is the result of .Platform (and .Platform$OS in particular)
>
> It looks conceivably like R is misdiagnosing your system as *not*
> being
> windows, as that's the only way system() should be running. Are you
> running under Cygwin (you say it's installed below) ... ?
I am not running under cygwin, at least not knowingly.
I may have set up emacs to try to use cygwin; maybe that leaked into R
running under ESS. My emacs is the Windows version.
I took the "C:/Program" reference to mean that it was trying to execute
"C:/Program Files/...." but couldn't deal with the space. If it's
trying to execute glmmadb.exe then the problem is that it has looked up
a system path while the program (R and packages) is installed at the
user level.
Ross
>
More information about the R-sig-mixed-models
mailing list