[R] function similar to str_replace() in php.

Gabor Csardi csardi at rmki.kfki.hu
Fri Feb 15 15:59:01 CET 2008


I don't know php very well, but perhaps you need 

?sub

Gabor

On Fri, Feb 15, 2008 at 03:54:19PM +0100, Dong-hyun Oh wrote:
> Dear expeRt,
> 
> I would like to know whether a function similar to str_replace() in  
> php exists in R.
> 
> Looking forward to hearing from you.
> 
> Best,
> 
> 
> 
> =========================================================
> Center of Excellence for Science and Innovation Studies,
> Royal Institute of Technology
> Drottning Kristinas väg 30
> 100 44 Stockholm, Sweden
> e-mail: donghoh at infra.kth.se, doriaba2 at snu.ac.kr, oh.dongh at gmail.com
> Office: +46 8 790 67 93
> Fax: +46 8 790 95 17
> Cell phone: +46 73 563 45 22
> =========================================================
> 
> ______________________________________________
> R-help at 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.

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    UNIL DGM



More information about the R-help mailing list