Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sub_bk

Replace extension '.bk'


Description

Replace extension '.bk'

Usage

sub_bk(path, replacement = "", stop_if_not_ext = TRUE)

Arguments

path

String with extension '.bk'.

replacement

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

stop_if_not_ext

If replacement != "", whether to error if replacement is not an extension (i.e. starting with a dot).

Value

String with extension '.bk' replaced by replacement.

Examples

path <- "toto.bk"
sub_bk(path)
sub_bk(path, ".rds")

bigstatsr

Statistical Tools for Filebacked Big Matrices

v1.5.1
GPL-3
Authors
Florian Privé [aut, cre], Michael Blum [ths], Hugues Aschard [ths]
Initial release
2021-04-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.