require() is not giving TRUE / FALSE statements ?
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'. vQ