[R] Very important! Global variables in R?

Sean Davis sdavis2 at mail.nih.gov
Tue Jan 24 14:23:21 CET 2006




On 1/24/06 8:15 AM, "Christian Hinz" <Chris.Planet at gmx.de> wrote:

> Hello @all R-Help-User.
> 
> I need urgently your assistance!!!
> I need a global variable in R. The variable ought to be known for every
> functions and subfunctions.  It is only to comparison purposes of the
> numeric algorithms. Is there a possibility?
> 
> please answer in german if possible.

 a <- 1 

is in your workspace, so it is "global" in the sense that it is accessible
to functions.  Be sure to read

http://cran.r-project.org/doc/manuals/R-intro.html

for more information....

Sean




More information about the R-help mailing list