From Rainer at krugs.de  Thu Jan 23 10:10:35 2014
From: Rainer at krugs.de (Rainer M Krug)
Date: Thu, 23 Jan 2014 10:10:35 +0100
Subject: [Rd] Creating Namespace and locking it during runtime?
In-Reply-To: <52E0D189.9080106@stats.ox.ac.uk>
References: <52E02F8A.7040602@krugs.de> <52E0D189.9080106@stats.ox.ac.uk>
Message-ID: <52E0DC8B.90709@krugs.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks - looks very promising.

Rainer


On 01/23/14, 09:23 , Prof Brian Ripley wrote:
> See ?lockEnvironment, which ??lock shows as ?bindenv .
> 
> On 22/01/2014 20:52, Rainer M Krug wrote: Hi
> 
> I would like to create a Namespace during runtime, and not during 
> loading a package.
> 
> My reasoning is that I want to be able to store a number of
> variables and to "protect them from the user" (might be even
> myself). The code will not be in a package, but will be
> source()ed.
> 
> Next step: pass variables from org mode / emacs to R and to
> protect these variables from accidental change / removal.
> 
> Any suggestions on how to do this?
> 
> Cheers,
> 
> Rainer
> 
> 
>> 
>> ______________________________________________ 
>> R-devel at r-project.org mailing list 
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>> 
> 
> 

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJS4NyLAAoJENvXNx4PUvmCXyIH/2+SzGPuvHqBcWBrnRbZV1sV
nLa/NUKCgKq74fvDFbkCocOlVo6Cxkd5+r/FCQXpibiMUmgMyJTsABO1VkuPzNeT
ACXIwRKaci7/91el5OrvL1HBXcAWVdrYBXV6hO7mRqgp/Ait0G49L5rHekDjOhh0
9EJCi81pyzclnXpiu0IEjD2USVq3+VFKBxIiFTcMX6j8Lnzjud5cfVAhH0AOCqN0
asN+BCzNe43moKv1fxyYnSbXTflx56a6/cCWF+XEPpGTvJGhuaZ/WouvA8AledBt
/ViEraWKzvNIcWZAyCbV4aDK83Xu2EJel8cfiXuUUbp2dCZSce3pbifpYUQXqyg=
=FT1o
-----END PGP SIGNATURE-----



[Rd] Creating Namespace and locking it during runtime?
Rainer M Krug