search for: pdixon

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

Did you mean: dixon
2010 Mar 11
1
parse an HTML page with verbose error message (using XML)
I'm using the function htmlParse() in the XML package, and I need a little bit help on error handling while parsing an HTML page. So far I can use either the default way: # error = xmlErrorCumulator(), by default library(XML) doc = htmlParse("http://www.public.iastate.edu/~pdixon/stat500/") # the error message is: # htmlParseStartTag: invalid element name or the tryCatch() approach: # error = NULL, errors to be caught by tryCatch() tryCatch({ doc = htmlParse("http://www.public.iastate.edu/~pdixon/stat500/", error = NULL) }, XMLError = function(e...
2012 Mar 20
2
Writing a MatchDecider and exposing it to PHP
I would like to write a MatchDecider in C++ and expose it to PHP. I'm able to compile a simple extension and use SWIG to expose a simple function to PHP, but I can't seem to hit upon the right incantation to expose my MatchDecider class. I have a header file declaring my decider, MyDecider.h #ifndef _INC_MYDECIDER_H #define?_INC_MYDECIDER_H #include <xapian/enquire.h>