Skip to content

skranz/ReplaceInFiles

Repository files navigation

This package just provides a small RStudio Addin that allows to find and replace in multiple files.

Install the package directly from Github by running

if (!require(devtools)) install.packages("devtools")
devtools::install_github("skranz/ReplaceInFiles")

You can then use the Addin in RStudio under the Addins menu. By default it searches in all files in your Project directory or in your working directory if no project is open. Instead of just changing the files in the background it opens all files that contain the search pattern in RStudio and replaces the values in RStudio without saving. This allows you the possibility to easily undo changes.

Probably a "Find and replace in files"" feature will be implemented at some point directly in RStudio. It is discussed in this issue. Until this point this RStudio Addin allows a workaround.

About

RStudio Addin to Find and Replace in Multiple Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages