Skip to content
Back to formatted view

Raw Message

Message-ID: <MPG.25ca756a542f2ef09896d5@news.gmane.org>
Date: 2010-01-27T15:08:46Z
From: Karl Ove Hufthammer
Subject: difference between ' and "

On Wed, 27 Jan 2010 14:15:28 +0100 Ivan Calandra <ivan.calandra at uni-
hamburg.de> wrote:
>  From my experience (which is limited), it seems to me that ' 
> (apostrophe) and " (quotation marks) are the same in R: they are both 
> used for strings. The only difference would be taste.
> But I've recently read about the difference between = and <- and I 
> thought that there might be a difference here too in some cases.

Well, you can use ' but not " inside "" (without escaping).
Also, you can use " but not ' inside '' (without escaping).

-- 
Karl Ove Hufthammer