[R] lm#contrasts#one level in factor: bug or feature

2004-10-12 Thread Ritter, Christian C MCIL-CTANL/S
(R.1.9.1; win2000) Since it's about the tenth time I had to write an if around this to catch the error ... Let's look at the line myfit-lm(res~groupvar,data=Data) Here res is of numeric type and groupvar is a factor. On first sight, it would be logical that if groupvar had only one

[R] Handling the windows clipboard/32KB limit

2004-09-09 Thread Ritter, Christian C MCIL-CTANL/S
(R 1.9.1; Windows 2000;) I'm just comparing ease of use, speed, etc for methods of transferring data frames in the Excel, MySQL, R triangle. It turns out that going from Excel to R (when doing this carefully). Using the clipboard is actually quite fast and efficient (2 seconds for

RE: [R] Handling the windows clipboard/32KB limit

2004-09-09 Thread Ritter, Christian C MCIL-CTANL/S
be moved between Excel and R. Some fine tuning will be needed to deal with exceptions. -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Thursday, 09 September, 2004 12:41 PM To: Ritter, Christian C MCIL-CTANL/S Cc: [EMAIL PROTECTED] Subject: Re: [R] Handling