[R] Editing Strings in R

From: Bulutoglu Dursun A Civ AFIT/ENC <Dursun.Bulutoglu_at_afit.edu>
Date: Fri 30 Jul 2004 - 06:56:31 EST

        I was wondering if there is a way of editting strings in R. I have a set of strings and each set is a row of numbers and paranthesis.

	For example the first row is: 
	(0 2)(3 4)(7 9)(5 9)(1 5)
	and I have a thousand or so such rows. I was wondering how I
could get the corresponding string obtained by adding 1 to all the numbers in the string above.

        Dursun

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 30 07:01:32 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:41:20 EST