Am 20.05.2014 19:03, schrieb Duncan Murdoch:
I have no idea what you mean by a callback from utils.
clipboard {utils}
readClipboard
function (format = 1L, raw = FALSE)
.Call(C_readClipboard, format, raw)
bytecode: 0x080d6c20
environment: namespace:utils
I do not know whether it is an real
Sorry
https://en.wikipedia.org/wiki/Callback_%28computer_programming%29
Knut
__
R-help@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
An easy non-R solution is to use a clipboard utility like PathCopy.
Most have the capability to configure how a windows path is copied
to the clipboard.
On 5/20/2014 6:37 AM, Knut Krueger wrote:
Is there any function to change the windows path to linux path?
especially I would like to have
Am 20.05.2014 19:00, schrieb David L Carlson:
Now I understand. Not really a solution, but you can instruct students to use
only forward slashes in their paths since R will convert to backslash on
Windows systems automatically. After a couple of broken commands, they should
get the hang of
I tend to view this as enforced training in string escaping.
One option i have not seen mentioned is the file.choose function, which is GUI
but a little tedious for deep directories.
---
Jeff Newmiller
On Wed, May 21, 2014 at 9:25 AM, Jeff Newmiller
jdnew...@dcn.davis.ca.us wrote:
I tend to view this as enforced training in string escaping.
One option i have not seen mentioned is the file.choose function, which is
GUI but a little tedious for deep directories.
I also was thinking about
Is there any function to change the windows path to linux path?
especially I would like to have the possibility to use
f.e
path=C:\foo1\foo2\
I can import those paths with
path = readline() but not directly in a script
Regards Knut
__
On 20 May 2014, at 12:37 , Knut Krueger r...@knut-krueger.de wrote:
Is there any function to change the windows path to linux path?
especially I would like to have the possibility to use
f.e
path=C:\foo1\foo2\
I can import those paths with
path = readline() but not directly in a
Most importantly, \\ is a string literal containing ONE backslash character.
Yes you can create strings in R source code that represent Windows-style paths,
but they must APPEAR different in that context. You may find it helpful to know
that the print function can output escaped strings
Am 20.05.2014 15:22, schrieb Jeff Newmiller:
Most importantly, \\ is a string literal containing ONE backslash character.
Yes you can create strings in R source code that represent Windows-style paths, but they
must APPEAR different in that context. You may find it helpful to know that the
-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Knut Krueger
Sent: Tuesday, May 20, 2014 9:54 AM
To: 'R R-help'
Subject: Re: [R] \ escape sequence and windows path
Am 20.05.2014 15:22, schrieb Jeff Newmiller:
Most importantly, \\ is a string literal containing ONE backslash
character
On Tue, May 20, 2014 at 7:54 AM, Knut Krueger r...@knut-krueger.de wrote:
Am 20.05.2014 15:22, schrieb Jeff Newmiller:
Most importantly, \\ is a string literal containing ONE backslash
character. Yes you can create strings in R source code that represent
Windows-style paths, but they must
Am 20.05.2014 17:32, schrieb Bert Gunter:
paste(a,b,sep=\\) ## \\ is the escaped single backslash
[1] a\\b
cat(paste(a,b,sep=\\))
a\b
Does this help clarify? Or have i misunderstood you?
@David and @Bert
unfortunately yes. My question is more a system level question as about
any
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Knut Krueger
Sent: Tuesday, May 20, 2014 11:05 AM
To: r-help@r-project.org
Subject: Re: [R] \ escape sequence and windows path
Am 20.05.2014 17:32, schrieb Bert Gunter:
paste(a,b,sep=\\) ## \\ is the escaped single
On 20/05/2014 12:04 PM, Knut Krueger wrote:
Am 20.05.2014 17:32, schrieb Bert Gunter:
paste(a,b,sep=\\) ## \\ is the escaped single backslash
[1] a\\b
cat(paste(a,b,sep=\\))
a\b
Does this help clarify? Or have i misunderstood you?
@David and @Bert
unfortunately yes. My question is more
Duncan:
...
If you want to solve the problem I have a pathname in the clipboard,
and want to put it in a string, it's not hard to write
a function that essentially does readLines(clipboard)
Does not the Windows version R function readClipboard() do this already?
-- Bert
Bert Gunter
On 20/05/2014 1:15 PM, Bert Gunter wrote:
Duncan:
...
If you want to solve the problem I have a pathname in the clipboard,
and want to put it in a string, it's not hard to write
a function that essentially does readLines(clipboard)
Does not the Windows version R function readClipboard() do
] On
Behalf Of Bert Gunter
Sent: Tuesday, May 20, 2014 12:15 PM
To: Duncan Murdoch
Cc: r-help@r-project.org
Subject: Re: [R] \ escape sequence and windows path
Duncan:
...
If you want to solve the problem I have a pathname in the clipboard,
and want to put it in a string, it's not hard to write
18 matches
Mail list logo