11010tianyi / playwith

Automatically exported from code.google.com/p/playwith
0 stars 2 forks source link

HelloTool and other examples don't work because function playwith() cannot be found #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Copying HelloTool code to an R script (from
http://code.google.com/p/playwith/wiki/HelloTool)
2. Running that R script

What is the expected output? What do you see instead?
I would expect seeing the final HelloTool window. Instead, I get the
following error:
> playwith(plot(1:10), tools = list(helloTool))
Error: could not find function "playwith"

What version of the product are you using? On what operating system?
R version 2.8.1 (2008-12-22)
Operating system: MS Windows 2000 Service Pack 4

Please provide any additional information below.
For some reason, playwith() function isn't recognized, even though I
installed package playwith and all its dependencies correctly (all of the
following: ‘cairoDevice’, ‘gWidgetsRGtk2’, ‘RGtk2’, ‘gWidgets’, 
‘gridBase’).

Original issue reported on code.google.com by jpvnu...@googlemail.com on 4 Mar 2009 at 4:52

Attachments:

GoogleCodeExporter commented 8 years ago
Umm... did you do
   library("playwith")
before running the script?

Since helloTool is a demo, it is expected to be run after the package is 
loaded. Note
that you do not need to copy the script into a file; you can just do
   demo("helloTool")
after the package is loaded via library("playwith").

Let me know if that doesn't work for you.

Original comment by foolish.android on 11 Mar 2009 at 6:07