Displaying 1 result from an estimated 1 matches for "m_strerrmsg".
2010 Sep 09
0
calling Rf_initEmbeddedR error
...tion Error
     if(fun == R_NilValue)
     {
      UNPROTECT(1);
      throw std::range_error("R Function not found");
     }
     SETCAR(e, fun);
     UNPROTECT(1);
     // End R
     R_dot_Last();
     Rf_endEmbeddedR(0);
      R_gc();
    }
    catch(std::exception& ex)
    {
     m_strErrMsg = ex.what();
     return S_FALSE;
    }
    catch(...)
    {
     m_strErrMsg = "Exception: unknown reason";
     return S_FALSE;
    }
   -----------------------------
   my work environment :
   R version : 2.11.1
   Development Language : VC++
   OS : WinXP Pro sp3
   Thanks and bes...