Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 672 Bytes

File metadata and controls

26 lines (19 loc) · 672 Bytes

Rscript

Testing communication between Elixir and Rscript

iex -S mix
iex(1)> Rscript.start_link("testJsonChars.r", [script_runner: :littler, protocol: :chars, args: [], json_arg: %{a: 1, b: "hello"}])

Installation

If available in Hex, the package can be installed by adding rscript to your list of dependencies in mix.exs:

def deps do
  [
    {:rscript, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/rscript.