Skip to content

A package for visualizing R syntax

5 messages · Sylvain Loiseau, Gabor Grothendieck, Felix Andrews

#
Dear all,

I have written a small set of functions for drawing graphical representations of R objects and evaluations of R expressions.

It is mainly intended for pedagogical purposes. Here are some samples:

http://panini.u-paris10.fr/~sloiseau/sampleGraphics.pdf

The idea is to use some graphical conventions in order to make clear the abstract syntax and to explain function, extraction, recycling, type conversion, properties of data structures, etc.

I would be very interested in your reactions and comments. I'm wondering if it may become a R package. Does something like this already exist? May it be useful? What improvement may be planned? Have you some idea for the name of such a package (visualR, seeR... ?)

Best regards,
Sylvain
--
Sylvain Loiseau
sylvain.loiseau at unicaen.fr

Universit? de Caen Basse Normandie
Maison de la Recherche en Sciences Humaines
MRSH - SH018
Esplanade de la Paix
Campus 1
14032 Caen Cedex
#
Very nice.  Certainly it would be welcome to see this packaged for
widespread use.

On Wed, Dec 23, 2009 at 2:20 PM, Sylvain Loiseau
<sylvain.loiseau at unicaen.fr> wrote:
#
Nice idea.
But I think "visualR" or "seeR" are way too vague.
How about "drawExpressions", or "showExpressions"?

-Felix

2009/12/24 Sylvain Loiseau <sylvain.loiseau at unicaen.fr>:
-- 
Felix Andrews / ???
Postdoctoral Fellow
Integrated Catchment Assessment and Management (iCAM) Centre
Fenner School of Environment and Society [Bldg 48a]
The Australian National University
Canberra ACT 0200 Australia
M: +61 410 400 963
T: + 61 2 6125 4670
E: felix.andrews at anu.edu.au
CRICOS Provider No. 00120C
#
or ExpressionBlocks
On Wed, Dec 23, 2009 at 5:12 PM, Felix Andrews <felix at nfrac.org> wrote:
4 days later
#
Thanks!
I have submitted a project on R-forge (not sure it is the good place), with package name "drawExpression".

Sylvain

Le 23 d?c. 2009 ? 23:16, Gabor Grothendieck a ?crit :
--
Sylvain Loiseau
sylvain.loiseau at unicaen.fr

Universit? de Caen Basse Normandie
Maison de la Recherche en Sciences Humaines
MRSH - SH018
Esplanade de la Paix
Campus 1
14032 Caen Cedex