nachocab / clickme

An R package to create interactive plots
257 stars 44 forks source link

Error in get_opts(ractive, ...) : No ractive named 12345678910 found at: (root path) #41

Closed xavidp closed 10 years ago

xavidp commented 10 years ago

Hi Nacho:

Newbie here, testing clickme for the first time. I wa looking for the simplest ever hello world tutorial to use your clickme package, and I can't make it work

I installed the package with no issues, set root path to some temporal dummy folder in my home directory (linux user here), and run clickme(points, 1:10), which produced this error message:


clickme(points, 1:10) Error in get_opts(ractive, ...) : No ractive named 12345678910 found at:/home/xavi/tmp/ In addition: Warning message: In if (!file.exists(opts$path$ractive)) stop("No ractive named ", :

the condition has length > 1 and only the first element will be used

What am I doing wrong?

Thanks for your help and for developing such intersting clickme package (& open sourced)!

nachocab commented 10 years ago

Hey Xavi, It seems like you're using an old version of clickme. I would try uninstalling and reinstalling

detach("package:clickme", unload = T)
library(devtools)
install_github("clickme", "nachocab")
clickme(points, 1:10)

If that doesn't work, try running clickme("points", 1:10), I don't think the lack of quotes is an issue, but for some reason, the 1:10 is being converted to a string (??)

Let me know how it goes!

xavidp commented 10 years ago

Hey Nacho, your package is impressive indeed! I love the example with the Microarray data! (my boss will love it!). Can you believe that I work in a bioinformatics unit doing Microarray (among other things)? :-) http://ueb.vhir.org

Oh well, I've included a new page in the Tiki configuration profile "r_test", in order to showcase what can be easily achieved with your package. And applied that page to some tiki sites where PluginR is in action (did you know PluginR? did you know http://r-es.org since I see that you seem to be Spanish speaker? :-) ) http://r-es.org/r_test10_clickme http://r.tiki.org/r_test10_clickme

And reactions from PluginR users started immediately!: :-) http://irc.tiki.org/irclogger_log/tikiwiki?date=2014-01-07,Tue&sel=153#l149

Awesome. Thanks heaps for your work. We will reuse it a lot in our future work at our public research institute.

nachocab commented 10 years ago

Gracias Xavi, me alegro que te resulte útil. La verdad es que tengo el desarrollo un poco aparcado porque estoy con temas más bioinformáticos, pero hago gráficas con clickme casi todos los días. A ver si un día me pongo más en serio y añado líneas y heatmaps además de puntos.

Avísame si pasas un día por Boston.

Un abrazo, Nacho