This is how namespaces work in R, there are two copies, one in package

> environment (visible in search()) and one in the namespace. Both copies
> are enclosed (environment(foo)) by the namespace. Thus the behavior is
> identical.
>
> The difference is arising when you debug one of them and not another;
> from global context only the package's function is accessible, from the
> package's context only the namespace copy is accessible. So you must
> take care of these issue.
>
> The worst case happens when you debug a package level function. If you
> call it directly the package version is invoked, but when this function
> is called by another function from the same package, then the namespace
> version is invoked.
>
> I might be able to handle these issues transparently for the user. Will
> look into it. For time being you have to keep track of it yourself.
>
>
keeping these two synchronized would be great.  I get trapped on it
sometimes (at least
I think that is the issue).  My solution has been to rebuild the package at
the current state
and start a fesh copy of R.

	[[alternative HTML version deleted]]

