Displaying 5 results from an estimated 5 matches for "dbfetch".
Did you mean:
dbench
2012 Dec 28
0
How to apply XPath query on XML nodes separately?
...packages. The document I speak of is downloaded
from uniprot.org, a protein knowledge server well known to biologists.
The lamentably somewhat lengthy code follows:
library(XML)
library(RCurl)
getEntries <- function( uniprot.xml, uniprot.error.msg.regex='^ERROR' ) {
# Uniprot's dbfetch can be asked to return several entry tags in the same
XML
# document. This function uses XPath queries to extract all complete
uniprot
# tags.
#
# Args:
# uniprot.xml : The result of a web fetch to Uniprot i.e.
using
# getURL.
# uniprot.error.m...
2009 Mar 20
1
v2.8.1 crashes on quit(save="yes") or just won't save (PR#13612)
...Team,
Today I upgraded from R 2.2.2 to 2.8.1 ...then I restarted, did a bunch of
work, and tried to quit. (Note that I have oodles of stuff saved in the work
environment; took almost a full minute to start up.) After over 10 minutes, it
was still trying to close up, and the problem (below) for DBfetch was mentioned,
plus it said
*** caught segfault ***
address 0x7fffdeb1
cause 'memory not mapped'
(retyped from my notes, no way to grab)
After about five more minutes, I did a Force Quit. Then I reproduced the bug.
I opened R, loaded a CSV file from my previous day's work, th...
2014 Oct 20
0
dbHasCompleted() always returns TRUE for POSTGRES Database with RJDBC?
...### adapted Example from help (?dbHasCompleted ), Works #######
require("RSQLite")
con <- dbConnect(RSQLite::SQLite(), ":memory:")
dbWriteTable(con, "mtcars", mtcars)
# Fetch all results
res <- dbSendQuery(con, "SELECT * FROM mtcars WHERE cyl = 4")
dbFetch(res)
dbClearResult(res)
# Fetch in chunks
res <- dbSendQuery(con, "SELECT * FROM mtcars")
dbHasCompleted(res) ## RETURNS FALSE !!!
while (!dbHasCompleted(res)) {
chunk <- fetch(res, 10)
print(nrow(chunk))
}
dbClearResult(res)
dbDisconnect(con)
########## My Code, lame...
2016 Apr 27
0
R Script Template
The subject of your email is missing. Perhaps you need to read the Posting Guide (again?) about attachments. Embedding your example directly in the body of the email is generally more accessible in archives than attaching it.
--
Sent from my phone. Please excuse my brevity.
On April 27, 2016 1:14:17 PM GMT+01:00, G.Maubach at gmx.de wrote:
>Hi All,
>
>I am addressing this post to all
2016 Apr 27
2
R Script Template
Hi All,
I am addressing this post to all who are new to R.
When learing R in the last weeks I took some notes for myself to have code snippets ready for the data analysis process. I put these snippets
together as a script template for future use. Almost all of the given command prototypes are tested. The template script contains snippets for best practices and leaves out the commands that