|
From: | Olaf Till |
Subject: | Re: Octave interface with R |
Date: | Mon, 16 Nov 2009 09:13:12 +0100 |
User-agent: | Mutt/1.5.18 (2008-05-17) |
On Sun, Nov 15, 2009 at 06:30:17PM -0800, Jason Rupert wrote: > ... > By any chance is there another alternative to help with interfacing > Octave with R or vice versa? Some time ago, I made some functions for private use to call some regression-analysis code of R from Octave. I have not the time now to recall to me each detail, but maybe you can get an introduction from them how to do similar things. Attached Octave functions: Ropen: start R with popen2 and return an "R-object" used by all other functions Rprintf: "printf" arbitrary strings to Rs commandline Rput: install an Octave matrix as a table in R Rflushin: flush Rs stdout, necessary before collecting output from R Rdisp: display a table in R Rget: collect some output from R in Octave Rlm: combine above functions to examine data with a linear model in R Rclose: quit R and close connection HTH, Olaf
Rclose.m
Description: Text document
Rdisp.m
Description: Text document
Rflushin.m
Description: Text document
Rget.m
Description: Text document
Rlm.m
Description: Text document
Ropen.m
Description: Text document
Rprintf.m
Description: Text document
Rput.m
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |