Message-ID: <4557909.979044199514.JavaMail.imail@ringo.excite.com>
Date: 2001-01-09T12:43:19Z
From: Samir Mishra
Subject: RODBC Bug?
I'm not sure if this problem is repeatable or particular to my machine.
The following works fine -
> odbcConnect("demoteam", uid = "demo", pwd = "demo")
This causes R to crash -
> oracle.info <- list(channel = "demoteam", uid = "demo", pwd = "demo")
> demo.db.connect <- function(ora.info = oracle.info) {
+ channel <- odbcConnect(ora.info$channel, uid = ora.info$uid,
+ pwd = ora.info$pwd)
+ if(channel == -1) stop("Connection Failure")
+ channel
+}
> #R shuts down as soon as I submit the next command
> channel <- demo.db.connect()
Thanks.
Samir Mishra
===========================================
Please send replies to :
sqmishra at acm.org
===========================================
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._