Quantcast
Viewing latest article 14
Browse Latest Browse All 1634

Created Unassigned: Cannot install readxl and reshape packages [195]

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!

Viewing latest article 14
Browse Latest Browse All 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>