Create pdf with tooltips in R

前端 未结 3 1129
说谎
说谎 2020-12-23 23:07

Simple question: Is there a way to plot a graph from R in a pdf file and include tooltips?

3条回答
  •  情话喂你
    2020-12-23 23:24

    The pdf2 package works fine for me. (https://r-forge.r-project.org/R/?group_id=193). You can just include a 'popup' in the regular text command. It's not current as of 2.14, but I imagine he'll get round to it before too long.

    text(x,y,'hard copy text',popup='tooltip text')

提交回复
热议问题