[R] three short questions

J.R. Lockwood lockwood at rand.org
Fri Jul 11 19:27:37 CEST 2003


> 
> This is my first message to the list, and I've got three "basic" questions:
> 
> How could I insert comments in a file with commands to be used as source in R?

use the pound sign "#"

> 
> Is it possible to quickly display a window with all the colors available in 
> colors()? How?
> 

I've got such a thing on my web page, though it may be dated

http://www.rand.org/methodology/stat/members/lockwood/downloads/R-built-in-colors.pdf


> I'm displaying points, but they overlap, wether points() uses triangles, 
> bullets or whatever. Is it possible to change (diminish) the size of the 
> symbols? 
> 

yes; use "pch" to change symbols and "cex" to change sizes of symbols.
See the help page for "par"

J.R. Lockwood
412-683-2300 x4941
lockwood at rand.org
http://www.rand.org/methodology/stat/members/lockwood/




More information about the R-help mailing list