search for: pi_onintr

Displaying 1 result from an estimated 1 matches for "pi_onintr".

Did you mean: my_onintr
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...FlushConsoleInputBuffer(GetStdHandle(STD_INPUT_HANDLE)); // Fake a command line int argc = 2; char* argv[2] = { qstrdup ("--no-save"), qstrdup ("--no-restore") }; // redirect the BREAK signal to own handler signal(SIGBREAK, pi_onintr); // set the arguments in R R_set_command_line_arguments (argc, argv); // Here, the main initialization of R is performed setup_Rmainloop (); // Init the IO buffer and the global context R_ReplDLLinit(); // if I use the following in...