Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
SciViewsGUI developments for R using tcltk2 and other SciViews R packages
Philippe Grosjean <[email protected]>
Université de MonsLaboratoire d’Écologie numérique des Milieux aquatiques
R Belgium Meeting Group, Nov. 2013
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 1 / 10
Overview
Short presentation - my contributions to R
R GUIs - status
Native dialog boxes using svDialogs
More flexible dialog boxes with tcltk2
A GUI for beginneRs and teacheRs: SciViews-K and Komodo
Conclusions
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 2 / 10
Presentation Who am I?
About the speaker...
Agronomic engineer (ULB)
Teacher in biostatistics and marine ecology at UMONS
Head of the Numerical Ecology of Aquatic Systems lab (seehttp://econum.umons.ac.be/)
Research in plankton images automatic classification (image analysis and machinelearning, Zoo/PhytoImage software http://www.sciviews.org/zooimage)
Ecophysiology of hermatypic (reef-building) corals related to climate change
More recently, I started a projet to study Open Source software ecosystems withmy colleague Tom Mens (software evolution lab)
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 3 / 10
Presentation Who am I?
About the speaker...
Agronomic engineer (ULB)
Teacher in biostatistics and marine ecology at UMONS
Head of the Numerical Ecology of Aquatic Systems lab (seehttp://econum.umons.ac.be/)
Research in plankton images automatic classification (image analysis and machinelearning, Zoo/PhytoImage software http://www.sciviews.org/zooimage)
Ecophysiology of hermatypic (reef-building) corals related to climate change
More recently, I started a projet to study Open Source software ecosystems withmy colleague Tom Mens (software evolution lab)
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 3 / 10
Presentation Who am I?
About the speaker...
Agronomic engineer (ULB)
Teacher in biostatistics and marine ecology at UMONS
Head of the Numerical Ecology of Aquatic Systems lab (seehttp://econum.umons.ac.be/)
Research in plankton images automatic classification (image analysis and machinelearning, Zoo/PhytoImage software http://www.sciviews.org/zooimage)
Ecophysiology of hermatypic (reef-building) corals related to climate change
More recently, I started a projet to study Open Source software ecosystems withmy colleague Tom Mens (software evolution lab)
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 3 / 10
Presentation Who am I?
About the speaker...
Agronomic engineer (ULB)
Teacher in biostatistics and marine ecology at UMONS
Head of the Numerical Ecology of Aquatic Systems lab (seehttp://econum.umons.ac.be/)
Research in plankton images automatic classification (image analysis and machinelearning, Zoo/PhytoImage software http://www.sciviews.org/zooimage)
Ecophysiology of hermatypic (reef-building) corals related to climate change
More recently, I started a projet to study Open Source software ecosystems withmy colleague Tom Mens (software evolution lab)
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 3 / 10
Presentation Who am I?
About the speaker...
Agronomic engineer (ULB)
Teacher in biostatistics and marine ecology at UMONS
Head of the Numerical Ecology of Aquatic Systems lab (seehttp://econum.umons.ac.be/)
Research in plankton images automatic classification (image analysis and machinelearning, Zoo/PhytoImage software http://www.sciviews.org/zooimage)
Ecophysiology of hermatypic (reef-building) corals related to climate change
More recently, I started a projet to study Open Source software ecosystems withmy colleague Tom Mens (software evolution lab)
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 3 / 10
Presentation Who am I?
About the speaker...
Agronomic engineer (ULB)
Teacher in biostatistics and marine ecology at UMONS
Head of the Numerical Ecology of Aquatic Systems lab (seehttp://econum.umons.ac.be/)
Research in plankton images automatic classification (image analysis and machinelearning, Zoo/PhytoImage software http://www.sciviews.org/zooimage)
Ecophysiology of hermatypic (reef-building) corals related to climate change
More recently, I started a projet to study Open Source software ecosystems withmy colleague Tom Mens (software evolution lab)
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 3 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
Presentation My contributions to R
My contributions to R
Developer of specialized solutions in R since 15 yearse.g., Zoo/PhytoImage, FLR, ...
Consultant for IFREMER, AZTI, CEFAS, FAO, ChemCom, etc.
Maintainer of 11 R packages on CRAN: pastecs, SciViews, tcltk2, svDialogs,svGUI, svMisc, svSocket, svSweave, svTools, svUnit, svWidgets
Contributor or developer of packages on R-Forge: inlinedocs, RImageJ, mlearning,zooimage, phytoimage, seacarb, ...
GUIs on top of R for an easier use by beginneRs: Tinn-R and SciViews-K
Manager of http://www.r-project.org/GUI, and the R-SIG-GUI mailing list
Author and administrator of the official R Wiki site (http://wiki.r-project.org),and the R-SIG-WIKI mailing list
Responsible for the French translation of R
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 4 / 10
R GUIs status GUI widgets usable with R
GUI widgets usable with R
Tk is an ancient and somehow phased-out GUI toolkit, first associated with the Tcllanguage, but now providing many more bindings, like R (tcltk package).
Gtk2 is the GUI toolkit used by Gnome. It is very well supported un Linux, but itonly run in X11 mode on Ma OS X and requires additional installs on Windows.The RGtk package provides bindings for R.
Qt is the GUI toolkit of KDE and is available for many platforms where its look &feel is (almost) native everywhere. The qtbase package allows for using it from R,but currently only on Linux (no Mac or Windows).
Various Java GUI toolkits are accessible through R - Java binding (RJava package)and JGR... Web interfaces exist also.
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 5 / 10
R GUIs status GUI widgets usable with R
GUI widgets usable with R
Tk is an ancient and somehow phased-out GUI toolkit, first associated with the Tcllanguage, but now providing many more bindings, like R (tcltk package).
Gtk2 is the GUI toolkit used by Gnome. It is very well supported un Linux, but itonly run in X11 mode on Ma OS X and requires additional installs on Windows.The RGtk package provides bindings for R.
Qt is the GUI toolkit of KDE and is available for many platforms where its look &feel is (almost) native everywhere. The qtbase package allows for using it from R,but currently only on Linux (no Mac or Windows).
Various Java GUI toolkits are accessible through R - Java binding (RJava package)and JGR... Web interfaces exist also.
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 5 / 10
R GUIs status GUI widgets usable with R
GUI widgets usable with R
Tk is an ancient and somehow phased-out GUI toolkit, first associated with the Tcllanguage, but now providing many more bindings, like R (tcltk package).
Gtk2 is the GUI toolkit used by Gnome. It is very well supported un Linux, but itonly run in X11 mode on Ma OS X and requires additional installs on Windows.The RGtk package provides bindings for R.
Qt is the GUI toolkit of KDE and is available for many platforms where its look &feel is (almost) native everywhere. The qtbase package allows for using it from R,but currently only on Linux (no Mac or Windows).
Various Java GUI toolkits are accessible through R - Java binding (RJava package)and JGR... Web interfaces exist also.
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 5 / 10
R GUIs status GUI widgets usable with R
GUI widgets usable with R
Tk is an ancient and somehow phased-out GUI toolkit, first associated with the Tcllanguage, but now providing many more bindings, like R (tcltk package).
Gtk2 is the GUI toolkit used by Gnome. It is very well supported un Linux, but itonly run in X11 mode on Ma OS X and requires additional installs on Windows.The RGtk package provides bindings for R.
Qt is the GUI toolkit of KDE and is available for many platforms where its look &feel is (almost) native everywhere. The qtbase package allows for using it from R,but currently only on Linux (no Mac or Windows).
Various Java GUI toolkits are accessible through R - Java binding (RJava package)and JGR... Web interfaces exist also.
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 5 / 10
R GUIs status More dialog boxes and GUI widgets with SciViews
More dialog boxes and GUI widgets with SciViews
SciViews provides a series of additional R packages. We will demonstrate heresvDialogs and tcltk2.
svDialogs
This package provides native and platform independent dialog boxes.
For more customized dialog boxes...
tcltk2
This package provides more Tk widgets and additional tools like Ttk themesmanipulation from R.
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 6 / 10
R GUIs status SciViews-K
SciViews-K and Komodo
At UMONS, we teach biostatistics using SciViews-K.We develop and use SciViews http://www.sciviews.org/SciViews-K to help ourstudents to start working with R.
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 7 / 10
R GUIs status SciViews-K
SciViews - componants
SciViews is made of several elements:
SciViews-R is a series of R packages to bring required functionalities to, say,Komodo and LYX
SciViews-K is an addons for the Open Source code editor Komodo Edit. It providestools to help create, manage and run R code.
SciViews-L is an addons for LYX (WYSIWYM text processor that creates LATEXdocuments) with Sweave and knitr integration.This presentation was made using SciViews-LYX !
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 8 / 10
Conclusions Conclusions
Conclusions
We provide some additional R packages for R GUIs
Developing truly native and platform-independent GUIs for R is not an easy taskbecause:
R is not really designed from the ground for GUI useThere is a new version of R every 6 months, and it tends to break GUI things quite oftenLot of development and debugging required on each supported platform
Currently, developments in SciViews really depends on our limited free time,meaning we develop and maintain functions we need in our lab better than therest
There are relatively few GUI developers for R: skills required... and skilleduseRs/developeRs tend to ignore GUIs!
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 9 / 10
Thank you !
Thank you for your attention !
Presentation made with :
LATEX
Beamer
R & Sweave
LYX & les additions SciViews-LYX / SciViews-R / SciViews-K
The UMONS beamer model by Christophe Troetsler, partly adapted
Cliparts from http://openclipart.org possibly modified using Gimp
Ph. Grosjean (EcoNum, UMONS) R GUIs with SciViews RBelgium 10 / 10