[R] Mac OS X: Clearing R Console screen

2007-03-22 Thread Jesse Sinclair
Hi all, I'm trying to figure out how to clear the console (screen) in the Mac OS X R console. Using ctrl-l does not work. I have also tried system (clear) but, I get TERM environment variable not set., I find this a bit strange because system(ls) and other bash commands work fine. When

[R] Labelling a second y-axis

2007-03-21 Thread Jesse Sinclair
Hi, I am using the following code as an example function to create multiple y-axes on one plot. I have it working fine however, I can't seem to add a label on the second (right) axis. I have tried adding ylab=y2 in the axis call but, that didn't work; any ideas? Thanks, Jesse Code: