help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave interface with R


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

Attachment: Rclose.m
Description: Text document

Attachment: Rdisp.m
Description: Text document

Attachment: Rflushin.m
Description: Text document

Attachment: Rget.m
Description: Text document

Attachment: Rlm.m
Description: Text document

Attachment: Ropen.m
Description: Text document

Attachment: Rprintf.m
Description: Text document

Attachment: Rput.m
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]