Hello,
I wonder how I might create a package that only reveals some of the function
in the package to the user.
I've tried creating an R package using the following:
f - function(x,y) x+y
g - function(x,y) x-y
h - function(x,y) f(x,y)*g(x,y)
package.skeleton(list=c(f,g,h), name=mypkg)
and
On 11-09-01 2:27 AM, Eran Eidinger wrote:
Hello,
I wonder how I might create a package that only reveals some of the function
in the package to the user.
I've tried creating an R package using the following:
f- function(x,y) x+y
g- function(x,y) x-y
h- function(x,y) f(x,y)*g(x,y)
Yes, the package works fine without the NAMESPACE file, and all 3 functions
are visible.
On Thu, Sep 1, 2011 at 2:02 PM, Duncan Murdoch murdoch.dun...@gmail.comwrote:
On 11-09-01 2:27 AM, Eran Eidinger wrote:
Hello,
I wonder how I might create a package that only reveals some of the
On 11-09-01 7:04 AM, Eran Eidinger wrote:
Yes, the package works fine without the NAMESPACE file, and all 3 functions
are visible.
When you include the NAMESPACE file, what does R CMD check tell you?
Duncan Murdoch
On Thu, Sep 1, 2011 at 2:02 PM, Duncan
On 9/1/2011 1:04 PM, Eran Eidinger wrote:
Hello,
I wonder how I might create a package that only reveals some of the
function
in the package to the user.
I've tried creating an R package using the following:
f- function(x,y) x+y
g- function(x,y) x-y
h- function(x,y) f(x,y)*g(x,y)
5 matches
Mail list logo