Hi, I want to write an independent C++ application that can call any R functions and output it as an c++object. I tried to use The documentation for Linking R DLL with VC++ But with no success. When I link R.dll it says Invalid or corrupt file Any help greatly aprrciated. Thanks Shilpi