[R] delete "-character from strings in matrix

From: Werner Wernersen <pensterfuzzer_at_yahoo.de>
Date: Sun 12 Jun 2005 - 21:09:57 EST


I have strings where occasionally some "-chars occur. How can I delete these chars?

I tried it with gsub but using "" as replace does not work.

Thanks a lot for any hint!


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Jun 12 21:14:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:31 EST