FAQ
I've searched the doc for insert
and could not find the way to do the following,
hope someone can help:

Let's say we have a vector:
a
[1] "1" "2" "3" "5" "6" "3"

and we want to insert a "7" after
any given "3", i.e., we want vector a
to become:

[1] "1" "2" "3" "7" "5" "6" "3" "7"

That is, how can we replce one
element by more than one elements?
(...causing the vector to go beyond its
length)

Thanks

Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 13 | next ›
Discussion Overview
groupr-help @
categoriesr
postedFeb 17, '03 at 1:51p
activeFeb 20, '03 at 3:13a
posts13
users9
websiter-project.org
irc#r

People

Translate

site design / logo © 2017 Grokbase