Reset the froth session
froth-reset.Rd
Resets the froth session to defaults. This deletes any user-defined functions and variables, and clears the stack.
Author
Aidan Lakshman ahl27@pitt.edu
Examples
froth.RDefine("rnorm", rnorm, 3L)
froth.reset()
#> NULL
froth.parse("5 0 1 rnorm .s")
#> [[1]]
#> function (n, mean = 0, sd = 1)
#> .Call(C_rnorm, n, mean, sd)
#> <bytecode: 0x55a4321ec390>
#> <environment: namespace:stats>
#>
#> [[2]]
#> [1] 1
#>
#> [[3]]
#> [1] 0
#>
#> [[4]]
#> [1] 5
#>
#> [[5]]
#> NULL
#>
# fr> rnorm ?