>>>>> "FS" == Frank Schwidom <schwi...@gmx.net> writes:

    FS> Hi,
    FS> As I can see via path.expand a filename which contains a tilde anywhere 
gets automatically crippled.

    FS> +> path.expand("a ~ b")
    FS> [1] "a /home/user b"

    FS> +> path.expand("a ~ b ~")
    FS> [1] "a /home/user b /home/user"

    FS> I want to open a file regardless whether its name contains any 
character unless 0.

    FS> The unix filesystem allow the creation of such files, it sould be 
possible to open these.

    FS> How can I switch off any file crippling activity?

    FS> Kind regards,
    FS> Frank

Do you need 'path.expand'? For example,

    readLines("~/Desktop/a ~ b")

reads just fine the content of a file named
'a ~ b' on my desktop.


-- 
Enrico Schumann
Lucerne, Switzerland
http://enricoschumann.net

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to