Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0401051405110.2157-100000@spock.vulcan>
Date: 2004-01-05T13:14:18Z
From: Thomas Stabla
Subject: Set values in namespaces

Hello,

I want to use global variables in a package which is using a namespace.
But I don`t know how to change the values of the global variables.

I know how to get the value of the variables, e.g.

> base::pi
[1] 3.141593

but following code doesn`t work

> base::pi <- 3.14
Error: Object "base" not found

Thanks for your help,
Thomas Stabla

--
> version
         _
platform i686-pc-linux-gnu
arch     i686
os       linux-gnu
system   i686, linux-gnu
status
major    1
minor    8.1
year     2003
month    11
day      21
language R