Re: [R] Can a hyperlink be placed, thorugh R programming, on a graph?

2007-04-27 Thread Jim Lemon
Aldi Kraja wrote: > Hi, > If I use > > x<-1:10 > y<-rnorm(10,0,1) > ### pdf(file="c:\\aldi\\test.pdf") > plot(x,y) > segments(x,y,x+2,y+2) > segments(x,y,x+0.5,y+0.5,col=3) > ### dev.off() > ### q() > > Is there a way that I can imbed in the graph plot for each point defined > by x to x+0.5

Re: [R] Can a hyperlink be placed, thorugh R programming, on a graph?

2007-04-26 Thread Aldi Kraja
Ok, Here is a simple solution: One can apply the text step (within a loop) for any other points and the hyperlinks are functional in the pdf format, and not viewable unless the mouse is over the link. If you have a better solution, let me know. x<-1:10 y<-rnorm(10,0,1) pdf(file="c:\\aldi\\tes

[R] Can a hyperlink be placed, thorugh R programming, on a graph?

2007-04-26 Thread Aldi Kraja
Hi, If I use x<-1:10 y<-rnorm(10,0,1) ### pdf(file="c:\\aldi\\test.pdf") plot(x,y) segments(x,y,x+2,y+2) segments(x,y,x+0.5,y+0.5,col=3) ### dev.off() ### q() Is there a way that I can imbed in the graph plot for each point defined by x to x+0.5 and y to y+0.5 (and colored in green) a diffe