dear R users
 
 
 I need to modify values in a vector, the modification needs to be based on a matrix which define the from_index, to_index and a value.
 
 example:
 > x <- c(1, 0, 6, 3, 8, 9, 4, 3, 0)
 > m
   from   to   value
 1     2     3   5
 2     5     7   8
 3     9     9  11
 > 
 expected:
 1 5 5 3 8 8 8 3 11
 insert {R.utils} and append are too expensive and indirect for the task. 
 
 
 thank you
 
 
		
---------------------------------

	[[alternative HTML version deleted]]

