R/back2ForwardSlash.R

back2ForwardSlash <- function(nmax=1, what=character(), sep='\n', ...){
  x2 <- scan(what=what, nmax=nmax, sep=sep, ...)
  x. <- gsub('\\', '/', x2, fixed = TRUE)
}

Try the sos package in your browser

Any scripts or data that you put into this service are public.

sos documentation built on May 2, 2019, 5:48 p.m.