From ernest.turro at ic.ac.uk  Mon May 14 13:50:59 2007
From: ernest.turro at ic.ac.uk (Ernest Turro)
Date: Mon, 14 May 2007 12:50:59 +0100
Subject: [Rd] file separator inconsistencies on windows?
Message-ID: <4D68C58E-A646-4954-9829-EC8A51959D2A@ic.ac.uk>

tempdir() on windows returns the path using "\\" as file separator.  
But .Platform$file.sep returns "/". As a result, you get  
inconsistencies like:

 > file.path(tempdir(), "foo")

[1] "C:\\WINDOWS\\Temp\\RtmpYEIXrb/foo" # Mix of \\ and /

I'm not sure if this can cause problems but I thought I'd let you  
know just in case.



[Rd] file separator inconsistencies on windows?
Ernest Turro