similar to: Porting Matlab code to R

Displaying 20 results from an estimated 4000 matches similar to: "Porting Matlab code to R"

2002 Mar 04
1
Solving quadratic functions
I'm examining the use of the 'lm' function to solve quadratic functions. With S+ 2000, the 'lm' function can be used to solve eqns such as x1 + x2 + x1^2 + x2^2 + x1*x2. But, when trying this same eqn with R, the software does not produce any coefficients for x1^2 or x2^2. Is this a common problem? I'm using ver. 1.3.1 under Win. 2000. Thanks, Peter
2005 Sep 01
1
Dataset size in R
Dear listers, I would like to know whether a maximum size is set for data sets in R. I'm planning on analysing data sets which have 330000 points for a sample. The response is from GCxGC output. Also, with data analysis, is there a time-cost saving by performing the analysis in Linux as against doing it in Windows XP? Many thanks, Peter [[alternative HTML version deleted]]
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]]
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
2002 Apr 23
1
Use of nls command
Hello. I am trying to do a non-linear fit using the 'nls' command. The data that I'm using is as follows pH k 1 3.79 34.21 2 4.14 25.85 3 4.38 20.45 4 4.57 15.61 5 4.74 12.42 6 4.92 9.64 7 5.11 7.30 8 5.35 5.15 9 5.67 3.24 with a transformation of pH to H <- 10^-pH When using the nls command for a set of parameters - a, b and c, I receive two sets of errors: >
2007 Apr 05
8
package for Matlab
Hallo, does a package for Matlab exist in R? If yes, where can I find it and how can I install it under R? Thanks, Corinna
2010 Aug 03
4
hi!!! guestion!!
I made some matlab codes... Is there any method to perform matlab codes in R program?? -- View this message in context: http://r.789695.n4.nabble.com/hi-guestion-tp2311219p2311219.html Sent from the R help mailing list archive at Nabble.com.
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 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
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
2002 Aug 20
2
Calling R from within Matlab Code
Hi, Does anyone know how I can call R from within Matlab and return the result to Matlab? Thanks, Kamyar -- ================================== FROM: Kamyar Hazaveh Hesarmaskan Ontario, Canada E-mail: kamyar_hazaveh at ieee.org -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
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")
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
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
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' ...
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í >
2004 Oct 07
8
Equivalents of Matlab's 'find' and 'end'
Sorry if these questions have been asked recently--I'm new to this list. I'm primarily a Matlab user who is attempting to learn R and I'm searching for possible equivalents of commands that I found very handy in Matlab. So that I don't seem ungrateful to those who may answer, I HAVE determined ways to carry out these processes in 'brute force' sorts of ways in R code,
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: > -
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 Feb 07
1
Rmatlab
Dear all, I came across recently to the Rmatlab package (http://www.omegahat.org/RMatlab/) that allows R and Matlab to "talk" to each other. I made several attempts to install it on my Mac but without any success as some headers seem to miss. I am just wondering if anyone has already tried and successfully used RMatlab. According to the website, this should run on unix machines