search for: pathtodb

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

2012 Nov 05
1
Dates as POSIXt
...ancial contracts with maturities on different dates in different months I have come across some behavior I haven't seen before. I have a data frame in R which is loaded from an access database so I can't provide a working example. It was loaded using this code: > dbPath <- "H:/pathToDB/DB.mdb" > channel <- odbcConnectAccess(dbPath) > DF = sqlFetch(channel,'nameOfTable') When I look at the Date column I get this result > str(DF$Date) POSIXt[1:25311], format: "2003-09-03 06:00:00" "2003-09-03 06:00:00" ... I have newer seen data as P...
2007 May 15
1
Document ID 0 is invalid... but not always...
...created record. In fact, I was "hacking", trying to store metadata in a "special" record with docId "-1"... I know, this is bad, but what is interesting is what xapian does in such a situation... Here is a simple PHP test : $db=new XapianWritableDatabase('pathtodb', Xapian::DB_CREATE_OR_OVERWRITE); $doc=new XapianDocument(); $doc->set_data('metadata'); // waiting for http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=143 $doc->add_term('metadata'); $db->replace_document(-1, $doc); // or 4294967295 =...