Thanks all, I'll try some of these suggestions out but it seems like a
raw string ability could come in helpful -- there aren't any packages
out there that have this capability?
--j
On Tue, Apr 8, 2014 at 1:23 PM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote:
What is wrong with
winpath -
R-helpers:
One of the minor irritations I have is copying paths from Windows
explorer, which look like:
C:\Program Files\R\R-3.0.3
and using them in a setwd() statement, since the \ is, of course,
interpreted as an escape character. I have to, at present, manually
add in the double slashes or
On Tue, Apr 8, 2014 at 4:00 PM, Jonathan Greenberg j...@illinois.eduwrote:
C:\Program Files\R\R-3.0.3
Does R on windows have clipboard support? I can do this on Linux:
readLines(file(clipboard))
[1] C:\\Program Files\\R\\R-3.0.3
- that's from a copy of a path with only single slashes in.
. Weird.
Br. Frede
Sendt fra Samsung mobil
Oprindelig meddelelse
Fra: Barry Rowlingson
Dato:08/04/2014 17.20 (GMT+01:00)
Til: Jonathan Greenberg
Cc: r-help
Emne: Re: [R] Ignore escape characters in a string...
On Tue, Apr 8, 2014 at 4:00 PM, Jonathan Greenberg j
Hello,
There is support for the clipboard on Windows 7.
Also, note that on Windows your solution leaves a connection open so
maybe the following is better.
# copy the next line
C:\Program Files\R\R-3.0.3
clipb - file(clipboard)
winpath - readLines(clipb)
close(clipb)
And, just to avoid
On Tue, Apr 8, 2014 at 4:30 PM, Frede Aakmann Tøgersen fr...@vestas.comwrote:
I'm a bit surprised about the \\ on a linux OS. I'm also surprised that in
a file manager on Windows you can paste e.g. C:/users/frtog/Desktop and it
can find its way to the folder. Weird.
Well, the clipboard
. april 2014 17:40
To: Frede Aakmann Tøgersen
Cc: Jonathan Greenberg; r-help
Subject: Re: [R] Ignore escape characters in a string...
On Tue, Apr 8, 2014 at 4:30 PM, Frede Aakmann Tøgersen
fr...@vestas.commailto:fr...@vestas.com wrote:
I'm a bit surprised about the \\ on a linux OS. I'm also
What is wrong with
winpath - readLines(clipboard )
?
If you want to show that as a literal in your code, then don't bother assigning
it to a variable, but let it echo to output and copy THAT and put it in your
source code.
There is also file.choose()...
8 matches
Mail list logo