The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

bolder

bolder is a small RStudio add-in package for turning the current editor line into clean section headers for scripts.

Write a word or phrase, click the line, press a keyboard shortcut, and bolder replaces that line with an uppercase section title.

data cleaning

Styles

Title:

###############################################################
###############################################################
######################## DATA CLEANING ########################
###############################################################
###############################################################

Subtitle:

###############################################################
#---------------------- DATA CLEANING ------------------------#
###############################################################

Simple:

# DATA CLEANING -----------------------------------------------

Installation

Install the released version from CRAN:

install.packages("bolder")
library(bolder)

Restart RStudio after installing.

Keyboard Shortcuts

Configure shortcuts manually in RStudio:

Tools > Modify Keyboard Shortcuts

Search for bolder and assign your preferred shortcuts.

Suggested shortcuts:

Usage

In an .R script, write a word or phrase:

final model

Click that line and press one of the shortcuts.

You can also run the add-ins from the RStudio Addins menu:

Width

By default, bolder uses getOption("width") to decide how wide the generated title should be.

To set a custom width:

options(bolder.width = 90)

To make that width permanent, add the same line to your .Rprofile.

Troubleshooting

If the shortcuts do not appear or do not work:

  1. Close all RStudio windows.
  2. Open RStudio again.
  3. Go to Tools > Modify Keyboard Shortcuts.
  4. Search for bolder.

If one of the shortcuts is already used by RStudio, choose another shortcut that includes B.

Development

Check the package locally with:

devtools::check()

Or from a terminal:

R CMD check --no-manual bolder

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.