Liking cljdoc? Tell your friends :D

rojure.core


get-rclj

(get-r)
(get-r host port)

Create a RConnection with args ex:

Create a RConnection with args ex: 
raw docstring

r-evalclj

(r-eval r expression)

Eval expression in the R engine. Convert the return value from JRI/R to Clojure

Eval expression in the R engine. Convert the return value from
JRI/R to Clojure
raw docstring

r-eval-no-catchclj

(r-eval-no-catch r expression)

Eval expression in the R engine. Will not catch any exceptions that happen during evaluation

Eval expression in the R engine. Will not catch any exceptions that
happen during evaluation
raw docstring

r-eval-rawclj

(r-eval-raw r expression)

Eval expression in the R engine. Just return the raw JRI/R wrapper, don't convert to Clojure object

Eval expression in the R engine. Just return the raw JRI/R wrapper,
don't convert to Clojure object
raw docstring

r-getclj

(r-get r r-name)

Retrieve the value with this name in the R engine

Retrieve the value with this name in the R engine
raw docstring

r-get-rawclj

(r-get-raw r r-name)

Retrieve the value with this name in the R engine. Do not convert from JRI to Clojure type.

Retrieve the value with this name in the R engine. Do not convert
from JRI to Clojure type.
raw docstring

r-inspectclj

(r-inspect r obj)

Runs str(object) on the R side, capturing console output. Runs println on returned Strings

Runs str(object) on the R side, capturing console output. Runs
println on returned Strings
raw docstring

r-install-CRANclj

(r-install-CRAN r package)
(r-install-CRAN r package repo)

Tries to install the provided package uusing the optionally provided repository or the master CRAN repository

Tries to install the provided package uusing the optionally provided
repository or the master CRAN repository
raw docstring

r-set!clj

(r-set! r r-name value)

r-set-raw!clj

(r-set-raw! r r-name value)

Assign r-name to value within the R engine

Assign r-name to value within the R engine
raw docstring

r-sourceclj

(r-source r r-file)

r-transformclj

(r-transform in-val r-file)
(r-transform r in-val r-file)

Executes a given R scipt file in the R engine. It sets the given value as variable in_ in R process and returns variable out_ at the end.

Executes a given R scipt file in the R engine.
It sets the given value  as variable in_ in R process
and returns variable out_ at the end.
raw docstring

r-try-parse-evalclj

(r-try-parse-eval r expression)

Eval expression in the R engine, wrapped (on the R side) in try/catch. Will catch errors on the R side and convert to Exception and throw

Eval expression in the R engine, wrapped (on the R side) in
try/catch. Will catch errors on the R side and convert to Exception
and throw
raw docstring

r-void-evalclj

(r-void-eval r expression)

Eval the exp in R, without returning any output

Eval the exp in R, without returning any output
raw docstring

start-rserveclj

(start-rserve)
(start-rserve port init-r)

Boot up RServe on default port in another process. Returns a map with a java.lang.Process that can be 'destroy'ed

Boot up RServe on default port in another process.
Returns a map with a java.lang.Process that can be 'destroy'ed
raw docstring

try-r-evalclj

(try-r-eval r rexp)

with-r-evalcljmacro

(with-r-eval r & forms)

Evaluate forms that are string using r-eval, otherwise, just eval Clojure code normally

Evaluate forms that are string using r-eval, otherwise, just eval
Clojure code normally
raw docstring

with-r-eval-no-catchcljmacro

(with-r-eval-no-catch r & forms)

Evaluate forms that are string using r-eval-no-catch, otherwise, just eval clojure code normally

Evaluate forms that are string using r-eval-no-catch, otherwise, just eval
clojure code normally
raw docstring

with-r-eval-rawcljmacro

(with-r-eval-raw r & forms)

Evaluate forms that are string using r-eval-raw, otherwise, just eval Clojure code normally

Evaluate forms that are string using r-eval-raw, otherwise, just eval
Clojure code normally
raw docstring

with-r-try-parse-evalcljmacro

(with-r-try-parse-eval r & forms)

Evaluate forms that are string using r-try-parse-eval, otherwise just eval Clojure code normally

Evaluate forms that are string using r-try-parse-eval, otherwise
just eval Clojure code normally
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close