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

Usage Arguments Value See Also Examples

View source: R/f_html.R

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 June 13, 2018, 9:05 a.m.