OVERLOADING R LANGUAGE CONSTRUCTS WITH DATABASE ENGINE CONSTRUCTS
First Claim
1. A computer implemented method for transparently interfacing an R client environment with a separate database engine environment, the method comprising:
- receiving, at a computer, an R language code fragment from the R client environment;
interpreting the R language code fragment to identify a first group of R language constructs;
determining the computation resource requirements of at least one R language constructs selected from among the first group of R language constructs; and
mapping, to a remote execution engine, a first selected R language construct from among the first group of R language constructs in response to the determination of the computation resource requirements.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for interfacing an R language client with a separate database engine environment. The method commences by interpreting an R language code fragment to identify and select R language constructs and transforming the R language constructs into queries or other database language constructs to execute within the database engine environment. The method further implements techniques for transmitting marshaled results (resulting from the execution of the database language constructs) back to the R client environment. In some situations, the marshaled results include an XML schema or DTD or another metadata description of the structure of the results. User conveniences in the form of transparent database query construction, and transparent exploitation of parallelism is achieved by determining the computation resource requirements of executable language constructs, and mapping the execution to one (or more) of, a local R client, a database engine, or a remote execution engine.
6 Citations
20 Claims
-
1. A computer implemented method for transparently interfacing an R client environment with a separate database engine environment, the method comprising:
-
receiving, at a computer, an R language code fragment from the R client environment; interpreting the R language code fragment to identify a first group of R language constructs; determining the computation resource requirements of at least one R language constructs selected from among the first group of R language constructs; and mapping, to a remote execution engine, a first selected R language construct from among the first group of R language constructs in response to the determination of the computation resource requirements. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for interfacing an R client environment with a separate database engine environment, comprising:
-
a computer processor to execute a set of program code instructions; and a memory to hold the program code instructions, in which the program code instructions comprises program code to perform, receiving an R language code fragment from the R client environment; interpreting the R language code fragment to identify a first group of R language constructs; determining the computation resource requirements of at least one R language constructs selected from among the first group of R language constructs; and mapping, to a remote execution engine, a first selected R language construct from among the first group of R language constructs in response to the determination of the computation resource requirements. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product embodied in a non-transitory computer readable medium, the computer readable medium having stored thereon a sequence of instructions which, when executed by a processor causes the processor to execute a process to implement interfacing an R client environment with a separate database engine environment, the process comprising:
-
receiving an R language code fragment from the R client environment; interpreting the R language code fragment to identify a first group of R language constructs; determining the computation resource requirements of at least one R language constructs selected from among the first group of R language constructs; and mapping, to a remote execution engine, a first selected R language construct from among the first group of R language constructs in response to the determination of the computation resource requirements. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification