<div dir="ltr">Dear TRNSYS-Users,<div><br></div><div>I have been attempting to run a TRNSYS simulation using system() and shell() in RStudio to open TRNExe.exe and then selected a .dck file from another folder. The command line is something similar to this. </div><div><br></div><div>system(paste("C:/Trnsys17/Exe/TRNExe.exe","C:/PathtoFile/File1/Building1.dck"),wait = FALSE)</div><div><br></div><div>The error that appears is "fortl:severe(24): end-of-life during read, unit 48, file C:\TRNSYS17\EXE\MyBuilding1.bld" </div><div><br></div><div>It appears to me that instead of searching for the .bld file in /File1 it looks for it in /Exe. </div><div><br></div><div>I had no issues with the above command line with .dck files that have no outputs send via Type25 (printers) to external files. </div><div><br></div><div>Is there something in the command line within R that I am doing incorrectly or are there other issues here?</div><div><br></div><div>-- <br></div><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Kind Regards,</div>
<div> </div>
<div>Adam Ó Donnabháin,</div>
<div>Postgraduate Researcher,</div>
<div>CIT,</div>
<div> </div>
<div> </div>
<div><strong><font style="background-color:rgb(0,153,0)">Please, consider the environment before printing this message.</font></strong></div>
<div> </div>
<div> </div>
<div> </div></div></div></div>
</div></div>