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" using 
R?


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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to