Learn R Programming

⚠️There's a newer version (0.4-2) of this package.Take me there.

textutils

Utilities for handling character vectors that store human-readable text (either plain or with markup, such as HTML).

[More]

Installing the package

A stable version of the package is available from CRAN .

The latest version is available from http://enricoschumann.net. In an R session, just type:

install.packages('textutils', type = 'source',
                 repos = c('http://enricoschumann.net/R', getOption('repos')))

For the latest development version, check out the Git repository and build it. In a shell (e.g. sh or bash):

## first time: cd to directory and ...
$ git clone https://github.com/enricoschumann/textutils

## ... build and install the package
$ R CMD build textutils
$ R CMD INSTALL textutils_<0.1-0>.tar.gz  ## adjust version number

## optionally check
$ R CMD check textutils_<0.1-0>.tar.gz    ## adjust version number


## update package: cd to package directory and ...
$ git pull
$ cd ..
$ R CMD build textutils  # build/INSTALL/check as above

Copy Link

Version

Install

install.packages('textutils')

Monthly Downloads

1,659

Version

0.1-9

License

GPL-3

Maintainer

Enrico Schumann

Last Published

August 17th, 2018

Functions in textutils (0.1-9)

TeXencode

Encode Specical Characters for TeX/LaTeX
title_case

Remove Leading and Trailing White Space
toHTML

Convert R Objects to HTML
latexrule

LaTeX Rule.
toText

Convert Objects to (Plain) Text
trim

Remove Leading and Trailing White Space
spaces

Create Vectors of White Space
rmrp

Remove Repeated Pattern
TeXunits

Translate TeX Units of Measurement
strexp

Expand String to Fixed Width
fill_in

Fill In Templates
HTMLdecode

Decode and Encode HTML Entities
textutils-package

textutils
btable

Barplot Table
valign

Vertically Align Strings