[Rd] 'unique' error message is printed despite silent=TRUE (PR#13547)

Duncan Murdoch murdoch at stats.uwo.ca
Sun Feb 22 21:06:03 CET 2009


On 22/02/2009 2:15 PM, macrakis at alum.mit.edu wrote:
> In 2.8.0/Windows Vista:
> 
> When 'unique' gives a type error message, it prints out even if errors
> are being caught:
> 
>> try(unique(quote(hello)),silent=TRUE)
> hello
> 
> This comes from the .Internal unique routine:
> 
>> try(.Internal(unique(quote(hello),NULL,NULL)),silent=TRUE)
> hello
> 
> I guess it is using the internal equivalent of print rather than the
> internal equivalent of stop.

Still there in R-devel; I'll see if I can fix it.

Duncan Murdoch



More information about the R-devel mailing list