Skip to content
Prev 156981 / 398506 Next

How to convert backslash to slash?

On Wed, 24 Sep 2008, Duncan Murdoch wrote:

            
Thank you for your reply. readClipboard is a partial solution to this 
case. More generally, if I want to wrtie a R program in which users are 
asked to input a file path. I want this program to be robust and tolerant, 
that is users can type in C:\Acer or C:/Acer.  What's the way to do this?

Shengqiao Li