Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.SOL.4.20.0212220330580.11477-100000@santiam.dfci.harvard.edu>
Date: 2002-12-22T09:33:03Z
From: Jeff Gentry
Subject: pasting "\" into character strings
In-Reply-To: <Pine.A41.4.44.0212212340540.49202-100000@mead4.u.washington.edu>

> write an R function that writes references to Windows files into a text
> file, where a different Windows programs will later read these references
> in the standard Windows syntax.
>    Can someone tell me how to create the character string
> 'c:\work\part1.txt' from the parts, "c:", "work", an "part1.txt"?

I don't have access to a Windows machine right now to test this, but might
file.path() help here?

-J