GithubHelp home page GithubHelp logo

estatcamp / rjulia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from armgong/rjulia

0.0 1.0 0.0 783 KB

R package which integrating R and Julia

License: GNU General Public License v2.0

R 32.96% C 62.99% C++ 1.17% Makefile 2.88%

rjulia's Introduction

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

rjulia's People

Contributors

mmaechler avatar ironholds avatar bbolker avatar lendle avatar dgromer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.