[rkward-devel] R function to add plugin?
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Sep 23 09:52:19 UTC 2011
Hi,
On Friday 23 September 2011, meik michalke wrote:
> rk.plugin.skeleton() has now an option to open the plugin files for editing
> automatically. is there an (internal) R function to add a .pluginmap to
> RKWard as well yet? that would be really very helpful.
no, that does not exist, yet, but it should be quite feasible. I'm currently
busy on other parts, though (reworking the package installation dialog), so
don't hold your breath, and remind me, if necessary.
> another thing i'd like to bring back to mind is the idea to "restart" the R
> session without restarting RKWard as a whole. yesterday i closed and
> re-opened RKWard and half a dozen files 30-40 times, only to check the
> outcome of changes i made in the rkwarddev package. if there's anything i
> can help to make this happen, let me know... i'm desperate, all right 8-)
This will require some non-trivial changes to the C++-code. Essentially, the
initialization code is in rinterface.cpp. Starting the backend process is done
in rkfrontendtransmitter.cpp. So these are the places to look at. However, I
don't think it's a particularily suitable exercise for learning C++.
Are you aware of assignInNamespace() (see also rk.replace.function())? That
might obsolete at least some of those restarts.
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20110923/0a070cd7/attachment.sig>
More information about the Rkward-devel
mailing list