hi, am Samstag 01 Oktober 2011 (20:51) schrieb Thomas Friedrichsmeier: > On Saturday 01 October 2011, meik michalke wrote: > > as for rkwarddev, i have some vague ideas to further help creating the JS > > code > > will it also be able to generate JS code for an existing plugin XML file?
have you tried
cat(rk.JS.doc(variables=rk.JS.scan("path/to/some_plugin.xml")))
yet?
it's not really much, but at least it fetches the variables out of the XML
file and gives you a start.
> Personally, I think I'll probably continue to write the plugin XML
> directly, rather than using rk.XML.varslot() and friends.
sure, it's just an additional way of doing it. although i tried to cover
certain cases to really save a lot of typing, for instance:
test.vars <- rk.XML.vars("Select some vars", "Vars go here",
formula.dependent="Dependent var")
cat(pasteXMLNode(test.vars))
> However, having a helper create skeleton help and JS files from that would
> be very interesting.
as for help files, try
help.doc <- rk.rkh.doc(settings=rk.rkh.scan("path/to/some_plugin.xml"))
cat(pasteXMLTree(help.doc))
rk.plugin.skeleton() calls these functions to create the JS and help files
with something to start.
> Either way, keep it coming!
sure will, really having fun writing that stuff ;-)
> I suggest "svn move"ing them to a folder "packages" in the SVN root (i.e. on
> the same level as "rkward", "scripts", "build", etc.). It doesn't really
> matter too much, but I think this would be slightly "cleaner".
ok, i'll take care of that these days.
viele grüße :: m.eik
--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________ RKWard-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkward-devel
