Insert content in an Rd fragment

Description

Insert content in an Rd fragment.

Usage

1
2
3
Rdo_flatinsert(rdo, val, pos, before = TRUE)

Rdo_flatremove(rdo, from, to)

Arguments

rdo

an Rd object.

val

the value to insert.

2

pos

poistion.

before

if TRUE insert pushing the elemnt at pos forward.

from

beginning of the region to remove.

to

end of the region to remove.

Details

Rdo_flatinsert inserts val at position pos, effectively by concatenation.

Rdo_flatremove removes elements from from to to.

Value

the modified rdo

Author(s)

Georgi N. Boshnakov

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.