RFC2, Client for R
Sunday, 22 April 2018 · 1 message
BE
Ben Engbers22 Apr 2018 18:48 #
Hi,
I have changed the code for RbaseXClient.R in such a way that it complies more to the server protocol and to the R-style of coding.
- 'execute' has been renamed to 'command'
- All the functions in the Command Protocol section return a list with the complete server response. This makes it much easier to handle errors (see lines 8-14 in TestRBaseXClient.R).
In the Query Command Protocol section, the functions 'more()' (as being called by results) and 'full()' now return the results, prefixed with a byte that represents the Type ID.
Cheers,
Ben Engbers
Written for BaseX 9.0. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery