#' pasteWinpath gsub wrapper. By default changes \ to / from windows paths from cliboard.
#'
#' @param sub Optional gsub to replace '\\' with in converted path. Set to '\\\\' to ignore.
#'
#' @export
pasteWinpath <- function(sub = "/"){
path <- utils::readClipboard()
path <- gsub("\\\\", sub, path)
return(path)
}
#' @rdname pasteWinpath
#' @export
pasteURL <- pasteWinpath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.