[R] rodbc error

From: Dr. Alireza Zolfaghari <ali.zolfaghari_at_gmail.com>
Date: Thu, 10 Mar 2011 15:51:35 +0000


Hi list,
I have code which reads data from sql server using RODBC in R version 2.12.1. The code used to be ok, till today when I get the following error. The data does not have any problem, but if I run the code in differnt pc, it runs till different number of trial then it fails, for example on one pc, it runs up to 30 times, other pc up to 66 times, then it fails. Any help please?

[1] "so far 66 accounts out of 936 have been done!" Loading required package: RODBC
Failed with error: ‘subscript out of bounds’ In addition: There were 50 or more warnings (use warnings() to see the first 50)
Error in `[.data.frame`(mydata, , epcol) : undefined columns selected

thanks
Alireza

        [[alternative HTML version deleted]]



R-help_at_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 commented, minimal, self-contained, reproducible code. Received on Thu 10 Mar 2011 - 15:56:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 Mar 2011 - 18:20:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive