#include <RInside.h>
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 |
Definition at line 23 of file RInside.h.
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.
RInside::~RInside | ( | ) |
Definition at line 20 of file RInside.cpp.
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().
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().
int RInside::parseEvalQ | ( | const std::string & | line | ) |
Definition at line 262 of file RInside.cpp.
References parseEval().
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().