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

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

On Sat, Apr 30, 2011 at 10:26 AM, xiagao1982 <xiagao1982_at_gmail.com> 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 gmail.com

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive