Re: [R] rShowMessage "Fatal error: unable to open the base package

From: Olga <bogadelenka_at_mail.ru>
Date: Tue, 08 Mar 2011 16:29:18 +0000

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_at_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. Received on Tue 08 Mar 2011 - 17:32:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Mar 2011 - 17:40:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive