On 11-08-12 4:52 AM, mafia88 wrote:
Hi,
I think it is not possible in R but I rather ask before giving up:
What I have: I have copied "C:\Program Files\R" into my clipboard.
What I want: setwd(transform("C:\Program Files\R")) where the function
transform should change the "C:\Program Files\R" f
Interesting question. It is really about how to avoid the interpretation of \
as an escape character in a string. I wonder if it is possible.
Anyway, have you tried the following:
setwd(readLines("clipboard",warn=F))
"clipboard" is a special filename that tells R to read from the clipboard.
Mic
On 12.08.2011 10:52, mafia88 wrote:
Hi,
I think it is not possible in R but I rather ask before giving up:
What I have: I have copied "C:\Program Files\R" into my clipboard.
What I want: setwd(transform("C:\Program Files\R")) where the function
transform should change the "C:\Program Files\R"
Dear R-developers,
I am wondering if it is possible to add bookmarks automatically to individual
figures for pdf() when multiple figures are produced? If so, it would be very
handy.
Best regards,
Jing Hua
[[alternative HTML version deleted]]
Hi @ all,
I have the following question:
Is there a possibilty to cbind tree dataframes with different numbers of
rows?
Here is my example:
/> b2007
5 8
1 1
> b2008
3 6 8
3 1 2
> b2009
1 3 8
1 2 1
> cbind (b2007,b2008,b2009)
b2007 b2008 b2009
3 1 3 1
6 1 1 2
8
Hi,
I think it is not possible in R but I rather ask before giving up:
What I have: I have copied "C:\Program Files\R" into my clipboard.
What I want: setwd(transform("C:\Program Files\R")) where the function
transform should change the "C:\Program Files\R" from my clipboard to
"C:\\Program Files
Thanks a lot for the help Thomas and William, that solved it. I am
used to programming Java and didn't think of checking my print
function.
Regards Lars
2011/8/11 Thomas Lumley :
> On Fri, Aug 12, 2011 at 1:06 AM, Lars Wißler wrote:
>> Dear R users,
>>
>> I want to call C code via the .C or .Cal