Skip to content
Back to formatted view

Raw Message

Message-ID: <96539262-82DE-4551-9E69-A67672B76C67@comcast.net>
Date: 2013-11-04T18:49:28Z
From: David Winsemius
Subject: alternative for shell() in Mac
In-Reply-To: <AF61DB59-903C-42CF-AE14-4856F612AA89@msc.org>

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