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 Regards, Chihiro Kuraya -------------------------------------- STOP HIV/AIDS.
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, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at intermountainmail.org (801) 408-8111> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Chihiro Kuraya > Sent: Saturday, December 24, 2005 9:53 PM > To: r-help at 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 > > Regards, > Chihiro Kuraya > > -------------------------------------- > STOP HIV/AIDS. > > ______________________________________________ > R-help at 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 >
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 at 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, > > > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > greg.snow at intermountainmail.org > (801) 408-8111 > > > > > -----Original Message----- > > From: r-help-bounces at stat.math.ethz.ch > > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Chihiro Kuraya > > Sent: Saturday, December 24, 2005 9:53 PM > > To: r-help at 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 > > > > Regards, > > Chihiro Kuraya > > > > -------------------------------------- > > STOP HIV/AIDS. > > > > ______________________________________________ > > R-help at 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 > >
Try the example in ?tkrplot in package tkrplot. That shows a tcl-based plot interactively modified by a slider all in a single window. On 12/28/05, Chihiro Kuraya <rxqvw at yahoo.co.jp> 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 at 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, > > > > > > -- > > Gregory (Greg) L. Snow Ph.D. > > Statistical Data Center > > Intermountain Healthcare > > greg.snow at intermountainmail.org > > (801) 408-8111 > > > > > > > > > -----Original Message----- > > > From: r-help-bounces at stat.math.ethz.ch > > > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Chihiro Kuraya > > > Sent: Saturday, December 24, 2005 9:53 PM > > > To: r-help at 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 > > > > > > Regards, > > > Chihiro Kuraya > > > > > > -------------------------------------- > > > STOP HIV/AIDS. > > > > > > ______________________________________________ > > > R-help at 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 > > > > > ______________________________________________ > R-help at 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 >
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 at 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 at stat.math.ethz.ch >>> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Chihiro Kuraya >>> Sent: Saturday, December 24, 2005 9:53 PM >>> To: r-help at 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-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595