Re: [R] Show graph integrated to GUI

From: Michael H. Prager <Mike.Prager_at_noaa.gov>
Date: Fri 30 Dec 2005 - 05:32:27 EST

I'm seeking suggestions for a book on Tcl/Tk, as it can be used with R. The book I bought for the purpose ("Effective Tcl/Tk Programming") seems quite unsuitable. For example, it has no description of anything like the slider control provided by tkscale().

I have located the Tcl and Tk documentation provided with the R distribution. That has plenty of detail. Now I would like something with more of an overview, including numerous examples and illustrations.

Thanks,
MHP on 12/29/2005 3:06 AM Prof Brian Ripley said the following:

>This can be done with tkrplot package, whose sole example is of a slider
>and a graph in the same window.
>
>(AFAICS the slider function in the TeachingDemos package shows no more
>concepts than the tkdensity demo which ships with R.)
>
>On Thu, 29 Dec 2005, Chihiro Kuraya wrote:
>
>
>
>>Hi,
>>
>>Thank you for information..
>>
>>I tried the TechingDemos package.
>>But it seems that the window which contains slider control
>>and graph window is separated.
>>
>>What I want to do is show slider control and graph
>>in one window simultaneiously.
>>It is possible ?
>>
>>Chihiro Kuraya
>>
>>
>>"Gregory Snow" <Greg.Snow@intermountainmail.org> wrote:
>>
>>
>>
>>>The slider function in the TeachingDemos and relax packages (same
>>>function is in both packages you can use either) provides a way to do
>>>this using a Tk window. There are also several functions in the
>>>TechingDemos package that use a lower level interface to a Tk window
>>>that you can look at their source code as an example to build your own
>>>(examples include: vis.gamma, rotate.persp, and run.power.examp).
>>>
>>>Hope this helps,
>>>
>>>
>
>
>
>>>>-----Original Message-----
>>>>From: r-help-bounces@stat.math.ethz.ch
>>>>[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Chihiro Kuraya
>>>>Sent: Saturday, December 24, 2005 9:53 PM
>>>>To: r-help@stat.math.ethz.ch
>>>>Subject: [R] Show graph integrated to GUI
>>>>
>>>>Hi all,
>>>>
>>>>It it posssible to show graph which is integrated to some GUI
>>>>(e.g. TclTk or R-wxPython).
>>>>
>>>>I want to make an application by R,
>>>>for example, like the following picture:
>>>>http://www.natch.co.uk/downloads/SigJenny/SJnScreenShot.gif
>>>>
>>>>
>
>
>

-- 

Michael Prager, Ph.D.
Population Dynamics Team, NMFS SE Fisheries Science Center
NOAA Center for Coastal Fisheries and Habitat Research
Beaufort, North Carolina  28516
http://shrimp.ccfhrb.noaa.gov/~mprager/
Opinions expressed are personal, not official.  No
government endorsement of any product is made or implied.

______________________________________________
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 Fri Dec 30 05:39:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:44 EST