Hello,

Excellent initiative. That is going to be very interesting too for complex stuff like loops and if() statements.

A couple of suggestions:
- In general, I would add corresponding R input and output just beneath the "visual" display of what happens, so that readers can try it in R and see what happens.

- P. 1, para. 1: ... have a common mode, one of character, logical, and numeric (to match the order of visual items).

- P. 3, para. 4: The character mode always wins. Logical always looses.

- P. 5, para. 11: A little sentence explaining nchar() would be useful. Something like: "Count the number of characters in each string:"

- P. 6, para. 14.1: again, a little explanation: "Matrices are filled by columns by default :" ... "But you can change it :"

- P. 7, para. 14.2: "Matrices have two dimensions and you must provide extractors for each of them. You first extract the rows, then the columns."

- P. 9: you use merge() that creates a list, before introducing what a list is... This is confusing.

- P. 11, para. 16.1: you use regular expressions without introducing what it is. No R beginner that has not done serious programming knows what a "Regexp" is.

(P.S.: Juste après avoir écrit tout ceci, je me rend compte que tu travailles à l'Université de Caen. Je suis passé par là: j'ai mis en place les nouvelles infrastructures d'élevage d'oursins à la Station Marine de Luc-sur-mer il y a une quinzaine d'années de cela.

Bon week-end,

Philippe Grosjean
..............................................<°}))><........
 ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons University, Belgium
( ( ( ( (
..............................................................

Sylvain Loiseau wrote:
Hello all,

Following a discussion at the end of december [1] I created a package "drawExpression" on 
R-Forge. It is still in a very early stage! Here is a draft of a PDF "visual reference 
card" that show the usage of the code:

https://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/visualRefCard/visualRefCard.pdf?rev=3&root=drawexpression&view=log

Advices welcome!
Best,
Sylvain

[1] https://stat.ethz.ch/pipermail/r-devel/2009-December/056170.html

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to