Re: [R] how to draw graphs within clickable hyperlink

From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>
Date: Sat 05 Mar 2005 - 03:01:25 EST

Damian Betebenner wrote:
> Hu,
>
> I've found two methods of doing this---1 in R and the other in S-Plus.

Here's something I did a few years ago that lets you create PNG files and an HTML imagemap

http://www.maths.lancs.ac.uk/Software/Imagemap/

  It might be tricky to add clickable areas to plots drawn by other functions and packages, since you dont know exactly where the points are, but with access to the source code that should be fixable.

  For example, suppose you wanted to make the box of a boxplot clickable, you need to know the coordinates of the box on the graphics device. If the return value and parameters to boxplot dont give this information, you'll have to work it out.

  Baz



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Mar 05 04:18:45 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:40 EST