On 1/16/2013 11:40 AM, Duncan Murdoch wrote:
>>
>> \S 1.6.1 of the manual says regarding importFrom():
>> Using |foo:::f| instead of |foo::f| allows access to unexported objects.
>> This is generally not recommended, as the semantics of unexported
>> objects may be changed by the package author in routine maintenance.
>>
>> Questions:
>> 1.  Why doesn't this work?
>
> I think you misread the manual.  It is talking about ways to access 
> functions other than by using importFrom.  You can use car:::df.terms 
> in your functions.
Thanks for the clarification, but I blame the manual. Could I suggest a 
change in the manual to make this clearer:

Using |foo:::f| directly in a function  instead of |foo::f| allows 
access to unexported objects (rather than in importsFrom()). ...


-- 
Michael Friendly     Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University      Voice: 416 736-2100 x66249 Fax: 416 736-5814
4700 Keele Street    Web:   http://www.datavis.ca
Toronto, ONT  M3J 1P3 CANADA


	[[alternative HTML version deleted]]

