R - Determine if a variable is a string
<p>Is there a way to determine if an R variable is a single string?
<code>is.character</code> looked promising, but there was one issue:
<code>is.character(c("a", "b"))</code> also returned <code>TRUE</code> which is not what I want.</p>