Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Rdo_flatinsert

Insert or remove content in an Rd fragment


Description

Insert or remove content in an Rd fragment.

Usage

Rdo_flatinsert(rdo, val, pos, before = TRUE)

Rdo_flatremove(rdo, from, to)

Arguments

rdo

an Rd object.

val

the value to insert.

pos

position.

before

if TRUE, insert the new content at pos, pushing the element 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


Rdpack

Update and Manipulate Rd Documentation Objects

v2.1.1
GPL (>= 2)
Authors
Georgi N. Boshnakov [aut, cre], Duncan Murdoch [ctb]
Initial release
2021-02-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.