[R-gui] Windows/GraphApp require package GUI

Philippe Grosjean phgrosjean at sciviews.org
Mon Aug 2 16:39:44 CEST 2004


This is excellent. Thank you James!
Errors due to missing package is a big problem with beginners... now there
is a solution. However, since the Require package is not in the standard
distribution of R, it is still complex to use because you have to check in
your code if (1) it is running under Windows, and (2) if the Require package
is installed... and using Require(Require) is not especially useful ;-)

So, it would be nice if the GUI extension was introduced right in the
standard require() function. Do you intend to propose such a thing to the R
core team?

Best,

Philippe

.......................................................<?}))><....
 ) ) ) ) )
( ( ( ( (   Prof. Philippe Grosjean
\  ___   )
 \/ECO\ (   Numerical Ecology of Aquatic Systems
 /\___/  )  Mons-Hainaut University, Pentagone
/ ___  /(   8, Av. du Champ de Mars, 7000 Mons, Belgium
 /NUM\/  )
 \___/\ (   phone: + 32.65.37.34.97, fax: + 32.65.37.33.12
       \ )  email: Philippe.Grosjean at umh.ac.be
 ) ) ) ) )  SciViews project coordinator (http://www.sciviews.org)
( ( ( ( (
...................................................................

-----Original Message-----
From: r-sig-gui-bounces at stat.math.ethz.ch
[mailto:r-sig-gui-bounces at stat.math.ethz.ch]On Behalf Of James
Wettenhall
Sent: Monday, 02 August, 2004 14:01
To: r-sig-gui at stat.math.ethz.ch
Subject: [R-gui] Windows/GraphApp require package GUI


Hi,

R GUI users/developers using the _Windows_ operating system
may be interested in this:

http://bioinf.wehi.edu.au/folders/james/Require/

install.packages("Require",
  contriburl="http://bioinf.wehi.edu.au/folders/james/Require")

Following on from some recent discussion relating to John
Fox's Rcmdr (and my GUI packages limmaGUI and affylmGUI), I've
now written a GUI version of require(package), using GraphApp,
the GUI toolkit which Rgui for Windows is implemented in.  If
the required package is already installed, my function
Require(...) should behave exactly as require(...) does.

But if the required package is missing, the user should be
guided through possible installation sources:
(CRAN, Bioconductor, local repository, or local zip file),
with some dialogs and message boxes.

Let me know whether it works for you, and whether you think this
sort of thing would be useful.  I can try to write a
platform-independent version (Tcl/Tk?) as well.  But I think
the GraphApp version feels more 'native' for Windows Rgui
users.

It doesn't yet use any of the reposTools functions from
Bioconductor, but I may try to implement them at some stage.

Regards,
James

_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI at stat.math.ethz.ch
https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-gui



More information about the R-SIG-GUI mailing list