Skip to content
Prev 47623 / 63421 Next

$new cannot be accessed when running from Rscript and methods package is not loaded

On 11/02/2014 12:06 PM, Winston Chang wrote:
I think the idea is that the search list belongs to the user, and 
packages shouldn't be messing with it.  If the user doesn't have 
mypackage and methods in his/her search list, maybe there's a reason for 
that, and mypackage::foo shouldn't mess with it.

I think the real problem is that loading the mypackage namespace isn't 
enough to get the functions within it to work.

Duncan Murdoch