Hello!
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

bogadelenka@mail.ru

 

 

	[[alternative HTML version deleted]]

