Re: [R] Error in str(its-object)

2006-11-14 Thread Armstrong, Whit
I'll update ITS to include that signature. Right now, the only signature for Arith is: signature(e1=its,e2=its). Thx, Whit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Maechler Sent: Tuesday, November 14, 2006 11:24 AM To: Stefan

Re: [R] RODBC sqlQuery insert slow

2006-10-13 Thread Armstrong, Whit
Is there a reason why the data have to be inserted 1 row at a time? Is it possible to insert the entire table at once? sqlSave perhaps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Szkotnicki Sent: Friday, October 13, 2006 9:09 AM To:

[R] behavior of [-.foo

2006-09-22 Thread Armstrong, Whit
Can someone help me understand the following behavior of [- ? If I define a simple class based on a matrix, the [- operation only inserts into the first column: x - matrix(rnorm(10),nrow=5,ncol=2) class(x) - foo [-.foo - function(x, i, j, value) { + if(missing(i)) i - 1:nrow(x) +

Re: [R] RODBC on linux

2006-07-27 Thread Armstrong, Whit
Thanks, everyone. I'll give freeTDS a try. Cheers, Whit -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 1:17 AM To: Marc Schwartz Cc: Armstrong, Whit; r-help@stat.math.ethz.ch Subject: Re: [R] RODBC on linux On Wed, 26 Jul 2006, Marc

[R] deparse(substitute(foo))

2006-07-27 Thread Armstrong, Whit
I see that plot.default uses deparse(substitute(x)) to extract the character name of an argument and put it on the vertical axis. Hence: foo - 1:10 plot( foo ) will put the label foo on the vertical axis. However, for a function that takes a ... list as an input, I can only extract the first

Re: [R] deparse(substitute(foo))

2006-07-27 Thread Armstrong, Whit
That works perfectly. Thanks, Whit -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 8:41 AM To: Armstrong, Whit Cc: r-help@stat.math.ethz.ch Subject: Re: [R] deparse(substitute(foo)) On Thu, 2006-07-27 at 08:18 -0400, Armstrong, Whit

[R] FW: RODBC on linux

2006-07-27 Thread Armstrong, Whit
Thanks again for everyone's help. I have a successful configuration. I used the ODBC-combined configuration which is documented here: http://freetds.org/userguide/odbcombo.htm here are the config files residing in my home dir: -bash-2.05b$ cat .freetds.conf [global] tds version = 7.0

[R] RODBC on linux

2006-07-26 Thread Armstrong, Whit
Anyone out there using Linux RODBC and unixODBC to connect to a Microsoft SQL server? If possible can someone post a sample .odbc.ini file? I saw a few discussions on the archives a few years ago, but no config file details were available. Thanks, Whit This e-mail message is intended only