[R-wiki] [R] sparklines
Roger Bivand
Roger.Bivand at nhh.no
Thu May 18 18:12:35 CEST 2006
On Thu, 18 May 2006, Ben Bolker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robin Hankin wrote:
> > Hi Ben
> >
> > yes, the wiki is the best place. What is the best way to include Rnw
> > text while letting the user see the resulting pdf file?
> >
> >
> > best wishes
> >
> >
> > Robin
>
> that's a really good question. The very very best solution
> would be an Sweave driver that produced Wiki code. The next
> best, which I might be able to hack up, is to run
> latex2wiki ( http://wiki.loria.fr/wiki/Latex2wiki ) on the
> Sweave'd output, possibly incorporating a few lines to
> convert Schunks into code input and output chunks ...
>
> any enthusiastic hackers out there?
I'm not really an example of the above (too old for wiki?), but the
Sweave() driver in the R2HTML package might be a starting point at least a
lot nearer than going to LaTeX and back (unless MathML is needed). There's
an example of output at
http://spatial.nhh.no/R/etc/capabilities.RHnw.html
which we could move to the wiki if need be.
Another example is on:
http://r-spatial.sourceforge.net/xtra/xtra.RHnw.html
with source:
http://r-spatial.cvs.sourceforge.net/r-spatial/spweb/htdocs/xtra/xtra.RHnw?revision=1.8&view=markup
(NB: I had to edit width= height= with no values out of the output *.html
for <img ...> to display on IE)
Roger
>
> Ben
>
> >
> >
> > On 17 May 2006, at 18:28, Ben Bolker wrote:
> >
> >> Robin Hankin <r.hankin <at> noc.soton.ac.uk> writes:
> >>
> >>>
> >>> Hi everyone
> >>>
> >>> well, quite a few people were interested in my little sparklines
> >>> example,
> >>> and one suggestion was to post it on a webpage.
> >>>
> >>> What would be a good place to post it?
> >>
> >> on the wiki? http://wiki.r-project.org
> >>
> >> Ben Bolker
> >>
> >> ______________________________________________
> >> R-help at stat.math.ethz.ch mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide!
> >> http://www.R-project.org/posting-guide.html
> >
> > --
> > Robin Hankin
> > Uncertainty Analyst
> > National Oceanography Centre, Southampton
> > European Way, Southampton SO14 3ZH, UK
> > tel 023-8059-7743
> >
> >
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEbH0Wc0dX2AfwOJkRAlIAAKDp1YUXG3XvxquV4tmOuuoQiVH+DgCeM2Zc
> xh4Rxyd7Tum1r3uQRzwr0mU=
> =oklv
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> R-sig-wiki mailing list
> R-sig-wiki at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-wiki
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-wiki
mailing list