[rkward-devel] a new approach to external plugins

meik michalke meik.michalke at uni-duesseldorf.de
Mon Sep 5 12:28:51 UTC 2011


hi,

a train ride later, the basic functions for this are in place now. you can 
follow the examples for rk.plugin.skeleton() in the docs to see it in action. 
inspect the generated XML, JS and rkh files in /tmp/SquaretheCircle, then.

Am Freitag, 2. September 2011, 09:03:06 schrieb Thomas Friedrichsmeier:
> On Thursday 01 September 2011, meik michalke wrote:
> > the dependency should be taken care of somehow
> 
> Good point. This will be a problem. We cannot even assume an internet
> connection during RKWard installation. It might be possible to work around
> this by putting
>    require (XiMpLe)
> in .onLoad() / .First.lib().

the docs on writing extensions demand that requirements should be met at 
installation time, so i guess this would need to be done for the rkwarddev 
package rather than XiMpLe, which in turn would mean that rkwarddev needs to 
available from a repository. we could indeed create an RKWard repository 
somewhere in the SF.net webspace and hardcode that into RKWard. but it's 
perhaps a simpler solution to just bundle both packages with RKWard.

> Or of course the XML functions would have to be included, for the time
> being...

i settled for this one now and added both rkwarddev (which i renamed from 
rkwardplugdev, as you suggested) and XiMpLe to the rpackages directory in SVN. 
we can think of this as a temporary solution or permanently make XiMpLe a 
"sub-project" of RKWard, i'm fine with both. anyway, both could still be 
packaged and, e.g., uploaded to CRAN as standalone packages. so this preserves 
full flexibility.

but they're not installed by default yet. once you had a look and think that 
would be helpful, just go on and change that ;-)


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  abt. f"ur diagnostik und differentielle psychologie
  institut f"ur experimentelle psychologie
  heinrich-heine-universit"at d"usseldorf
-------------- 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/20110905/b5f10ada/attachment.sig>


More information about the Rkward-devel mailing list