[R] Hosting a R Graph Gallery?
p.murrell@auckland.ac.nz
p.murrell at auckland.ac.nz
Tue Feb 22 19:42:51 CET 2005
Hi
> Hi,
>
> About any graph gallery:
> Philippe Grojean and me did have made some work. Our goal was to add a
> clip
> library to the SciViews project that would offer access to a graph
> gallery.
> I was workiong on the production of the gallery, where as Philippe is
> still
> working on his GUI API. One of the goal is to have automatic wizards to
> make easier the creation of a graphic.
>
> Here was our approach and some thoughts:
>
> - We should propose a format for a description file. Here are some
> elements
> that should be gathered for each graphic function:
> - Name of the function (*)
> - Name of the produced graphic (*)
> - Description of the graphic (*)
> - Number of variables (univariate / bivariate / multivariate...)
> - Types of variables
> - Sample code (sample graph) (*)
> - Package (*)
> The (*) are some information already available in Rd files (except maybe
> sample graph).
>
> - If someone deos something, I think it would be useful to ensure that all
> is reusable. We should focus on describing graphics. Then, for example,
> SciViews could use the information to create a usable graph gallery.
Along similar lines, it would be useful if gallery entries could be
submitted as a plain text or maybe an XML file. Something like:
<plot title="blah">
<desc>yadda yadda</desc>
<code>plot(1)</code>
</plot>
<plot title="blah blah">
<desc>yadda yadda yadda</desc>
<code>plot(2)</code>
</plot>
This would allow people with existing sets of plots to generate an entire
set of gallery submissions automagically from a script. It would also
make it feasible to automagically generate gallery entries from the
examples in packages such as graphics and lattice.
If the central gallery repository actually stored the gallery entries in
this sort of format (or possibly even in a database) then the gallery
itself could be automagically "published" in a variety of different
formats via scripts (e.g., web pages for display, web pages for editing
entries, an enormous PDF document, an R package, ...).
Paul
> If someone is interested, I ahve put in the following archive all my
> current code:
> http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/R/svGraphGallery.zip
>
> There is no explanation but I would provide comments and help to any
> volonteer (basically, there is a file .ggs with some descriptions as
> stated before and some R code to that produce HTML files).
>
> The result (the current gallery) is there. It is aimed to be something
> like
> 300 pixels large. At final step, graph would be clickable with a wizard.
>
> http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/R/svGraphGallery/dock/svGallery.html
>
>
>
> Eric
>
> At 08:46 21/02/2005, Robert Cunningham wrote:
>>I too have often though a R-gallery would be useful.
>>
>>It seems to me that a Wiki-style page with a database backend would be
>>the best bet.
>>
>>It also seems to be that the best place to start is a complete image
>>gallery produced from all the examples in R base, then in packages in
>>CRAN. In this context the graphicsQC package
>>(http://www.stat.auckland.ac.nz/~paul/R/graphicsQC_0.4.tar.g) of Paul
>>Murrell seems useful.
>>
>>Cheers,
>>
>>
>>Robert Cunningham
>>
>>
>>
>>Romain Francois <francoisromain at free.fr> writes:
>>
>> > Hello Sander,
>> >
>> > That's a good idea and i am up to it.
>> >
>> > Right now i am in an exam period, so it's not really the better time,
>> > give me a couple of weeks and i will come up with a specific format of
>> > R files to submit to me that i could post-process to generate html
>> > documents.
>> > To my mind, those html files should show :
>> >
>> > - the plot itself
>> > + Submitter(s)
>> > - web page
>> > - email (eventually protected, I don't know how to do it)
>> > - Bibliographic references
>> > - Required R packages
>> > + Commentaries
>> > - in english
>> > - and in any other languages
>> >
>> > I'm open to any suggestion.
>> >
>> > Romain.
>> >
>> > Le 18.02.2005 14:33, Sander Oom a écrit :
>> >
>> >> Dear R users,
>> >>
>> >> Following some of the recent questions and discussions about the R
>> >> plotting abilities, it occurred to me again that it would be very
>> >> valuable to have an R graph gallery.
>> >>
>> >> Eric Lecoutre made a very nice example in:
>> >> http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf
>> >>
>> >>
>> >> It would be very useful to many beginners, but probably also
>> >> advanced users of R, to have an overview of R graph types with
>> >> graphical examples and associated R code.
>> >>
>> >> In order to facilitate the evolution of a large gallery, some sort
>> >> of wiki environment might be most suitable, thus providing access to
>> >> all users, but with limited maintenance costs for the provider.
>> >>
>> >> Do others agree this could be a valuable resource? Would anybody
>> >> have the resources to host such an R graph gallery?
>> >>
>> >> Yours,
>> >>
>> >> Sander Oom.
>> >>
>> > --
>> > Romain FRANCOIS : francoisromain at free.fr
>> > page web : http://addictedtor.free.fr/ (en construction)
>> > 06 18 39 14 69 / 01 46 80 65 60
>> > _______________________________________________________
>> > Etudiant en 3eme année
>> > Institut de Statistique de l'Université de Paris (ISUP)
>> > Filière Industrie et Services
>> > http://www.isup.cicrp.jussieu.fr/
>> >
>> > ______________________________________________
>> > 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
>>
>>______________________________________________
>>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
>
> Eric Lecoutre
> UCL / Institut de Statistique
> Voie du Roman Pays, 20
> 1348 Louvain-la-Neuve
> Belgium
>
> tel: (+32)(0)10473050
> lecoutre at stat.ucl.ac.be
> http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
>
> If the statistics are boring, then you've got the wrong numbers. -Edward
> Tufte
>
> ______________________________________________
> 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
>
More information about the R-help
mailing list