search for: octave

Displaying 20 results from an estimated 321 matches for "octave".

2008 Oct 18
1
octave
trying to install octave from epel onto centos 5.2, and getting dependency errors. only place I could find this RPM was in epel, which I 'thought' ran on native rhel5/centos5 without requiring any other repos, but I guess I'm wrong?!? google tells me libhdf5 is some sot of 'heirarchial data format'...
2008 Jun 08
1
Issue with NA value and Octave compatibility
Dear R developers, I'm an Octave developer in the process of implementing a single precision type in Octave and I have an issue with the NA value. The choice of NA value in Octave was made a few years back so that the high word of the NA value was 0x7ff00000 and the low word was 0x000007A2 for compatibility with R and to ease any...
2012 Mar 27
1
read.octave fails with data from Octave > 3.2.X
Hi, I'm afraid that the function read.octave from package "foreign" has some problems with the ASCII data format exported by new versions of Octave (later than 3.2.X). It fails even for a simple case as: [Octave code:] octave:1> x=1; octave:2> save -ascii testdata.mat x [Now in R:] > octavedata <- read.octave('test...
2002 Dec 03
1
Plotting Speed: R vs Octave
Thank you. Guess it's a plausible explanation. > -----Original Message----- > From: Liaw, Andy [mailto:andy_liaw at merck.com] > Sent: Tuesday, December 03, 2002 08:05 AM > To: 'Chunlou Yung' > Subject: RE: [R] Plotting Speed: R vs Octave > > > If I'm not mistaken, Octave does not have its own graphics system, but > rather rely on gnuplot, which is entirely in C. Lattice/Grid in > R, however, > have a large chunk of the code written in R, for trellis > displays. There's > always price to be paid...
2010 Dec 19
2
R.matlab memory use
Hi, I am trying to load into R a MATLAB format file (actually, as saved by octave). The file is about 300kB but R complains with a memory allocation error: > library(Rcompression) > library(R.matlab) Loading required package: R.oo Loading required package: R.methodsS3 R.methodsS3 v1.2.0 (2010-03-13) successfully loaded. See ?R.methodsS3 for help. R.oo v1.7.2 (2010-04-13)...
2019 May 15
0
Porting R example datasets to GNU Octave
On 5/6/19 7:47 AM, Dirk Eddelbuettel wrote: > > On 5 May 2019 at 10:47, Andrew Janke wrote: > | I'm interested in porting the R example datasets package to GNU Octave > | and Matlab. Would you have objections to my doing so? > > You don't even have to ask... > > [...] > > | Since R's datasets package is GPL, I think I'd be within my rights to > | just do this. But I wanted to ask first, to make sure I didn't ruffle > |...
2009 Jan 04
1
R/octave/matlab etc.
...has been said about this by the folk who have been making R work so well. One of the main difficulties is that the environment of computations affects relative performance. e.g., what settings did a distro package builder choose. I note that my 3 GHz Dual Core machine running Ubuntu 8.04 gets octave 3.0.0 octave:6> tic; a = a + 1; toc Elapsed time is 0.120027 seconds. octave:16> tic; for i=1:1e7; a(i) = a(i) + 1; end; toc; Elapsed time is 238.311 seconds. R2.8.1 > a <- rep(1,10000000) > system.time(a <- a + 1) user system elapsed 0.080 0.064 0.146 &...
2000 Feb 09
1
forwarded message from Dirk Eddelbuettel <edd@debian.org>
...uot;KtpR20HXM2" Content-Transfer-Encoding: 7bit --KtpR20HXM2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Congrats on getting 0.99 out, and on the rapid convergence towards 1.0. Attached below is the latest email in a very interesting thread about building GNU Octave with the 'Atlas' (Automatically Tuned Linear Algebra Software) libraries that are drop-in replacements for (parts of) Lapack and the Blas. Speed increases of up to 10 have been reported for simple matrix multiplication (this is over Lapack/Blas used by Octave). You can find the whole threa...
2019 May 05
1
Porting R example datasets to GNU Octave
Hi, R Developers, I'm interested in porting the R example datasets package to GNU Octave and Matlab. Would you have objections to my doing so? This would involve transforming the example data and metadata into a format that Octave understands, and porting all of the datasets' Example code pieces to Octave M-code. (This would require no work on your part; it'd be my project.)...
2018 Jan 24
4
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
The problem: I would like to translate the Octave algorithm in griddata.m to R. Within the griddata algorithm calls are made to the Delaunay function. For the R translation I have found delaunayn within the "geometry" package and also the deldir package. Both do similar things but give slightly different results depending on the input. T...
2005 Nov 08
4
writing R shell scripts?
I'm new to the list. I've used R and S-PLUS a bit for about 15 years but am now working to make R my main program for all numerical and statistical computing. I also use Octave for this kind of work and I recommend it (it is also under the GPL). Here's my question: In Octave I can write shell scripts in the Linux/UNIX environment that begin with a line like this... #!/usr/local/bin/octave -q ...and the remaining lines are octave commands. Is it possible to do t...
2002 Feb 25
0
Example function for reading Octave data files made by "save -ascii"
Hi, I thought I'd post this simple function I wrote, just in case other users also have Octave data files that they'd like to read into R. (Octave is a matlab-like language, see www.octave.org for details.) Any comments/suggestions appreciated. Stephen read.oct.file <- function(filename) { ## Read in an Octave ASCII data file (as created by "save -ascii" in ## Octav...
2011 May 31
2
[LLVMdev] multiple function return values in LLVM
Hi all, How can I implement a multiple function return values scheme in a performance efficient way, just like what be done in Matlab or Octave? Thanks in advance, Yabin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110531/5813e7a6/attachment.html>
2018 Jan 25
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
...> > It wasn?t really the orientation I was worried about. > > I should perhaps have phrased the question better. It was really about the > fact that for the larger input example the triangles **are not** the same > for each implementation. > > They certainly differ from the Octave implementation (not that that is in > some way a gold standard). > > Anyhow the point made by yourself and others is well taken, i.e. I should > have no expectation that different implementations will produce the same > output. > > > > Regards, > > > > Kam &gt...
2013 Oct 29
1
R vs octave development strategy (and success)
Hi All, if memory serves me well I recall some paper comparing the relative success in getting mainstream acceptance (as mainstream as statistics can be) of both R and Octave. I remember vaguely that the fact the development strategies (core team vs one main developer) played a major role in the relative success of the two programs. I tried to find this paper, but my goggle skills are failing me. Would anyone know where to find it? Best F -------------- next part -...
2011 May 31
0
[LLVMdev] multiple function return values in LLVM
Hi Yabin, Octave uses an octave_value_list object to return multiple values so I don't think it has anything to do with the compiler. A sample function that can be dynamically linked with Octave and called from octave interpreter: #include <octave/oct.h> DEFUN_DLD (divmult, args, nargout, "")...
2009 Mar 08
0
[RFC] running octave, python from within R
...a Shogun 0.7.1 is out and available at http://www.shogun-toolbox.org which contains one new feature that might be of interest to R users. The eierlegendewollmilchsau interface. In case you don't know what this term stands for use google images :-) It is one file that will interface shogun to octave,r,python,matlab. It provides commands to run code in foreign languages: Example: library(elwms) A=matrix(c(1.0,2,3, 4,5,6), nrow = 2, ncol=3) B=matrix(c(1.0,1,1, 0,0,0), nrow = 2, ncol=3) pythoncode=sprintf('import numpy\nresults=tuple([A+B])'); elwms('run_python', 'pythoncod...
2018 Jan 24
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
...h having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jan 24, 2018 at 5:59 AM, Yuen, Kam <k.yuen at fugro.com> wrote: > The problem: > I would like to translate the Octave algorithm in griddata.m to R. > Within the griddata algorithm calls are made to the Delaunay function. For > the R translation I have found delaunayn within the "geometry" package and > also the deldir package. > Both do similar things but give slightly different results depen...
2009 Nov 28
1
R function that duplicates Octave's poly function?
By any chance is anyone aware of an R function that duplicates Octave's poly function? Here is a description of Octave's poly function: Function File: poly (A) If A is a square N-by-N matrix, `poly (A)' is the row vector of the coefficients of `det (z * eye (N) - a)', the characteristic polynomial of A. As an example we can use thi...
2009 Mar 09
3
Identical yum configs, different results
...[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 Octave is installed on drizzle: drizzle@/etc/yum.repos.d# yum info octave Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * centosplus: mirrors.portafixe.com * base: mirrors.portafixe.com * updates: mirrors.portafixe.com * extras: mirro...