typo in [Re: [R] two questions]

Martin Maechler maechler at stat.math.ethz.ch
Fri Jan 22 10:32:37 CET 1999


>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch> writes:

>>>>> "Jim" == Jim Lindsey <jlindsey at alpha.luc.ac.be> writes:
    Jim> 1. Brian has suggested that I check that the proper version of my
    Jim> required library, rmutil, is loaded by the other libraries. Is
    Jim> there any way of checking library versions when loading them?

    MM> the library can define a variable "rmutilVersion".
    MM> you would do

    MM> library(rmutil)
    MM> if(!exists("rmutilVersion") && rmutilVersion < 2.1)
    MM>     stop("You must use at least version 2.1 of the `rmutil' package")

``of course'', the "&&" above should be "||" !
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list