[R] Reanding a windows file

Duncan Murdoch murdoch at stats.uwo.ca
Mon Feb 20 23:43:19 CET 2006


On 2/16/2006 12:39 PM, Alexandra R. M. de Almeida wrote:
> Dear R users
>  
>  Some one knows how to read a windows file with the adress like "D:\CSV\Work\test.csv" without change the "\" by "/" by myself?!
>  There is some function or parameter that read like the adress windows form.
>  I tried to search somethig to substitute the "\" by "/", but I don't find...

Use file.choose(), and don't type anything at all.

Duncan Murdoch




More information about the R-help mailing list