-
Notifications
You must be signed in to change notification settings - Fork 6
Home
- remove example section
- add customer request in cdbGetView()
done; leads to:
- remove bug in cdbUpdate():
correct (resp. better) code for setting the revision is:
cdb$rev <- cdbGetDoc(cdb)$res$‘_rev’
cdb$dataList$‘_id’ <- cdb$id
cdb$dataList$‘_rev’ <- cdb$rev
data <- toJSON(cdb$dataList)
- test/use RJSONIO 0.2-4 (http://www.omegahat.org/RJSONIO/)
- bring the /test infrastructure back to life; can serve as example how top use R4CouchDB
- a function: cdbAddAttachment() is needed
- use couchone.com, this allows to give a default server for example sections
- cdbGetUuids() can give N ids stored in cdb$id!?
TODOs —> issues
workaround for error which occurs while updating (cdbUpdateDoc())
relative large (~40k) data sets.
curl=cdb$curl → #curl=cdb$curl
I was not able to reproduce the error at home
(in a different network topology,
different data but same (actually bigger) size)
maybe there is no need to use V0.41 …
I’ll find it out!
there is a new version of RJSONIO:
Last Release: 0.3-1 (08 Sep 2010)
see
http://www.omegahat.org/RJSONIO
There is a blog post about R4CouchDB
http://digitheadslabnotebook.blogspot.com/2010/10/couchdb-and-r.html
cdb$opts <- function(cdb){ if(cdb$uname == ""){ opts <- curlOptions(header = FALSE) }else{ opts <- curlOptions(header = FALSE, httpauth = 1L, userpwd=paste(cdb$uname,":",cdb$pwd,sep="")) } return(opts) }