RInside Version 0.2.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RInside Class Reference

#include <RInside.h>

Collaboration diagram for RInside:

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=true, 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

RInside::RInside ( )

Definition at line 49 of file RInside.cpp.

References initialize().

Here is the call graph for this function:

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

Definition at line 91 of file RInside.cpp.

RInside::~RInside ( )

Definition at line 36 of file RInside.cpp.

References global_env_m, and 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.

Referenced by initialize(), and main().

void RInside::autoloads ( void  )
private

Definition at line 221 of file RInside.cpp.

References global_env_m.

Referenced by initialize().

void RInside::init_rand ( void  )
private

Definition at line 212 of file RInside.cpp.

Referenced by initialize().

void RInside::init_tempdir ( void  )
private

Definition at line 194 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 101 of file RInside.cpp.

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

Referenced by RInside().

Here is the call graph for this function:

RInside & RInside::instance ( )
static

Definition at line 398 of file RInside.cpp.

References instance_m.

Referenced by createApplication().

RInside * RInside::instancePtr ( )
static

Definition at line 402 of file RInside.cpp.

References instance_m.

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

Definition at line 394 of file RInside.cpp.

References global_env_m.

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

Definition at line 379 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 388 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 366 of file RInside.cpp.

References parseEval().

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

Here is the call graph for this function:

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

Definition at line 374 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 88 of file RInside.h.

References verbose.

Member Data Documentation

Rcpp::Environment* RInside::global_env_m
private

Definition at line 32 of file RInside.h.

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

RInside * RInside::instance_m = 0
staticprivate

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(), and parseEval().


The documentation for this class was generated from the following files: