SetDllDirectory is deprecated. If you are using the same directory for adding to PATH as you use for SetDllDirectory, this does not look right either. What is needed is the path to the native R.dll library that comes with the R program. The R.NET home page has a clear example.
Depending on your project 'RDotNetConsole' you need to specify, for instance:
"c:\Program Files\R\R-3.0.1\bin\i386"
or:
"c:\Program Files\R\R-3.0.1\bin\x64"
See for instance /platform (C# Compiler Options) and linked pages for an explanations with .NET processes.
R.NET is built as AnyCPU, and will work with either 32 or 64 bits processes.
Regards
Depending on your project 'RDotNetConsole' you need to specify, for instance:
"c:\Program Files\R\R-3.0.1\bin\i386"
or:
"c:\Program Files\R\R-3.0.1\bin\x64"
See for instance /platform (C# Compiler Options) and linked pages for an explanations with .NET processes.
R.NET is built as AnyCPU, and will work with either 32 or 64 bits processes.
Regards