From bbolker at gmail.com  Wed Jan  2 03:02:30 2013
From: bbolker at gmail.com (Ben Bolker)
Date: Tue, 1 Jan 2013 21:02:30 -0500
Subject: [Rd] sQuote() on zero-length inputs
Message-ID: <50E39536.10203@gmail.com>


  It's not desperately important, but it would seem more consistent to
me if sQuote(character(0)) or sQuote(NULL) returned character(0) rather
than "??" .  This could easily be achieved by putting

if (length(x)==0) return(character(0))

at the beginning ...

  Ben Bolker



[Rd] sQuote() on zero-length inputs
Ben Bolker