Displaying 4 results from an estimated 4 matches for "writeconsoleex".
2010 Aug 20
2
segfault in embedded r after call to repldlldo1
Dear R developers,
i've got a question concerning an embedded R instance. I called the
initialization routines as seen in the "writing extensions" guide
(Rf_initialize, setup_Rmainloop and R_ReplDLLinit). I also changed the
function callback pointer of readconsole and writeconsoleex to my local
functions.
when i call mainloop there is no problem and the commands are evaluated
as expected. because i don't want R to run in an own thread and my app
should keep the control i want to use repldlldo1. within the readconsole
as long as i copy commandlines containing valid R c...
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
...Rp->home = getRUser();
// UImode: RGui, RTerm, LinkDLL
Rp->CharacterMode = LinkDLL;
// function which reads input for R from a console
Rp->ReadConsole = myReadConsole;
// function which writes output from R to a console
Rp->WriteConsole = NULL;
Rp->WriteConsoleEx = myWriteConsoleEx;
// called during i/o, eval, graphics in ProcessEvents
Rp->CallBack = myCallBack;
// handles messages for the user from R
Rp->ShowMessage = myShowconcise Message;
// user interaction: a user is asked a question an should answer
with YesNoCancel (maybe...
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...RParams.SaveAction = SA_NOSAVE;
RParams.rhome = get_R_HOME ();
RParams.home = getRUser ();
RParams.CharacterMode = LinkDLL; // RGui;
RParams.ShowMessage = RShowMessage;
RParams.ReadConsole = RReadConsoleWin;
RParams.WriteConsoleEx = RWriteConsoleEx;
RParams.WriteConsole = 0;
RParams.CallBack = RDoProcessEvents;
RParams.YesNoCancel = RAskYesNoCancel;
RParams.Busy = RBusy;
// Install own handlers
R_SetParams(&RParams);
// flush the consol...
2007 May 30
5
Possible changes to connections
When I originally implemented connections in R 1.2.0, I followed the model
in the 'Green Book' closely. There were a number of features that forced
a particular implementation, and one was getConnection() that allows one
to recreate a connection object from a number.
I am wondering if anyone makes use of this, and if so for what?
It would seem closer to the R philosophy to have