Package: r-cran-rodbc
Version: 1.1.5-1
Followup-For: Bug #354723
I am adding this to again illustrate my problem:
[EMAIL PROTECTED]:~$ echo "SELECT plate FROM plates LIMIT 1,10" | isql cytotox
cytotox cytotox
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> +------+
| plate|
+------+
| 4 |
| 5 |
| 6 |
| 8 |
| 15 |
| 17 |
| 18 |
| 20 |
| 21 |
| 25 |
+------+
SQLRowCount returns 10
10 rows fetched
[EMAIL PROTECTED]:~$ cat odbctest.R
library(RODBC)
channel <- odbcConnect("cytotox",uid="cytotox",
pwd="cytotox", believeNRows=TRUE)
query <- "SELECT plate FROM plates LIMIT 1,10"
tables <- sqlQuery(channel,query)
tables
odbcGetErrMsg(channel)
odbcClose(channel)
[EMAIL PROTECTED]:~$ R --vanilla < odbctest.R
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.2.1 (2005-12-20 r36812)
ISBN 3-900051-07-0
R ist freie Software und kommt OHNE JEGLICHE GARANTIE.
Sie sind eingeladen, es unter bestimmten Bedingungen weiter zu verbreiten.
Tippen Sie 'license()' or 'licence()' für Details dazu.
R ist ein Gemeinschaftsprojekt mit vielen Beitragenden.
Tippen Sie 'contributors()' für mehr Information und 'citation()',
um zu erfahren, wie R oder R packages in Publikationen zitiert werden können.
Tippen Sie 'demo()' für einige Demos, 'help()' für on-line Hilfe, oder
'help.start()' für eine HTML Browserschnittstelle zur Hilfe.
Tippen Sie 'q()', um R zu verlassen.
> library(RODBC)
> channel <- odbcConnect("cytotox",uid="cytotox",
+ pwd="cytotox", believeNRows=TRUE)
> query <- "SELECT plate FROM plates LIMIT 1,10"
> tables <- sqlQuery(channel,query)
> tables
character(0)
> odbcGetErrMsg(channel)
character(0)
> odbcClose(channel)
>
[EMAIL PROTECTED]:~$
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4-stiller1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages r-cran-rodbc depends on:
ii libc6 2.3.6-1 GNU C Library: Shared libraries an
ii r-base-core 2.2.1-6 GNU R core of statistical computin
ii unixodbc 2.2.11-9 ODBC tools libraries
r-cran-rodbc recommends no packages.
-- no debconf information