[R] Problem with RSVGTipsDevice

From: mister_bluesman <mister_bluesman_at_hotmail.com>
Date: Mon, 11 Jun 2007 10:17:16 -0700 (PDT)

Hi there.

I am still trying to get the RSVGTipsDevice to work, yet I can not.

I have copied the first example from RSVGTipsDevice documentation:

devSVGTips("C:\\svgplot1.svg", toolTipMode=1, title="SVG example plot 1: shapes and points, tooltips are title + 1 line") plot(c(0,10),c(0,10), type="n", xlab="x", ylab="y", main="Example SVG plot with title + 1 line tips (mode=1)") setSVGShapeToolTip(title="A rectangle", desc="that is yellow") rect(1,1,4,6, col='yellow')
setSVGShapeToolTip(title="1st circle with title only") points(5.5,7.5,cex=20,pch=19,col='red')
setSVGShapeToolTip(title="A triangle", desc="big and green") polygon(c(3,6,8), c(3,6,3), col='green')
# no tooltips on these points

points(2:8, 8:2, cex=3, pch=19, col='black')
# tooltips on each these points

invisible(sapply(1:7, function(x)
{setSVGShapeToolTip(title=paste("point", x)) points(x+1, 8-x, cex=3, pch=1, col='black')})) dev.off()

This results in the following output:

http://www.nabble.com/file/p11064573/svgplot1.svg svgplot1.svg

It opens but when I try and hover over the triangle, for example, I do not get a topptip box appear. I have tried opening the file though firefox, and XP IE - and on more than one computer yet it does not work. Do I need to install something else as well?

Many thanks

View this message in context: http://www.nabble.com/Problem-with-RSVGTipsDevice-tf3902760.html#a11064573
Sent from the R help mailing list archive at Nabble.com.

R-help_at_stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 11 Jun 2007 - 17:22:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Jun 2007 - 17:32:03 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.