Skip to content
Prev 252905 / 398500 Next

rShowMessage "Fatal error: unable to open the base package

ying zhang <ying.zhang <at> struq.com> writes:
Hello, Ying!

Have you solved your problem? I am trying connect R with C++ and I have the same 
error. I guess that this problem occurs during unsuccessful attempt to open file 
"base" in  ...\R-2.12.2\src\main\startup.c.

(
FILE *R_OpenLibraryFile(const char *file)
{
    char buf[259];
    FILE *fp;

    snprintf(buf, 259, "%s/library/base/R/%s", "C:/Rcpp_and_RInside/R/R-2.12.2", 
file);
    fp = R_fopen(buf, "r");
    return fp;
} 

Obviously, it returns NULL).

I don't know, how it can be corrected.

May be, you know?

Olga