RInside Class Reference

#include <RInside.h>

Collaboration diagram for RInside:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int parseEval (const std::string &line, SEXP &ans)
int parseEvalQ (const std::string &line)
void assign (const std::vector< std::vector< double > > &mat, const std::string &nam)
void assign (const std::vector< std::vector< int > > &mat, const std::string &nam)
void assign (const std::vector< std::string > &vec, const std::string &nam)
void assign (const std::vector< double > &vec, const std::string &nam)
void assign (const std::vector< int > &vec, const std::string &nam)
void assign (const std::string &txt, const std::string &nam)
 RInside (const int argc, const char *const argv[])
 ~RInside ()

Private Member Functions

void init_tempdir (void)
void init_rand (void)
void autoloads (void)

Private Attributes

MemBuf mb_m
bool verbose_m

Detailed Description

Definition at line 23 of file RInside.h.


Constructor & Destructor Documentation

RInside::RInside ( const int  argc,
const char *const   argv[] 
)

Definition at line 33 of file RInside.cpp.

References autoloads(), init_rand(), init_tempdir(), logTxt, programName, R_VARS, setenv(), verbose, and verbose_m.

Here is the call graph for this function:

RInside::~RInside (  ) 

Definition at line 20 of file RInside.cpp.

References logTxt, and verbose.


Member Function Documentation

void RInside::assign ( const std::string &  txt,
const std::string &  nam 
)

Definition at line 330 of file RInside.cpp.

void RInside::assign ( const std::vector< int > &  vec,
const std::string &  nam 
)

Definition at line 320 of file RInside.cpp.

void RInside::assign ( const std::vector< double > &  vec,
const std::string &  nam 
)

Definition at line 297 of file RInside.cpp.

void RInside::assign ( const std::vector< std::string > &  vec,
const std::string &  nam 
)

Definition at line 308 of file RInside.cpp.

void RInside::assign ( const std::vector< std::vector< int > > &  mat,
const std::string &  nam 
)

Definition at line 283 of file RInside.cpp.

void RInside::assign ( const std::vector< std::vector< double > > &  mat,
const std::string &  nam 
)

Definition at line 269 of file RInside.cpp.

void RInside::autoloads ( void   )  [private]

Definition at line 117 of file RInside.cpp.

References pack, packc, packobj, packobjc, and programName.

Referenced by RInside().

void RInside::init_rand ( void   )  [private]

Definition at line 108 of file RInside.cpp.

Referenced by RInside().

void RInside::init_tempdir ( void   )  [private]

Definition at line 89 of file RInside.cpp.

References setenv().

Referenced by RInside().

Here is the call graph for this function:

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

Definition at line 208 of file RInside.cpp.

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

Referenced by parseEvalQ().

Here is the call graph for this function:

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

Definition at line 262 of file RInside.cpp.

References parseEval().

Here is the call graph for this function:


Member Data Documentation

MemBuf RInside::mb_m [private]

Definition at line 25 of file RInside.h.

Referenced by parseEval().

bool RInside::verbose_m [private]

Definition at line 27 of file RInside.h.

Referenced by parseEval(), and RInside().


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

Generated on Sun Dec 20 17:43:24 2009 for RInside by  doxygen 1.6.1