R Programming Extension
bfitRExtAxon funcs

Registered StackHub users may elect to receive email notifications whenever a new package version is released.

There are 8 watchers.



This function simply tests the R connection by requesting the version of R installed. It is useful in determining whether R is installed and Rserve is running on the server.

Fantom signature:
@Axon static Str rConnectionTest()

Instatiates an R query, returning the RQuery object

Fantom signature:
@Axon static RQuery rq()
rqEval(rQuery, query)

Inserts the query into the evaluation queue.

  • rQuery: An RQuery object created using rq()
  • query: The string query that should be run in R.
Fantom signature:
@Axon static RQuery rqEval(RQuery rQuery, Str query)
rqExecute(rQuery, strOutput: false)

Inserts the data and executes the queries. Only the last query is returned to Axon.

  • rQuery: An RQuery object created using rq()
  • strOutput: Boolean indicating whether to return an object representation (false) or the string representation that R would return to the console (true).
Fantom signature:
@Axon static Obj? rqExecute(RQuery rQuery, Bool strOutput := false)
rqPassData(rQuery, data, name: "data")

Inserts a SkySpark data grid into R using the provided name. Note that timestamps will be inserted if included in the input grid.

  • rQuery: An RQuery object created using rq()
  • data: A grid of SkySpark data to insert into a dataframe in R
  • name: A string representing the name the dataframe should be assigned in R. This defaults to data
Fantom signature:
@Axon static RQuery rqPassData(RQuery rQuery, Grid data, Str name := "data")
Published by BuildingFit

Products & Services by BuildingFit

Packages by BuildingFit

Commercial packages

Free packages