RInside Version 0.2.10
RInside Class Reference

#include <RInside.h>

Collaboration diagram for RInside:

List of all members.

Classes

class  Proxy

Public Member Functions

int parseEval (const std::string &line, SEXP &ans)
void parseEvalQ (const std::string &line)
void parseEvalQNT (const std::string &line)
Proxy parseEval (const std::string &line)
Proxy parseEvalNT (const std::string &line)
template<typename T >
void assign (const T &object, const std::string &nam)
 RInside ()
 RInside (const int argc, const char *const argv[], const bool loadRcpp=false, const bool verbose=false, const bool interactive=false)
 ~RInside ()
void setVerbose (const bool verbose)
Rcpp::Environment::Binding operator[] (const std::string &name)

Static Public Member Functions

static RInsideinstance ()
static RInsideinstancePtr ()

Private Member Functions

void init_tempdir (void)
void init_rand (void)
void autoloads (void)
void initialize (const int argc, const char *const argv[], const bool loadRcpp, const bool verbose, const bool interactive)

Private Attributes

MemBuf mb_m
Rcpp::Environment global_env_m
bool verbose_m
bool interactive_m

Static Private Attributes

static RInsideinstance_m = 0

Detailed Description

Definition at line 29 of file RInside.h.


Constructor & Destructor Documentation

Definition at line 48 of file RInside.cpp.

RInside::RInside ( const int  argc,
const char *const  argv[],
const bool  loadRcpp = false,
const bool  verbose = false,
const bool  interactive = false 
)

Definition at line 90 of file RInside.cpp.

Definition at line 36 of file RInside.cpp.

References instance_m.


Member Function Documentation

template<typename T >
void RInside::assign ( const T &  object,
const std::string &  nam 
) [inline]

Definition at line 78 of file RInside.h.

References global_env_m.

Referenced by initialize(), and main().

void RInside::autoloads ( void  ) [private]

Definition at line 220 of file RInside.cpp.

References global_env_m.

Referenced by initialize().

void RInside::init_rand ( void  ) [private]

Definition at line 211 of file RInside.cpp.

Referenced by initialize().

void RInside::init_tempdir ( void  ) [private]

Definition at line 193 of file RInside.cpp.

References setenv().

Referenced by initialize().

Here is the call graph for this function:

void RInside::initialize ( const int  argc,
const char *const  argv[],
const bool  loadRcpp,
const bool  verbose,
const bool  interactive 
) [private]

Definition at line 100 of file RInside.cpp.

References assign(), autoloads(), global_env_m, init_rand(), init_tempdir(), instance_m, interactive_m, programName, R_CStackLimit, setenv(), and verbose_m.

Here is the call graph for this function:

RInside & RInside::instance ( ) [static]

Definition at line 397 of file RInside.cpp.

References instance_m.

Referenced by createApplication().

RInside * RInside::instancePtr ( ) [static]

Definition at line 401 of file RInside.cpp.

References instance_m.

Rcpp::Environment::Binding RInside::operator[] ( const std::string &  name)

Definition at line 393 of file RInside.cpp.

References global_env_m.

int RInside::parseEval ( const std::string &  line,
SEXP &  ans 
)

Definition at line 307 of file RInside.cpp.

References MemBuf::add(), MemBuf::getBufPtr(), global_env_m, mb_m, programName, MemBuf::rewind(), and verbose_m.

Referenced by DensityApp::DensityApp(), main(), parseEval(), parseEvalNT(), parseEvalQ(), parseEvalQNT(), and QtDensity::QtDensity().

Here is the call graph for this function:

RInside::Proxy RInside::parseEval ( const std::string &  line)

Definition at line 378 of file RInside.cpp.

References parseEval().

Here is the call graph for this function:

RInside::Proxy RInside::parseEvalNT ( const std::string &  line)

Definition at line 387 of file RInside.cpp.

References parseEval().

Referenced by main().

Here is the call graph for this function:

void RInside::parseEvalQ ( const std::string &  line)

Definition at line 365 of file RInside.cpp.

References parseEval().

Referenced by main(), QtDensity::plot(), DensityApp::plot(), and Resource::use().

Here is the call graph for this function:

void RInside::parseEvalQNT ( const std::string &  line)

Definition at line 373 of file RInside.cpp.

References parseEval().

Referenced by main(), DensityApp::reportEdit(), and QtDensity::runRandomDataCmd().

Here is the call graph for this function:

void RInside::setVerbose ( const bool  verbose) [inline]

Definition at line 87 of file RInside.h.

References verbose_m.


Member Data Documentation

Rcpp::Environment RInside::global_env_m [private]

Definition at line 32 of file RInside.h.

Referenced by assign(), autoloads(), initialize(), operator[](), and parseEval().

RInside * RInside::instance_m = 0 [static, private]

Definition at line 44 of file RInside.h.

Referenced by initialize(), instance(), instancePtr(), and ~RInside().

bool RInside::interactive_m [private]

Definition at line 35 of file RInside.h.

Referenced by initialize().

MemBuf RInside::mb_m [private]

Definition at line 31 of file RInside.h.

Referenced by parseEval().

bool RInside::verbose_m [private]

Definition at line 34 of file RInside.h.

Referenced by initialize(), parseEval(), and setVerbose().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Defines