Try: file_dir <- "C:\\files\\data\\"
On Mon, Aug 4, 2008 at 5:02 PM, zack holden <[EMAIL PROTECTED]> wrote: > > Dear list, > > After searching many old posts, I can't find the solution to a simple problem. > > can someone tell me how to create a character string with multiple > backslashes, as in: > > file_dir <- c("C:\files\data\") > > I need to create this string and then paste it to many files names for batch > processing in another software program. R won't accept the backslash and > removes it. > > Thanks for any suggestions, > > zack > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.