[R-wiki] graphics gallery in wiki?
Romain Francois
francoisromain at free.fr
Tue Feb 14 09:36:17 CET 2006
Le 14.02.2006 01:46, Philippe Grosjean a écrit :
> OK, now the integration between the R Wiki and the R Graph Gallery is
> almost completelly done. Romain and myself have added this:
>
> 1) A link to a wiki page for each graph in the R Graph gallery
>
> 2) The Wiki page relating to a given graph in the R Graph Gallery are
> in the section 'graph_gallery:graphXX', where XX is the number of the
> graph in the gallery. The page displays the graph (with a link to the
> corresponding page when you click on it), a link to the R code to
> generate this graph and a "Wiki discussion" section where people can
> add comments, further code, examples, etc... (see for instance
> http://www.sciviews.org/_rgui/wiki/doku.php?id=graph_gallery:graph51)
>
> 3) The corresponding pages are only created when someone add comments
> in the Wiki. If a page does not exist yet, a click from the Graph
> Gallery on the 'wiki page' link shows a "this topic does not exist
> yet" page... and you can click "Create this page" to create it. It is
> created from a template with all the required code already introduced.
> The reasons for not creating these pages automatically: we have only
> pages with material in the index, and no need to synch with the R
> Graph Gallery database.
Note that you can have access if you want, to have, for example the
name(s) of the author(s) of a graphic, etc ...
Contact me off list if you want that kind of info.
>
> 4) A specific Wiki plugin generates the HTML code for the image and
> the link. Its syntax is very simple: {{arg>RGraph}}, and it does the
> rest for you!
> 5) For linking to graphs in the R Graph Gallery from elsewhere in the
> Wiki, I have added "interwiki" shortcut. You just have to type
> [[rgg>XX]] (where XX is the number of the graph) and you got a link to
> that page with a nice little bargraph icon in front of it. This is the
> same for linking to R code corresponding to the graph: you use just
> [[rggcode>XX]]. You can see this in:
> http://www.sciviews.org/_rgui/wiki/doku.php?id=wiki:specialformat
>
> Best,
>
> Philippe Grosjean
>
> P.S.: for further integration, we should just look at an harmonization
> of the CSS between the two sites... and also on the colors for the
> code syntax coloring.
I'll look at that when I have time ;-)
> P.S.2: I also added convenient interwiki shortcuts for packages on
> CRAN, with little package icons. Try for instance [[rp>abind]],
> [[rpindex>abind]] & [[rppdf>abind]] (see also in the
> wiki:specialformat page)
--
visit the R Graph Gallery : http://addictedtor.free.fr/graphiques
mixmod 1.7 is released : http://www-math.univ-fcomte.fr/mixmod/index.php
+---------------------------------------------------------------+
| Romain FRANCOIS - http://francoisromain.free.fr |
| Doctorant INRIA Futurs / EDF |
+---------------------------------------------------------------+
More information about the R-sig-wiki
mailing list