[R] how to change `Year_Month)201103` into Year_Month)201103 using R?

2013-03-14 Thread Tammy Ma
HI, I have the pattern like `Year_Month)201103` I want to delete single quotes within double quetes. I want to change it into Year_Month)201103 , how to do it in r? Thanks a lot. Tammy [[alternative HTML version deleted]]

Re: [R] how to change `Year_Month)201103` into Year_Month)201103 using R?

2013-03-14 Thread Marc Girondot
Le 14/03/13 09:23, Tammy Ma a écrit : HI, I have the pattern like `Year_Month)201103` I want to delete single quotes within double quetes. I want to change it into Year_Month)201103 , how to do it in r? Thanks a lot. Tammy x - \`Year_Month)201103`\ cat(x) `Year_Month)201103`

Re: [R] how to change `Year_Month)201103` into Year_Month)201103 using R?

2013-03-14 Thread Hasan Diwan
On 14 March 2013 01:56, Marc Girondot marc_...@yahoo.fr wrote: cat(gsub(`, , x)) might want to add fixed=TRUE to the gsub line. -- Sent from my mobile device Envoyait de mon portable __ R-help@r-project.org mailing list

Re: [R] how to change `Year_Month)201103` into Year_Month)201103 using R?

2013-03-14 Thread arun
x- `Year_Month)201103`  gsub([`],,x) #[1] Year_Month)201103 A.K. - Original Message - From: Tammy Ma metal_lical...@live.com To: r-help@r-project.org r-help@r-project.org Cc: Sent: Thursday, March 14, 2013 4:23 AM Subject: [R] how to change `Year_Month)201103` into Year_Month)201103