New Post: R.NET - using external libraries (like "signal" or other)
Hello. I tried to write a little program using R.NET 1.5, but have a trouble - have a ParseException on the following code: GenericVector vec = engine.Evaluate("bf <- butter(5, 0.1)").AsList(); I...
View ArticleNew Post: R.NET - using external libraries (like "signal" or other)
Solved by http://rdotnet.codeplex.com/discussions/403460 Kosh, you rock, really rock - It's an amazing instrument I have now for connecting R to my .NET projects (risk-management). Thank you very much!
View ArticleNew Post: StackOverflowException unhandled
I wish I could get a hold of the InnerException property. I have tried surrounding my code with try { ... } catch (StackOverflowException) to get inner exception property, but the exception is thrown...
View ArticleNew Post: What is the best way to prevent memory being corrupted when calling...
I am getting a momery corruption error when I repeatedly call a procedure in R using the termstrc package. After around 16 calls I get a corrupt memory error or one related to garbage collection: I...
View ArticleNew Post: What is the best way to prevent memory being corrupted when calling...
Hi, Can you be more specific about the error messages and stack traces you are getting? Regards
View ArticleNew Post: What is the best way to prevent memory being corrupted when calling...
I have added this message below, this was all I got. I sometimes have had a memory corruption error as well. Thanks for your help !CallbackOnCollectedDelegate was detectedMessage: A callback was made...
View ArticleNew Post: .Call using R.Net
Hi group, I am using R.Net to load a dll file which I have created for a C code compiled using R CMD SHLIB. It has a function which I can acess in R using the .Call() method. But when i run the code...
View ArticleNew Post: Open R console in interactive mode
Hi I am new to R and R.Net and am looking for a way to have the R console window open when I create the REngine (to help with debugging purposes). I am using version 1.5, and it looks like the...
View ArticleNew Post: Open R console in interactive mode
Hi, I don't think there is a trivial way to set this up. If what you want is to have an interactive R console, to my knowledge this is not straightforward to set up. R.NET uses the R AP function...
View ArticleNew Post: Package ‘stats’ in options was not found
Hi, I'm trying to use R.NET and I get this message on the output of the program (it's a c# console program): Error in inDL<x, as.logical<local>, as.logical<now>, …> : unable to load...
View ArticleNew Post: .Call using R.Net
Hi, Thanks for providing the stack trace, it is useful to provide conditions. It seems from it that you are running your program from visual studio; do you observed the same access violation crash if...
View ArticleNew Post: What is the best way to prevent memory being corrupted when calling...
Thank you; Apologies for the delay in the reply; it has been a difficult month at work. This does look like a problem in R.NET itself indeed, and should be reproduced and morphed into a unit test for...
View ArticleNew Post: Memory Corruption
Thank you for this report. This sounds a similar issue you encountered to that in https://rdotnet.codeplex.com/discussions/441642. As mentioned in that discussion, this deserves a unit test. If you can...
View ArticleNew Post: How to capture raw console output?
I have a simple hack, which is not perfect but still provide a R console Embedded into C# using System; using System.Linq; using RDotNet; using System.IO; class Program {static void Main(string[] args)...
View ArticleNew Post: Fatal error: unable to open base package
after searching and testing, I was able to resolve this error. You have to set the variable R_HOME, at the root of R, since apparently looking at some of the folders in the root directory of the...
View ArticleCommented Issue: multiple engines running at the same time [17]
When there is only one engine, loading a library is ok: var engine = REngine.CreateInstance("RDotNet2"); engine.EagerEvaluate("library(lars)");But when there are two or more engines, there will be an...
View ArticleCreated Unassigned: segfault 'invalid permissions' in R at the REngine...
Linux 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 15:17:59 UTC 2013 i686 i686 i686 GNU/LinuxRunning on a VMruning as 'normal user' in an Ubuntu sense.``` C# var rHome = "/usr/lib/R"; string path =...
View ArticleNew Post: When will the source code be updated to version 1.5
If I understand it correct then version 1.5 supports R version 2.15. How difficult will it be to upgrade for R ver 3.0?
View ArticleCreated Unassigned: TestGC unit test fails if all the test suite is run [39]
Same behavior run on Windows 7, 64 bits, NUnutGUI or from VS 2012.the test passes if run along the tests in the same class, but may fail subsequently once it has failed once.RDotNet.ParseException was...
View ArticleNew Post: When will the source code be updated to version 1.5
Hi, So far as I know the R API has not changed between these versions and version 1.5 and the latest source code (very close to 1.5) work with R 3.0.x. Let us know if you have a particular concern in...
View Article