Displaying 1 result from an estimated 1 matches for "bweek".
Did you mean:
week
2009 Jan 26
2
R crashes when using the RODBC Package
...aries
library(RODBC)
# Close any existing connections
odbcCloseAll()
# Connect to database
channel <- odbcConnect("database", uid="", pwd="")
for ( i in 1:2 ) {
# 1. Weekly 2. Monthly
if (i == 1) {
bWeekly <- TRUE
} else {
bWeekly <- FALSE
}
# Get Prices
if ( bWeekly ) {
tblName <- "qryDataWeekly_Crosstab"
} else {
tblName <- "qryD...