[R] Best advice for connect R and Octave

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Nov 14 23:47:18 CET 2009


See

http://www.omegahat.org/ROctave/

which offers the source package for download and some documentation that 
is not too promising.

Good luck,
Uwe Ligges





Jason Rupert wrote:
> Uwe, 
> 
> Thank you for the quick response, but I think I'm missing what is being suggested about the Omegahat site. 
> 
> I think I may be overlooking something about that site. 
> 
> I tried:
>> install.packages(ROctave, repos = "http://www.omegahat.org/R")
> Error in install.packages(ROctave, repos = "http://www.omegahat.org/R") : 
>   object 'ROctave' not found
> 
> Results were similar to trying the CRAN site, so can you provide any additional hints (I think the caffeine may be fogging my understanding of your previous hint).
> 
> I would also be willing to try other alternatives for accessing Octave functionality within R.  I am not locked into any approach at this point, but would really like, if possible to stay in the R environment, but also need to access some of the frequency domain plotting and analysis capability, e.g. bode, nyquist, root locus, etc. offered by Octave.   Given the other analysis and plotting capabilities within R I would likely be switching between the two programs quite a bit so having access to data in a common workspace would really help workflow. 
> 
> Thanks again and I guess no more Diet Coke for me today...Cie la vie...
> 
> 
> 
> 
> 
> ----- Original Message ----
> From: Uwe Ligges <ligges at statistik.tu-dortmund.de>
> To: Jason Rupert <jasonkrupert at yahoo.com>
> Cc: R-help at r-project.org
> Sent: Sat, November 14, 2009 4:17:03 PM
> Subject: Re: [R] Best advice for connect R and Octave
> 
> - It has never been on CRAN.
> - A quick Google search suggests it is on Omegahat.
> 
> Uwe Ligges
> 
> 
> 
> 
> 
> Jason Rupert wrote:
>> I see at one time there was a package called ROctave.  I tried to install that package:
>>
>>> install.packages("ROctave")
>> --- Please select a CRAN mirror for use in this session ---
>> Warning message:
>> In getDependencies(pkgs, dependencies, available, lib) :
>>   package ‘ROctave’ is not available
>>
>> Unfortunately it appears that the package is no longer available. By any chance is there another package or series of steps that need to be followed to allow R to interface with Octave on the Window platform (not using Cygwin)?  
>> Ideally the interface would allow R to make Octave calls.   I am using Octave Version 3.2.3 installed from http://octave.sourceforge.net/. 
>> For example I would like to call the bode function in Octave from R:
>>
>>
>> L = tf2sys(3e4 * [0.0025 0.1 1], [0.01 1.03 3.03 3.01 1]);
>> bode(L);
>> Thanks for any feedback and insights. 
>>
>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 
> 
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list