search for: db2env

Displaying 2 results from an estimated 2 matches for "db2env".

Did you mean: benv
2009 Jan 23
0
Appending objects created using filehash package
...s rewriting the entire object. Sample code: ================================================= # Setting up the database library(filehash) A <- data.frame(a=c("abcde", "fghij", "klmno"), stringsAsFactors=FALSE) dumpDF( A, dbName="myTestDB") envTest <- db2env(db="myTestDB") ls(envTest) with(envTest, a) # Appending to object a, but basically rewriting it... envTest$a <- c(envTest$a, "HELLO", "GOODBYE") with(envTest, a) If anyone has a suggestion on how to append to an object without completely rewriting it, I would rea...
2012 May 04
2
Can't import this 4GB DATASET
...###/*MY ATTEMPT USING FILEHASH*/### #First, try and upload the 29 row dataset (the tiny subset of the whole dataset). install.packages("filehash");require(filehash) dumpList(read.table("dataset2.txt",skip=6),dbName="db02") #Note that DumpDF also works. env02 <- db2env(db="db02") with(env02,V1) # [1] 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 10001 [27] 10001 10001 # with(env02,V2) # [1] 01/10/1986 01/13/1986 01/14/1986 01/15/1986 01/16/1986 01...