[rkward-tracker] [ rkward-Feature Requests-1186843 ] use Rs new callbacks
SourceForge.net
noreply at sourceforge.net
Tue Sep 13 11:17:04 UTC 2005
Feature Requests item #1186843, was opened at 2005-04-20 19:49
Message generated for change (Comment added) made by tfry
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=1186843&group_id=50231
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Thomas Friedrichsmeier (tfry)
>Assigned to: Thomas Friedrichsmeier (tfry)
Summary: use Rs new callbacks
Initial Comment:
R 2.1.0 seems to provide some new useful
callbacks for embedding. E.g.:
extern int (*ptr_R_ShowFiles)(int, char **, char
**, char *, Rboolean, char *);
in order to call back the embedding application
when paging needs to be done. See also:
http://stat.ethz.ch/R-manual/R-devel/doc/manual/R-exts.html#Setting-R-callbacks
Once we all run R 2.1.0 (I don't yet), and think a
reasonable portion of our userbase does, too,
we should start using those callbacks.
----------------------------------------------------------------------
>Comment By: Thomas Friedrichsmeier (tfry)
Date: 2005-09-13 13:17
Message:
Logged In: YES
user_id=300591
Status update:
R_ReadConsole, and R_ShowMessage have been
implemented.
R_WriteConsole will be very useful in replacing the
entire sinking-to-file-business, however this is a
larger project. Also it will only really be useful, when
R adds something like R_WriteErr. We should
probably delay this.
R_ResetConsole, R_FlushConsole, and R_Clearerr
have been overridden to have no effect. We may or
may not want to reconsider this for R_FlushConsole,
once we user R_WriteConsole to get at the output.
R_loadhistory, R_savehistory are untouched, and will
remain untouched, as we keep our own history, and
do not submit commands the regular way, anyway.
R_busy will probably not be needed.
R_Suicide: Should definitely be implemented. No
work done so far.
R_Cleanup: Not sure about this one. Delaying.
R_EditFile, R_EditFiles, R_ShowFiles: Work on this
has started.
R_ChooseFile: Work has not yet started on this, but
should be trivial to implement.
----------------------------------------------------------------------
Comment By: Thomas Friedrichsmeier (tfry)
Date: 2005-05-04 13:11
Message:
Logged In: YES
user_id=300591
Also seemingly important:
R_ReadConsole, R_WriteConsole. For instance the
demo packages use R_ReadConsole to place a "To
continue press <Enter>" prompt. This still goes to
stdout (and you can press enter in the console you
started rkward from), but should rather happen in a
dialog.
----------------------------------------------------------------------
Comment By: Pierre (ecoch)
Date: 2005-04-21 09:07
Message:
Logged In: YES
user_id=1131050
Also R_EditFile would be useful. The current version of
RKWard will not happily handle calls like: "fix(MyFunc)".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=1186843&group_id=50231
More information about the rkward-tracker
mailing list