Skip to content

package

4 messages · Gregory BENMENZER, Dimitris Rizopoulos, Gabor Grothendieck +1 more

#
hello,

I created a package with my functions, and i wand to hide the code of some functions.

Could you help me ?

Gr?gory



--------------------------------------------------------------
GAZ DE FRANCE

Gr?gory Benmenzer

DIRECTION DE LA RECHERCHE
P?le Economie Statistiques et Sociologie
361 Avenue du pr?sident Wilson - BP 33
93211 La Plaine Saint Denis cedex

tel : 01 49 22 55 07
fax : 01 49 22 57 10
#
you could use a namespace, look at "Writing R extensions" doc, 
section 1.6

I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Gregory BENMENZER" <gregory.benmenzer at gazdefrance.com>
To: <R-help at stat.math.ethz.ch>
Sent: Thursday, April 07, 2005 2:43 PM
Subject: [R] package
#
On Apr 7, 2005 8:43 AM, Gregory BENMENZER
<gregory.benmenzer at gazdefrance.com> wrote:
There was some discussion on the list that there is work being
done on an R compiler.  I don't know what the status is or whether
it would indeed solve your problem but you could try googling
around for it or maybe someone else on the list can provide
more info.
#
You may want to think about using a package NAMESPACE.  I don't know if 
that is what you mean, but it is something available for making some 
functions "public" and others "package private", but it doesn't give a 
mechanism to ABSOLUTELY hide code.

Sean
On Apr 7, 2005, at 11:08 AM, Gabor Grothendieck wrote: