search for: bentest

Displaying 1 result from an estimated 1 matches for "bentest".

Did you mean: zentest
2011 Nov 07
1
RpgSQL row names
Hello, Using the RpgSQL package, there must be a way to get the row names into the table automatically. In the example below, I'm trying to get rid of the cbind line, yet have the row names of the data frame populate a column. > bentest = matrix(1:4,2,2) > dimnames(bentest) = list(c('ra','rb'),c('ca','cb')) > bentest ca cb ra 1 3 rb 2 4 > bentest = cbind(item_name=rownames(bentest),bentest) > dbWriteTable(con, "r.bentest", bentest) [1] TRUE > dbGetQuery(con, "SEL...