Displaying 20 results from an estimated 3000 matches similar to: "R/octave/matlab etc."
2009 Jan 03
2
R badly lags matlab on performance?
Here's a small R program:
---------------------------------------------------------------------------
a <- rep(1,10000000)
system.time(a <- a + 1)
system.time(for (i in 1:10000000) {a[i] <- a[i] + 1})
---------------------------------------------------------------------------
and here's its matlab version:
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('testdata.mat')
Mensajes de aviso perdidos
In
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 possible issue with the exchange of
data files between Octave
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
1999 Jul 10
0
R,S,Octave,Matlab:SUMMARY
Dear R makers and users.
I summarize answers to my question. Thanks
for your help.
The conclusion seems to be
that, in terms of performance with large datasets,
Matlab=Octave > R > Splus5.1 > Splus5.0
but Matlab/Octave lack many of the stat
functions of R/S, and,
R does not have as many time-series functions
as S+ (but see last message to r-announce by adrian.trapletti at
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.)
I think
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'
library, whatever that means.
# yum install octave
Loading
2018 Jan 24
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
"The question is, what is making the results for the R packages different
from each other?"
There are literally thousands of R packages, contributed independently by
thousands of people. There should be no expectation of consistency or for
that matter, "correctness", among them. Caveat emptor.
Only within the base R distribution, maintained and mostly written by the R
Core
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.
The question is, what is making the results for the
2010 May 03
0
Matlab vs. Octave
Oddly enough, there's a report on slashdot today, that Matlab doesn't have
the code for 64 bit math, bu that "Octave, the free Matlab clone" does.
<http://tech.slashdot.org/article.pl?sid=10/05/02/2038255>
mark
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) successfully
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
2003 Apr 16
2
import data from Matlab & error msg when install package "e1071"
Hello,
I am trying to import data from Matlab..
when i looked up R documentation, it says, package "e1071" have command
(read.octave) to import data from octave.
but when I tried to install package by using:
install.packages("e1071");
I got the following message: ( BTW, my platform is linux version 2.4.18-3
my gcc is 2.96).
* Installing *source* package 'e1071' ...
2002 Mar 17
1
translate octave code to R
Hello,
I'd like to translate de code below, write in octave, to R. I'm learning to
operate R a few time ago, and an example of translation will be useful for
me.
This code is my lectures in an undergraduate course of statistical
computing.
echo off;
k=0;
while (k<>1)
n = input('a prime: ');
D = 2;
r = n - D * floor((n/D));
while((D <= sqrt(n) & (r <>
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
> |
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
## Octave
2008 Mar 26
2
Moving data between R and Matlab back and forth?
Hi to the list,
I am trying to find a way to painlessly move structured data back and
forth between R and Matlab (also Octave). For this purpose I found the
R.matlab package great help. I wish to use a Matlab -v6 MAT file as an
intermediary format, because it is well read by both Matlab and
Octave. It is also well read by 'readMat' function in R.matlab
package, but that is where I run
2009 Mar 08
0
[RFC] running octave, python from within R
Dear all,
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:
2018 Jan 25
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
I just looked at the data at the URL you posted and it looks like it
consists
of all the points in a rectangular grid. When you triangulate a rectangle
it is
arbitrary whether you use the SW-NE or the SE-NW diagonal and that looks
like the only difference between the various algorithms.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Jan 25, 2018 at 5:14 AM, Yuen, Kam <k.yuen at
2004 Apr 25
7
R vs Matlab: which is more "programmer friendly"?
Hi,
The department of economics at our university (Budapest) is planning a
course on numerical methods in economics. They are trying to decide
which software to use for that, and I would like to advocate R. The
other alternative is Matlab.
I have found comparisons in terms of computational time for matrix
algebra, but I don't think that is relevant: the bottleneck for
economists is usually