f_html_filename_2_link: convert a filename + path or a file_path to a html link

Description Usage Arguments Value See Also Examples

Description

convert a filename + path or a file_path to a html link

Usage

1
2
f_html_filename_2_link(file_name = dir()[1], path = getwd(),
  file_path = NULL, link_text = file_name)

Arguments

file_name

character vector, Default: dir()[1]

path

character vector, Default: getwd()

file_path

file.path( path, file_name)

link_text

character vector

Value

link

See Also

str_replace_all

Examples

1
2
3
4
5
6
7
8
dir()[1]
f_html_filename_2_link()
dir()[1:5]
f_html_filename_2_link(dir()[1:5])

file_path = dir( getwd(), full.names=TRUE)[2]
file_path
f_html_filename_2_link(file_path = file_path)

erblast/oetteR documentation built on May 27, 2019, 12:11 p.m.