R package which integrating R and Julia
C R Makefile C++
Switch branches/tags
Nothing to show
Clone or download
Latest commit c47de8d Aug 7, 2017
Permalink
Failed to load latest commit information.
R Copied jDo and friends from rjulia2. This way seems to be more robust… Mar 15, 2017
demo
man fix last merge Aug 1, 2015
src hack jl_is_float{32,64} Jul 17, 2017
tests Had GC turned off for tests, turned back on and tests still pass. Aug 17, 2016
.Rbuildignore Other miscellanea (no functionality changes!) Feb 3, 2015
.gitignore Update .gitignore Oct 11, 2014
Contributors
DESCRIPTION Copied jDo and friends from rjulia2. This way seems to be more robust… Mar 15, 2017
LICENSE
NAMESPACE
README.md
RJulia.Rproj add .Rproj and tweak style. Oct 11, 2014
todo.txt modify some docs and move alltestcase to test because it is for stres… Aug 7, 2015

README.md

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