Forums

Back

Error: missing executable file

Laura Lee, modified 4 Years ago.

Error: missing executable file

Youngling Posts: 95 Join Date: 3/31/16 Recent Posts

Hi all,

 

I am trying to run the 'SS_doRetro' function, but receive the following error: "Error in SS_doRetro(masterdir = "mydir", oldsubdir = "", newsubdir = "retrospectives",  :  Missing executable file SS3.exe in mydir".

My code is as follows:

mydir <- "C:/SS3/SS_324f/mullet2018"

SS_doRetro(masterdir="mydir", oldsubdir="", newsubdir="retrospectives",
                       subdirstart="retro",years=0:-6,overwrite=TRUE,
                       exefile="SS3.exe",extras="-nox",intern=FALSE,CallType="system",RemoveBlocks=FALSE)

 

Note that I am using an earlier version of SS. I understand that may be the issue. Thanks for your help!

 

Cheers,

Laura

IT
Ian Taylor, modified 4 Years ago.

RE: Error: missing executable file

Youngling Posts: 117 Join Date: 12/8/14 Recent Posts

Hi Laura,

Try it without the quotes on mydir in the call to SS_doRetro:

masterdir=mydir

rather than 

masterdir="mydir"

That has you calling the mydir object in the R workspace, rather than a new character string. Alternatively, you could provide the full string to the function.

-Ian