hi, ok, i think i'm done ;-)
am Montag 22 August 2011 (22:59) schrieb meik michalke:
> so the only missing thing is a paste method, to write an XML object back to
> a readably formatted file.
if you want to try it:
install.packages("XiMpLe", repo="http://R.reaktanz.de")
library(XiMpLe)
# create "about" XML object
about.node <- rk.XML.about(
about=list(
name="Square the circle",
desc="Squares the circle using Heisenberg compensation.",
version="0.1-3",
date=Sys.Date(),
url="http://eternalwondermaths.example.org/23/stc.html",
license="GPL",
category="Geometry"),
author=list(
c(name="E.A. Dölle", email="[email protected]",
url="http://eternalwondermaths.example.org"),
c(name="A. Assistant", email="[email protected]",
url="http://eternalwondermaths.example.org/staff/")
),
dependencies=list(
rkward.min="0.5.3",
rkward.max="",
R.min="2.10",
R.max=""),
package=list(
c(name="heisenberg", min="0.11-2", max="",
repository="http://rforge.r-project.org"),
c(name="DreamsOfPi", min="0.2", max="", repository="")),
pluginmap=list(
c(name="heisenberg.pluginmap",
url="http://eternalwondermaths.example.org/hsb"))
)
# paste XML tree:
cat(pasteXMLNode(about.node))
there's now also a pasteXMLTree() function to paste whole XiMpLe.doc objects.
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.
------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________ RKWard-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkward-devel
