Re: [R] identify with mfcol=c(1,2)

2012-04-05 Thread John Sorkin
Thanks! John John David Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone

Re: [R] identify with mfcol=c(1,2)

2012-04-05 Thread Greg Snow
I tried your code, first I removed the reference to the global variable data$Line, then it works if I finish identifying by either right clicking (I am in windows) and choosing stop, or using the stop menu. It does as you say if I press escape or use the stop sign button (both stop the whole evalu

Re: [R] identify with mfcol=c(1,2)

2012-04-05 Thread Sarah Goslee
Hi, Some additional information from you would make it more likely that the list can help you. What's your sessionInfo? Does the same thing occur if you don't wrap both plots in a single function? Can you provide a small reproducible example so we can try it out? Sarah On Apr 4, 2012, at 7:48

[R] identify with mfcol=c(1,2)

2012-04-04 Thread John Sorkin
Please forgive my re-sending this question. I did not see any replies from my prior post. My apologies if I missed something. I would like to have a figure with two graphs. This is easily accomplished using mfcol: oldpar <- par(mfcol=c(1,2)) plot(x,y) plot(z,x) par(oldpar) I run into trouble

[R] identify with mfcol=c(1,2)

2012-04-03 Thread John Sorkin
I would like to have a figure with two graphs. This is easily accomplished using mfcol: oldpar <- par(mfcol=c(1,2)) plot(x,y) plot(z,x) par(oldpar) I run into trouble if I try to use identify with the two plots. If, after identifying points on my first graph I hit the ESC key, or hitting stop