pasteWinpath gsub wrapper. By default changes \ to / from windows paths from cliboard.

pasteWinpath(sub = "/")

pasteURL(sub = "/")

Arguments

sub

Optional gsub to replace '\' with in converted path. Set to '\\' to ignore.