<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=027075712-31052010><FONT color=#0000ff
size=2 face=Arial>I can try to duplicate it. I have been using R and ADMB
executables for a while without problems but calling the executable from a
batch file.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=027075712-31052010><FONT color=#0000ff
size=2 face=Arial>Cheers</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT
size=2>____________________________________________________________________________________<BR><BR>Dr.
Rubén Roa-Ureta<BR>AZTI - Tecnalia / Marine Research Unit<BR>Txatxarramendi
Ugartea z/g<BR>48395 Sukarrieta (Bizkaia)<BR>SPAIN<BR><BR></FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV dir=ltr lang=es class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De:</B> users-bounces@admb-project.org
[mailto:users-bounces@admb-project.org] <B>En nombre de </B>Ian
Fiske<BR><B>Enviado el:</B> lunes, 31 de mayo de 2010 11:52<BR><B>Para:</B>
Benedikt Gehr; users@admb-project.org<BR><B>Asunto:</B> Re: [ADMB Users]
running admb from R using system()<BR></FONT><BR></DIV>
<DIV></DIV>Definitely sounds windowsy. I would try a couple of things.
<DIV><BR></DIV>
<DIV>(1) Upgrade R to the latest version. Maybe you'll be lucky
;)</DIV>
<DIV>(2) Write a windows batch file that basically does nothing but call
your model executable. Call this batch file with system() in R.
Maybe the extra layer of indirection can prevent the crash.</DIV>
<DIV>(3) Post to R-Help because this is starting to sound like a real R
problem. Can anyone else with a windows machine duplicate this?</DIV>
<DIV><BR></DIV>
<DIV>Best,</DIV>
<DIV>Ian<BR><BR>
<DIV class=gmail_quote>On Mon, May 31, 2010 at 5:43 AM, Benedikt Gehr <SPAN
dir=ltr><<A
href="mailto:benedikt.gehr@ieu.uzh.ch">benedikt.gehr@ieu.uzh.ch</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>Thanks for the fast reply. I'm using Windows XP v.
2002 with R 2.10.1.<BR>When I invoke system('makeadm stocpool') R produces
the 3 files model.cpp, model.htp and model.exe. When I double klick on
model.exe the model is executed and all the admb output files are
produced.<BR>However when I invoke " system('stoc.exe')" in R, R simply
shuts down and the error window appears: "R for Windows GUI front-end has
encountered a problem and needs to close."<BR>I'm not sure what you mean by
"RAM filling up".<BR><BR>I guess this is a windows thing because Dave
Fournier tried to help me and run the model on linux and windows 2000 and
did not get an error.<BR></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></BODY></HTML>