Re: [R] create namespace without creating a package?

From: Gabor Grothendieck <>
Date: Sun, 01 May 2011 09:15:24 -0400

On Sat, Apr 30, 2011 at 10:26 AM, xiagao1982 <> wrote:
> Hi all,
> I am a C++/C# programmer who is new to R. I would like to use something like "namespace" to organize my functions without creating a package. How can I do this? Thanks!

You can arrange them in classes using reference classes or the R.oo package or you could arrange them in proto objects. for the last one see the section on traits in the proto package.

Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 05 May 2011 - 06:25:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive