Copyright | (C) 2013 Amgen Inc. |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Global variables used by the R interpreter. All are constant, but the values of some of them may change over time (e.g. the global environment).
- baseEnv :: SEXP G Env
- emptyEnv :: SEXP G Env
- globalEnv :: SEXP G Env
- nilValue :: SEXP G Nil
- missingArg :: SEXP G Symbol
- unboundValue :: SEXP G Symbol
- isRInteractive :: Ptr CInt
- signalHandlersPtr :: Ptr CInt
- inputHandlers :: Ptr InputHandler
- pokeRVariables :: RVariables -> IO ()
Documentation
missingArg :: SEXP G Symbol Source #
Value substituted for all missing actual arguments of a function call.
unboundValue :: SEXP G Symbol Source #
Special value to which all symbols unbound in the current environment resolve to.
R Internal constants
isRInteractive :: Ptr CInt Source #
R global constants
The main reason to have all R constants referenced with a StablePtr is that variables in shared libraries are linked incorrectly by GHCi with loaded code.
The workaround is to grab all variables in the ghci session for the loaded code to use them, that is currently done by the H.ghci script.
Upstream ticket: https://ghc.haskell.org/trac/ghc/ticket/8549#ticket
pokeRVariables :: RVariables -> IO () Source #