From pgilbert@bank-banque-canada.ca  Fri Jun 26 16:41:12 1998
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Fri, 26 Jun 1998 11:41:12 -0400
Subject: scoping
Message-ID: <98Jun26.120612edt.13454@mailgate.bank-banque-canada.ca>

Can Luke Tierney's recent S-new post on scoping be included in the R FAQ?

I'm just going through my package and eliminating a few instances of "eval" as I
hadn't realized the dangers. I noticed that one way I've used eval is for
prompting, as in

n <- eval(parse(prompt="Enter the number of singular values to use: "))

I presume this is not too dangerous, but this has never really seemed like the
right way to do this. Can someone suggest a better alternative?

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


scoping
Paul Gilbert