Re: [R] paste (CTRL + v) not working rgui

2012-03-18 Thread AAsk
I am using 2.14.2 and use CTL+C & CTL+V all the time without any surprises; it simply works. I suspect that you are using 2.14.2 on Windows 7 computer as user who does not have Administrator provileges. If that is the case, by default, R will not have access to the clipboard, hence the failures. T

Re: [R] read.xls - ampersand different in XLS and XLSX

2012-03-08 Thread AAsk
& is an XML entity & Excel 2007 onwards are XML aware. If your worksheet does not exceed 65536 rows by 256 columns, the easiest solution is to open the XLSX file and save it in XLS format. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailma

Re: [R] if statement

2012-03-07 Thread AAsk
> x <- -1:4 > x<0 # returns TRUE (1) or FALSE (0) [1] TRUE FALSE FALSE FALSE FALSE FALSE > x+as.numeric(x<0) [1] 0 0 1 2 3 4 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-

[R] rcom package - Events

2012-01-07 Thread AAsk
I have downloaded the PDF/manual for rcom from http://cran.us.r-project.org/web/packages/rcom/index.html. Unfortunately, this guide does not cover the topic of setting event handlers for Excel (COM Server). Can someone provide me with some clues - either code or a url which will help me do this?