Displaying 20 results from an estimated 1000 matches similar to: "Calling R from within Matlab Code"
2009 Jan 04
1
R/octave/matlab etc.
I'd echo a lot of what 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
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
2009 Jul 24
4
Cannot install Matlab 5.3 R11
Hi everybody:
Thanks for reading.
I'm a Linux Debian Lenny user. I'm trying to install Matlab 5.3 R11 through wine-1.0.1-174-gc4039bd. The SETUP.EXE runs correctly.
The problem is when I enter the PLP (Personal License Password) required. I'm sure that the PLP is correct, but "matlab says not". The message is:
"The PLP you have entered is incorrect. Check your PLP
2005 Jul 13
3
How to use the function "plot" as Matlab?
Hello,
How to use the function plot to produce graphs as Matlab?
example in Matlab:
a = [1,2,5,3,6,8,1,7];
b = [1,7,2,9,2,3,4,5];
plot(a,'b')
hold
plot(b,'r')
How to make the same in R-package ?
I am trying something thus:
a <- c(1,2,5,3,6,8,1,7)
c(1,7,2,9,2,3,4,5) -> b
a;b
plot(a,t="l",col="blue")
plot(b,t="l",col="red")
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' ...
2007 Mar 20
2
Translating code from R into Matlab code
Hi,
Correct me if I am wrong but can I translate the R code into Matlab via
this package. ie I have a script in R, if I run this package on a Unix
emulator can I get the R code displayed in Matlab format ( R code
changed into Matlab code). If that is possible that would be great and
if so how. Also, If this program cannot do this do you know one that can
do this:
Regards,
James Flood
2013 Nov 20
2
r Y MATLAB
No puedo adjuntarlo a la lista. Os lo pongo esta tarde en DropBox y os envío
el enlace...
Un saludo.
Isidro Hidalgo Arellano
Observatorio Regional de Empleo
Consejería de Empleo y Economía
ihidalgo en jccm.es
http://www.jccm.es
> -----Mensaje original-----
> De: r-help-es-bounces en r-project.org [mailto:r-help-es-bounces en r-
> project.org] En nombre de Rubén Gómez Antolí
>
2007 Nov 17
3
R and reading matlab compressed files
Is there any way to read these files (standard .mat files, created by
matlab version 7 onwards are compressed)? I know that R.matlab doesn't
read them (it even says in the file MatlabServer.m "Matlab v7 saves
compressed files, which is not recognized by R.matlab's readMat()" (lines
47-8)).
I know I should be able to make R call Matlab and transfer data (not that
I managed to
2011 Nov 10
1
Running Matlab-compiled binaries with Wine?
Hi,
yesterday, I tried to install a program that was compiled with Matlab under Wine. Unfortunately, when the installer tried to install the Matlab libraries, I got an error indicating that something had gone wrong with a file named _install.bat.
We don't have Matlab for Linux here, so Wine seems to be our only option for this program.
Has anyone else perhaps succeeded in installing
2005 Jun 06
2
Porting Matlab code to R
Hello,
I'm looking at porting code written for Matlab to R.
However, I don't have sufficient knowledge of Matlab to know whether
it's feasible or appropriate.
If there is anyone who has any experience in this and could provide some
advice, I'd be grateful.
TIA, Peter
[[alternative HTML version deleted]]
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
2013 Nov 20
4
r Y MATLAB
Más alternativas:
http://stackoverflow.com/questions/5527145/convert-matlab-code-to-r
https://stat.ethz.ch/pipermail/r-help/2007-March/127981.html
Saludos,
Carlos Ortega
www.qualityexcellence.es
El 20 de noviembre de 2013 09:15, Isidro Hidalgo <ihidalgo@jccm.es>escribió:
> Lo encontré. Los enlaces no funcionan directamente:
> -
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
2005 Oct 12
3
Can R functions be implented in Matlab
Hi,
I am Madhu Kishore a Graduate student at University of Texas at El Paso in Electrical Engineering. I am using R language for Normality tests and my doubt is can implements the R functions in Matlab. I expect to hear from you soon.
Madhu kishore.
---------------------------------
[[alternative HTML version deleted]]
2024 Feb 27
4
converting MATLAB -> R | element-wise operation
So, trying to convert a very long, somewhat technical bit of lin alg
MATLAB code to R. Most of it working, but raninto a stumbling block that
is probaably simple enough for someone to explain.
Basically, trying to 'line up' MATLAB results from an element-wise
division of a matrix by a vector with R output.
Here is a simplified version of the MATLAB code I'm translating:
NN = [1,
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:
2006 Apr 19
1
comparing execition time: R vs matlab linear algebra...
Greetings:
We are evaluating the performance of R matrix algebra es as we port a
MATLAB R14 script into R.
The MATLAB code basically evaluates the AX=B system on sparse matrices
that result in output matrices of 100 to 1,000,000 rows/columns.
Our R prototype script uses spase base matrices and the methods qr() and
qr.coeff().
The following statements are called inside a doubly-nested loop:
G
2007 Jun 26
4
Looking for parallel functionality between Matlab and R
I'm slowly moving my statistical analysis from Matlab to R, and find myself
missing two features:
a) How do I mimic Matlab's 'hold on'? (I want to show several plots
together, when I type two plots one after the other the second overwrites
the first)
b) How do I mimic Matlab's 'axis'? (after drawing my plots I want to zoom on
specific parts- for example, x=0:5,
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
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>