Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20110308T170955-142@post.gmane.org>
Date: 2011-03-08T16:29:18Z
From: Olga Starunova
Subject: rShowMessage "Fatal error: unable to open the base package

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