[R] using paste and "\" to create a valid filename

Jeff Gentry jgentry at jimmy.harvard.edu
Fri Aug 19 17:17:41 CEST 2005


> Sometimes even the easy stuff is difficult (for me)... I want to get
> input from different places to paste together an excel filename (so
> you know I'm using windows) that I can open with RODBC.  I know about

Using file.path() might be an easier solution for this (and it will allow
your code to work in a cross-platform manner)




More information about the R-help mailing list