Analysis in R: “cleaR” package, which removes everything cleanly

RAnalytics
スポンサーリンク

Introducing a package to delete console contents and all objects (environment:environment). This package is recommended for those who want to clean up the R.

Package version is 0.0.4. Checked with R version 4.2.2.

スポンサーリンク

Install Package

Run the following command.

#Install Package
install.packages("cleaR")

Example

See the command and package help for details.

#Loading the library
library("cleaR")

#Delete console, all objects (environment): clear command
#Delete console: keep_console command; TRUE/FALSE
#Delete all objects (environment):keep_environment command;TRUE/FALSE
clear(keep_console = FALSE,
      keep_environment = FALSE)

I hope this makes your analysis a little easier !!

Copied title and URL