Quantcast
Channel: R.NET
Browsing all 1634 articles
Browse latest View live
↧

New Post: can't plot in a file

Hello, I need to plot a graph from R to file using c# on x86 machine (Visual Studio 2010). I tried to follow example from http://rdotnet.codeplex.com/discussions/353150 but file wasn't created. Here is...

View Article


New Post: Cannot access RODBC

I am trying to use RODBC under RDotNet in a VisualBasic.NET application. RDotNet works fine, but I am unable to use RODBC (to access a MS ACCESS database). I have tried lots of different solutions, but...

View Article


New Post: Cant source another R script

Just for testing purposes I'm simply doing the following:StringWriter sw = new StringWriter(); Console.SetOut(sw); try { return...

View Article

New Post: Cant source another R script

This is odd. Your code looks fine, and the following works for me as expected. engine.Evaluate("source(file.path('f:/tmp/test.R'))"); var a = engine.Evaluate("a").AsNumeric().ToArray(); While not a...

View Article

New Post: Cannot access RODBC

Hi, Unfamiliar with RODBC, but there is no reason why this would not work if it works in the R console (does it?). If there is a difference you could get more information by using quietly=FALSE which...

View Article


New Post: can't plot in a file

Works for me. I think you overlook something I noticed with R when writing graphics to files: the information is not written until you either call plot to write to another file (with Cairo drivers...

View Article

New Post: Evaluating user-defined functions; including libraries; displaying...

Works for me, using a version nearly identical to release 1.5. // setup with //var envPath = Environment.GetEnvironmentVariable("PATH"); //var rBinPath = @"F:\bin\R\bin\x64";...

View Article

New Post: Cant source another R script

Hi, Thanks for your reply. I found out what the problem was and thought it best to explain in case someone else has the same problem. I have 2 versions of R installed on my machine(2.14.1 and 2.9.0). I...

View Article


New Post: Could not load file or assembly 'R.NET' or one of its dependencies....

Well now I am getting Dll was not found. var envPath = Environment.GetEnvironmentVariable("PATH"); var rBinPath = @"C:\Program Files\R\R-2.15.2\bin\x64"; // path is correct...

View Article


New Post: Least Square Regression

How do I do this in r.net? mydata <- read.csv('GoodCarbsDesign.csv', header = TRUE) fit <- lm(rate ~...

View Article

New Post: Cannot access RODBC

RODBC works fine using the Console in R i386 2.15.2. The RODBC package is shown when I list packages using R.NET. I am developing in VB.Net and there are no messages (other than the ones I display)...

View Article

New Post: Cant source another R script

Thank you for sharing this; this is really useful and confirms the recurrent difficulties with R environment variriables depending on the platforms and user setups.

View Article

New Post: Least Square Regression

Anything? Maybe something like this:Matrix( var xdata = new Matrix( new double[,]{{1, 36, 66, 45, 32}, {1, 37, 68, 12, 2}, {1, 47, 64, 78, 34}, {1, 32, 53, 56, 32}, {1, 1, 101, 24, 90}}); var ydata =...

View Article


New Post: Safely cancel an evaluate

Hi again, I have my engine all up and running and am using it to execute pre-written R scripts. Sometimes these can take a while to run so I want to give the user a way to cancel this process. Is there...

View Article

New Post: Problem generating PNG graphics, sometimes

Hi, I am getting a strange problem that I am having trouble solving. My R.NET application is getting the following error plotting to a PNG file.Error in plot.xy(xy.coords(x, y), type = type, ...) :...

View Article


New Post: Safely cancel an evaluate

I am also interested in the answer to this question

View Article

New Post: Memory Corruption

I'm hitting R many times using C# and at some point, I get memory violation errors. I'm not sure if this is RDotNet or R's problem, but I just found out that R has its own garbage collector. By calling...

View Article


Created Issue: Cannot create multiple engine instances [37]

Hello,I get an SEHException when I try to create an engine instance the second time. I'm using R 2.15.3 and R.Net 1.4.0.0.I have implemented a wrapper that tests on startup if R is installed and if it...

View Article

Commented Issue: Cannot create multiple engine instances [37]

Hello,I get an SEHException when I try to create an engine instance the second time. I'm using R 2.15.3 and R.Net 1.4.0.0.I have implemented a wrapper that tests on startup if R is installed and if it...

View Article

New Post: R.NET 1.5 cannot initialize engine

Hello, I started building a prototype with r.net 1.4 version where I hit a couple serious issues. Now I updated to 1.5 and included the R.NET projects (source code) in my solution to see where it stops...

View Article
Browsing all 1634 articles
Browse latest View live


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