Re: [R] Quotes inside char string

2011-12-20 Thread David Winsemius
esday, December 20, 2011 1:20 PM To: Mike Pfeiff Cc: 'R-help@r-project.org' Subject: Re: [R] Quotes inside char string On 20.12.2011 20:10, Mike Pfeiff wrote: How do I return a character string with quotes inside string? For example, what logic do I use if I wan

Re: [R] Quotes inside char string

2011-12-20 Thread Mike Pfeiff
Duncan, Thank you for referring me to Uwe's answer. -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Tuesday, December 20, 2011 1:14 PM To: Mike Pfeiff Cc: 'R-help@r-project.org' Subject: Re: [R] Quotes inside char string On 20/12/201

Re: [R] Quotes inside char string

2011-12-20 Thread Mike Pfeiff
e] Sent: Tuesday, December 20, 2011 1:20 PM To: Mike Pfeiff Cc: 'R-help@r-project.org' Subject: Re: [R] Quotes inside char string On 20.12.2011 20:10, Mike Pfeiff wrote: > How do I return a character string with quotes inside string? > > For example, what logic do I use if

Re: [R] Quotes inside char string

2011-12-20 Thread Uwe Ligges
On 20.12.2011 20:10, Mike Pfeiff wrote: How do I return a character string with quotes inside string? For example, what logic do I use if I want to return the following: Test Score="A" I tried the following Score<-paste("Test Score=","A",sep='"') But it returned a "\"

Re: [R] Quotes inside char string

2011-12-20 Thread Duncan Murdoch
On 20/12/2011 2:10 PM, Mike Pfeiff wrote: How do I return a character string with quotes inside string? For example, what logic do I use if I want to return the following: Test Score="A" I tried the following Score<-paste("Test Score=","A",sep='"') But it returned a "\"

[R] Quotes inside char string

2011-12-20 Thread Mike Pfeiff
How do I return a character string with quotes inside string? For example, what logic do I use if I want to return the following: Test Score="A" I tried the following Score<-paste("Test Score=","A",sep='"') But it returned a "\" inside: "Test Score=\"A"