Arghh! How stupid can you (I) be. It is R.exe that is called and not
RCMD.exe. Hence the program is waiting for a response to the question
about saving the workspace.
Tom
Tom Backer Johnsen wrote:
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi 7
After some headscratching I found the solution. Perhaps the options for
calling R has been changed. Place " CMD BATCH --no-save --silent "
between the call on R and the naming of the files for input and output.
Tom
Tom Backer Johnsen wrote:
Gentlepersons:
A long time ago I used to be able
Gentlepersons:
A long time ago I used to be able to start R (version 2.6.1) from a
Delphi 7 program and run a script by using a procedure like the following:
function StartRAndWait (CommandLine : string) : Boolean;
var
Proc_info: TProcessInformation;
Startinfo: TStartupInfo;
ExitCode:
3 matches
Mail list logo