rprofile_clear: A function to clear my .Rprofile

Description Usage Arguments Details Examples

View source: R/rprofile_clear.R

Description

A function to clear my .Rprofile

Usage

1
rprofile_clear(local.rprofile.path = "~/.Rprofile")

Arguments

local.rprofile.path

character value. Path to local .Rprofile. Defaults to common "~/.Rprofile".

Details

This function takes an existing Rprofile file and deletes the text. Note that it checks for the file at the common "~/.Rprofile" location, but can be manually adjusted for projects, etc.

Examples

1
2
3
library(learylib)

rprofile_clear()  # using default settings

mleary/learylib documentation built on Sept. 6, 2020, 9:19 p.m.