[Rd] Fatal error: unable to open the base package (R, C++, Windows 7)

From: Olga Starunova <bogadelenka_at_mail.ru>
Date: Tue, 08 Mar 2011 20:06:37 +0300

I am trying to connect R with C++ via RInside package (OS: Windows 7, developing enviroment: CodeBlocks).

When my project runs I have the "Fatal error: unable to open the base package".

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", R_home, file);

    fp = R_fopen(buf, "r");

    return fp;


Obviously, it returns NULL).  

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

I appreciate for any help very much.

Starunova Olga

Moscow State University


        [[alternative HTML version deleted]]

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 08 Mar 2011 - 22:45:13 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 Wed 09 Mar 2011 - 06:10:29 GMT.

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

list of date sections of archive