ying zhang <ying.zhang <at> struq.com> writes:

> 
> Hi All,
> 
> As you may know I am trying connect R with java by RJava,  now I run the
> examples, I got this error
> 
> rShowMessage "Fatal error: unable to open the base package
> 
> I am using 64bits windows 7 and eclipse. Any suggestions?
> 
> Many thanks
> 
> Ying
> 
>       [[alternative HTML version deleted]]
> 
> 


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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to