generateFunctionMap function generates java wrapper
functions for a list of R functions. It also generates java beans and
R--Java data type conversions for any R data types that are related to
the function but unavailable in the environment lookup. This
function also updates environments lookup and cvtImport
(see arguments below) as a side effect.
generateFunctionMap(rTypeInfo, genTest = TRUE, workDir = getwd(), verbose = FALSE, deployModeName = "jms", typeModeName = "javalib", wsdlStyle = "WRAPPED", wsdlUse = "LITERAL", extraClasses = "", pkgRoot="org.bioconductor", ...)RJavaSignature-class and represents the signature of a
R function.generateFunctionMap, FALSE otherwise.generateDataMap and
converterslist might require information about the classes present in
the list. Usually this argument is not required, as S4 classes are
parsed to their constituent partscreateMap.RJavaSignature-class and represents the signature of a
java wrapper function. The return value has a one-to-one mapping
relation with input parameter rTypeInfo, i.e. the java wrapper
function that is represented by the ith component in the return list,
is the wrapper for the R function that is represend by the ith
component in rTypeInfo.workDir are organized as
following:
package1 Java mappings for functions and
data types defined in R package1
package1/data Java beans and java <-> R
mapping functions (in R) for data types defined in
pacakge1
package1/function Java wrapper functions
for functions defined in package1
package2 Java mappings for functions and
data types defined in package2
mainService Main java API, which invokes
the java mapping functions for package1, package2,
etc. mainService value is provided by user as input.
## This function is usually invoked by createMap.
Run the code above in your browser using DataLab