Duncan Murdoch wrote:
> On 10/03/2009 4:40 PM, Wacek Kusnierczyk wrote:
>> Duncan Murdoch wrote:
>>> On 10/03/2009 4:15 PM, Wolfgang Raffelsberger wrote:
>>>> Dear list,
>>>>
>>>> ?require says :
>>>> "... |require| is designed for use inside other functions; it returns
>>>> |FALSE| and gives a warning (rather than an error as |library()| does
>>>> by default) if the package does not exist ..."
>>>>
>>>> However when I run the following code I don't get any TRUE / FALSE
>>>> statements (but the warning only).
>>> You never printed the value, so you didn't see it.  (It was returned
>>> marked invisible, i.e. not for printing.)
>>>
>>
>> maybe it would help if the man page said 'returns invisibly' instead of
>> 'returns'.
>
> It does.

indeed, though not where wolfgang quotes it above, hence my suggestion. 
sorry, my fault, should have checked.

vQ

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to