I wrote some simple code in F# to test R.NET for R 3.0.2 and it works fine. When I upgrade my R to the newly release of 3.0.3, the same code does not work any more. I correctly specify the path where R.DLL is located, checked the version numbers in registry, checked the PATH environment variable, R.NET still does not work but keep reporting:
```
Fatal error: unable to open the base package
```
My simple code in F#:
```
open RDotNet
open RDotNet.NativeLibrary
open RDotNet.Internals
let REngine = REngine.CreateInstance("R_INSTANCE", @"C:\Program Files\R\R-3.0.3\bin\x64\R.dll")
REngine.Initialize()
[<EntryPoint>]
let main argv =
0
```
Error occurs to this line: `REngine.Initialize()`.
I don't know whether this happens to all machines with R 3.0.3.
Comments: However, it works with VS 2013 but does not work with Xamarin Studio 4.2.3, the code is exactly the same. Since Xamarin Studio 4.2.3 only supports x86, I change the path to `C:\Program Files\R\R-3.0.3\bin\i386\R.dll` but it does not work. The error is the same.
```
Fatal error: unable to open the base package
```
My simple code in F#:
```
open RDotNet
open RDotNet.NativeLibrary
open RDotNet.Internals
let REngine = REngine.CreateInstance("R_INSTANCE", @"C:\Program Files\R\R-3.0.3\bin\x64\R.dll")
REngine.Initialize()
[<EntryPoint>]
let main argv =
0
```
Error occurs to this line: `REngine.Initialize()`.
I don't know whether this happens to all machines with R 3.0.3.
Comments: However, it works with VS 2013 but does not work with Xamarin Studio 4.2.3, the code is exactly the same. Since Xamarin Studio 4.2.3 only supports x86, I change the path to `C:\Program Files\R\R-3.0.3\bin\i386\R.dll` but it does not work. The error is the same.