Learn R Programming

rsed: Stream editing

An R package with tools for stream editing: manipulating text files with insertions, replacements, deletions, substitutions, and comments. You can find package vignettes and documentation here.

To cite:

Sego LH. 2016. rsed: Stream editing in R. Pacific Northwest National Laboratory. https://pnnl.github.io/rsed.

To install:

You can install the package from CRAN or from GitHub:

CRAN
install.packages("rsed")
GitHub
# If devtools is not already installed, do this:
install.packages("devtools") 

# Now install the package
devtools::install_github("pnnl/rsed")

Acknowledgements:

This package was developed with support from the Signature Discovery Initiative at Pacific Northwest National Laboratory, conducted under the Laboratory Directed Research and Development Program at PNNL, a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.

Copy Link

Version

Install

install.packages('rsed')

Monthly Downloads

4

Version

0.1.2

License

BSD_3_clause + file LICENSE

Maintainer

Landon Sego

Last Published

November 21st, 2017

Functions in rsed (0.1.2)

sed_comment

Add or remove comment characters to a line
sed_insert

Insert one or more lines
streamEdit

High-level wrapper for stream editing functions
sed_replace

Delete or replace an entire line
as.stream

Converts a character vector to an object of class "stream"
rsed-package

rsed
sed_substitute

Substitute one string for another