1
Vote

Cannot install readxl and reshape packages

description

I'm trying to evaluate a script that uses reshape and readxl packages.

The code i'm using:
           REngine.SetEnvironmentVariables();
            REngine engine = REngine.GetInstance();
            engine.Initialize();

            string[] commands = new string[]
            {
                @"install.packages(""reshape"")",
                @"install.packages(""readxl"")",
                @"library(reshape)",
                @"library(readxl)"
            };
            SymbolicExpression scriptResult = engine.Evaluate(String.Join("\n", commands));
The error that i get is: "Error: package or namespace load failed for 'reshape'"

I'm on windows 7 x64, the project is set to x64 as well.

Am i missing any configurations or is there an issue?

Thank you!

comments