Learn R Programming

modello (version 0.1.1)

modello.init: Initialise Modello Session

Description

Allocates all the arrays necessary to initialise the modello session.

Usage

modello.init(
  n.numbers = 1e+06,
  n.nodes = 1e+06,
  n.graphs = 1e+06,
  n.opts = 1e+07
)

Arguments

n.numbers

number of numbers (size of NUMBERS_)

n.nodes

number of nodes (size of NODES_)

n.graphs

number of graphs (size of GRAPHS_)

n.opts

number of optimisers (size of OPTS_)

Value

Return invisible NULL

Examples

Run this code
# NOT RUN {
modello.init(10, 10, 10, 10) # Initilaises the modello session with arrays of the given size
modello.is.init() # TRUE
modello.reset()   # restart the modello session with initial array sizes 
modello.is.init() # TRUE
modello.close()   # Closes modello
modello.is.init() # FALSE
# }

Run the code above in your browser using DataLab