On Nov 4, 2013, at 9:52 AM, Nicolas Gutierrez wrote: > Hi All, > > I'm trying to run an ADMB function on R for Mac and need to find a substitute > for the Windows command shell(). I tried system() but I get the following > message: > >> system(ADMBFile) > /bin/sh: /Users/nicolas/Desktop/SPE/LBSPR_ADMB/L_AFun.exe: cannot execute > binary file > > Any hints please? >
Generally one would enclose system commands in quotes. Is ADMBFile a character object? If so what is its value? -- David Winsemius Alameda, CA, USA ______________________________________________ R-help@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.