Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTi=WCuWHLSdB4v-SrrjJWxrgZYO5VO0JzDFVQNF8@mail.gmail.com>
Date: 2011-02-20T16:58:10Z
From: Rajarshi Guha
Subject: prevent export of specific functions in NAMESPACE

Hi, I'd like to prevent the export a specific function in the
NAMESPACE file. The example in the R documentation uses a regex to
prevent export of a set of functions, but as far as I can see there is
no easy way to specify that a function of a specific name should not
be exported. This thread
(http://www.mail-archive.com/r-help at r-project.org/msg42961.html)
suggests that a regex is not the way to 'negate' a string literal.

So to prevent export of specific functions, do I need to explicitly
list all functions that are to be exported?

-- 
Rajarshi Guha
NIH Chemical Genomics Center