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

bogadele...@mail.ru

 

 

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to