Open topic with navigation

TIBCO GridServer® 7.1.0

# R Grid Libraries

Grid libraries with Services implemented in R must contain a top-level directory named `R`. This means the following Grid Library structure is used:

       /
       /grid-library.xml
       /R/

The `R` directory is required unless the Grid Library contains only R packages. All files ending in `.R` are sourced. The order that the R files are sourced is not guaranteed.

Grid libraries with R Services must depend on the `rbridge-``platform` Grid Library. That dependency can be direct or indirect.

Grid Libraries can also contain R packages in non-source form. Packages root directory within the Grid Library is defined using the `lib-path` element.

The following is an example `grid-library.xml` with R packages:

    <?xml version="1.0" encoding="UTF-8"?>
    <grid-library os="win64">
        <grid-library-name>Rpscl-win64</grid-library-name>
        <grid-library-version>3.0.3</grid-library-version>
        <lib-path>
            <pathelement>library</pathelement>
        </lib-path>
        <dependency os="win64">
            <grid-library-name>rbridge-win64</grid-library-name>
        </dependency>
        <dependency os="win64">
            <grid-library-name>Rextras-win64</grid-library-name>
        </dependency>
    </grid-library>

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO GridServer®
Subtopics

Copyright © 2001-2022. TIBCO Software Inc. All Rights Reserved.