Learn R Programming

bigstatsr (version 0.6.2)

sub_bk: Replace extension 'bk'

Description

Replace extension 'bk'

Usage

sub_bk(path, replacement = "")

Arguments

path

String with extension 'bk'.

replacement

Replacement of '.bk'. Default replaces by nothing.

Value

String with extension '.bk' replaced by replacement.

Examples

Run this code
# NOT RUN {
path <- "toto.bk"
sub_bk(path)
sub_bk(path, ".rds")
# }

Run the code above in your browser using DataLab