Skip to content

armgong/rjulia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c47de8d · Aug 7, 2017
Mar 15, 2017
Aug 7, 2015
Aug 1, 2015
Jul 17, 2017
Aug 17, 2016
Feb 3, 2015
Oct 11, 2014
Aug 7, 2015
Mar 15, 2017
Apr 8, 2014
Mar 15, 2017
Oct 29, 2016
Oct 11, 2014
Aug 7, 2015

Repository files navigation

rjulia

rjulia provides an interface between R and Julia. It allows a user to run a script in Julia from R, and maps objects between the two languages.

It currently supports use on Linux and Windows (both R and RGUI), but build on Windows only for advance users.

Installing

  1. Install julia v0.5 and R version >=3.1.0.

  2. Add <juliainstalldir>/bin to your system PATH variable if needed.

  3. Install the rjulia package. If you're using the v0.4 branch of julia, use the "julia0.4" branch of rjulia.

    You can install rjulia on Linux using the devtools package:

    install.packages("devtools") #if not already installed
    devtools::install_github("armgong/rjulia", ref="julia0.5")# or ref="julia0.4" if using Julia v0.5

    You can install rjulia on Windows using the Rtools and devtools package :

    install.packages("devtools") #if not already installed
    devtools::install_github("armgong/rjulia", ref="master", args = "--no-multiarch")# or ref="0.3" if using Julia v0.3
  4. If you want to be able to use R or Julia objects that contain NA values or factors or data frames, the Julia packages DataArrays and DataFrames must be installed.

Simple example

library(rjulia)
julia_init() #**(will auto find your julia home)**
julia_eval("1+1")

Demo

Please see the *.R files in the demo/ directory, or use

	demo(package = "rjulia")

Docs

Help files are now done, mostly with examples.

Know Problems

About

R package which integrating R and Julia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published