Show navigation Hide navigation
  • Home
  • Downloads
  • Packages
  • Documentation
  • Support
  • About
  • Blog
Renjin
Renjin
latest
  • 1. Introduction
  • 2. Using Renjin Interactively
  • 3. Using Renjin as a Library
    • 3.1. Project Setup
    • 3.2. Using Packages
    • 3.3. Evaluating R Language Code
    • 3.4. Capturing results from Renjin
    • 3.5. Moving Data between Java and R Code
    • 3.6. Thread-Safety
    • 3.7. Customizing the Execution Context
  • 4. Using Renjin as an R Package
  • 5. Importing Java classes into R code
  • 6. Writing Renjin Extensions
  • 7. Example extension projects
  • 8. Renjin Java API specification
Renjin
  • Docs »
  • 3. Using Renjin as a Library
  • Edit on GitHub

3. Using Renjin as a Library¶

  • 3.1. Project Setup
    • 3.1.1. Maven
    • 3.1.2. Gradle
    • 3.1.3. Scala Build Tool (SBT)
    • 3.1.4. Eclipse
    • 3.1.5. JBoss
    • 3.1.6. Spark
  • 3.2. Using Packages
  • 3.3. Evaluating R Language Code
  • 3.4. Capturing results from Renjin
    • 3.4.1. Capturing output text
    • 3.4.2. Extracting individual values
  • 3.5. Moving Data between Java and R Code
    • 3.5.1. A Java Developer’s Guide to R Objects
      • 3.5.1.1. Attributes
      • 3.5.1.2. Vectors
      • 3.5.1.3. Factors
      • 3.5.1.4. Lists
      • 3.5.1.5. Data frames
      • 3.5.1.6. Matrices and arrays
    • 3.5.2. Overview of Renjin’s type system
    • 3.5.3. Pulling data from R into Java
      • 3.5.3.1. Accessing individual elements of vectors
      • 3.5.3.2. Dealing with matrices
      • 3.5.3.3. Dealing with lists and data frames
    • 3.5.4. Handling errors generated by the R code
    • 3.5.5. Pushing data from Java to R
  • 3.6. Thread-Safety
    • 3.6.1. Thread-Local ScriptEngine
    • 3.6.2. ScriptEngine Pooling
    • 3.6.3. Sharing data between ScriptEngines
  • 3.7. Customizing the Execution Context
    • 3.7.1. File System
    • 3.7.2. Package Loading
      • 3.7.2.1. AetherPackageLoader behind a proxy
    • 3.7.3. Class Loading
    • 3.7.4. Command-Line Arguments
Next Previous

© Copyright 2014–2021, BeDataDriven. Revision 25aecbeb.

Theme based on the Sphinx theme provided by Read the Docs. Modified by Charis for BeDataDriven.

Packages

Take a look at our package repository browser for the state of compatibility of CRAN and Bioconductor packages in Renjin.

Contribute

Check out the source code for Renjin on GitHub or the Renjin documentation on GitHub.

Support

Renjin is a project initiated by BeDataDriven, a company that provides consulting in analytics and decision support systems. Read about our support options for Renjin.

Read the Docs v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.