New Post: engine.Evaluate in an event driven method
Everything has been resolved. The issue of an exception being thrown the second time engine.Evaluate was called was due to a coding error on my part. Specifically, I was using a StringBuilder to build...
View ArticleCreated Unassigned: R.NET 1.5.5 on FreeBSD with MonoDevelop 4.0.12 does not...
I tested R.NET 1.5.5 on FreeBSD with MonoDevelop 4.0.12. It does not work.The following line throws exceptions shown below:line 43 of RDotNet.NativeLibrary.UnmanagedDll.cs: IntPtr handle =...
View ArticleCommented Unassigned: R.NET 1.5.5 on FreeBSD with MonoDevelop 4.0.12 does not...
I tested R.NET 1.5.5 on FreeBSD with MonoDevelop 4.0.12. It does not work.The following line throws exceptions shown below:line 43 of RDotNet.NativeLibrary.UnmanagedDll.cs: IntPtr handle =...
View ArticleEdited Issue: R.NET 1.5.5 on FreeBSD with MonoDevelop 4.0.12 does not work. [83]
I tested R.NET 1.5.5 on FreeBSD with MonoDevelop 4.0.12. It does not work.The following line throws exceptions shown below:line 43 of RDotNet.NativeLibrary.UnmanagedDll.cs: IntPtr handle =...
View ArticleNew Post: Memory leak (/issue), Please Help !
Hello All: I've been busting my guts trying to get this function to work, but it runs out of memory after x = 3 or 4. I should be clearing all the stuff, trying every last trick I know. What have I...
View ArticleNew Post: Memory leak (/issue), Please Help !
gc() should print out memory usage after each call, call it at the start and start of the loop and verify that the memory is being cleared. You can also do memory profiling in R via,...
View ArticleNew Post: Memory leak (/issue), Please Help !
I don't know why my plusses are coming out as + ??
View ArticleNew Post: Memory leak (/issue), Please Help !
evolvedmicrobe wrote: gc() should print out memory usage after each call, call it at the start and start of the loop and verify that the memory is being cleared. You can also do memory profiling in R...
View ArticleNew Post: How to Query STRING VALUES from Dataframe
I'm a beginner..I wrote something like this: engine.Evaluate("library(ggplot2)"); engine.Evaluate("data(mpg)"); DataFrame df = engine.GetSymbol("mpg").AsDataFrame(); for (int rowIndex = 0; rowIndex...
View ArticleNew Post: How to Query STRING VALUES from Dataframe
This is because the columns of the data frames are vectors that are factors. Even in pure R coercion of factors can be a stumbling block. I suggest you access the data frame by columns, like the...
View ArticleNew Post: Memory leak (/issue), Please Help !
There is a lot to get one's head around, and I will not bet I got the sole issue, but the following lines do not look right. prdPxVector.SetHandleAsInvalid(); prdPxVector.Dispose(); First, though not...
View ArticleNew Post: How to Query STRING VALUES from Dataframe
Works correctly Thanks to @jperraud..
View ArticleNew Post: Memory leak (/issue), Please Help !
jperraud, if that works you may have saved me yet again! Excited. Will post back once I have tried.
View ArticleCommented Issue: Access violation with AsList [81]
With this code:``` var numlist = engine.Evaluate("c(1.5, 2.5)").AsList(); Console.WriteLine(numlist); Console.WriteLine(numlist[1]);```I get an access violation when attempting to retrieve item 1. (I...
View ArticleNew Post: Memory leak (/issue), Please Help !
My (very slow) function running now, will report back. Just a quick suggestion for the rDotNet guys - would be a great little addition to the library if rEngine had a really simple method,...
View ArticleNew Post: Writing R code in C# and Executing
Hi Team, I am working on various algorithms in R Studio. I need to execute those algorithms from my C# code using R. how do I write the R code in C# and Execute. Can you provide any example for this....
View ArticleNew Post: Writing R code in C# and Executing
See the documentation tab, in particular: engine.Evaluate("source('c:/src/path/to/myscript.r')");
View ArticleNew Post: Writing R code in C# and Executing
Thanks your reply. In my case I don't have any static data to be written in the .r file. I need to retrieve the data from my Database. later send the data and the .r script to R engine and do the...
View ArticleNew Post: Memory leak (/issue), Please Help !
billybond, Regarding the slow runtime, I'd be interested to hear if you have an idea of where the hotspot is, if you can identify it. If you are using version 1.5.5 or the latest 'default' branch,...
View Article