Skip to content
Prev 294163 / 398503 Next

file path

Why not just construct a valid file name and use that in cat? You can then use 
file.path to join paths together if you want to write to a specific location, 
as in your example.

steve

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On 
Behalf Of Wincent
Sent: Wednesday, May 09, 2012 11:15 AM
To: Tal Galili
Cc: r help
Subject: Re: [R] file path

Hmm, I don't think it gives what I want.

For example, I assign a file name to f,
[1] "e:/a?b.txt"

The resultant character is not accepted as a file name by Windows OS.
On 9 May 2012 20:32, Tal Galili <tal.galili at gmail.com> wrote:
--
Wincent Ronggui HUANG
Sociology Department of Fudan University PhD of City University of Hong Kong 
http://homepage.fudan.edu.cn/rghuang/cv/

______________________________________________
R-help at 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.