Skip to content
Back to formatted view

Raw Message

Message-ID: <1347806114510-4643292.post@n4.nabble.com>
Date: 2012-09-16T14:35:14Z
From: Özgür Asar
Subject: two questions about character manipulation

Dear all,

I want to manipulate a character string such as 

ex<-"cbind(data$response1,data$response2)"

in R in two ways:

1) extracting the "response1" portion of ex 
2) replacing "$" with "."

I am wondering that is it possible efficiently doing these in R?

Best

Ozgur



--
View this message in context: http://r.789695.n4.nabble.com/two-questions-about-character-manipulation-tp4643292.html
Sent from the R help mailing list archive at Nabble.com.