ying zhang
2011-Jan-05 15:51 UTC
[R] rShowMessage "Fatal error: unable to open the base package
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]]
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