Displaying 20 results from an estimated 500 matches similar to: "Problem in calling R functions from Matlab"
2009 Mar 09
0
Usar R desde Matlab
Hola,
He estado utilizando un paquete en Matlab para llamar a R (
http://www.mathworks.com/matlabcentral/fileexchange/5051 ). Es muy sencillo
y en cinco minutos he conseguido ejecutar funciones de R. Basta con instalar
este paquete en el directorio de trabajo y podremos ver unas funciones para
enviar variables a r y trabajar desde matlab. Un ejemplo sería este:
>> openR
>> a =
2011 Aug 30
1
execute R commands from Matlab
They seem to have a workaround. I don't know whether anything better is
available by now.
http://www.mathworks.com/matlabcentral/newsreader/view_thread/163726
HTH,
Daniel
sarak wrote:
>
> Is it possible for anyone to upload a youtube video showing how to execute
> R commands in Matlab , it's so vital for me ..
>
--
View this message in context:
2009 Sep 08
0
Re : calling combinations of variable names
Thanks to Justin, Baptiste, and Sebed for your answers.
The solutions work well. I have been putting them to good use today: the
code now works wonderfully and I learnt some useful tricks!
thanks, Peter
<-----Original Message----->
>From: justin bem [justin_bem@yahoo.fr]
>Sent: 9/8/2009 9:06:23 AM
>To: heltertwo@care2.com
>Cc: r-help@stat.math.ethz.ch
>Subject: Re: Re :
2009 Sep 07
2
calling combinations of variable names
R-2.9.1, Windows7
Dear list,
I have a question to you that seems very simple to me, but I just can't
figure it out.
I have a dataframe called "ratings" which contains the following
variables: evalR1, evalR2, evalR3, evalR4, scoreR1, scoreR2, scoreR3,
scoreR4, opinionR1, opinionR2, opinionR3, opinionR4. (there are more
variables, but this gives an idea of the data structure).
What
2011 Nov 24
1
readGDAL or raster for reading bit map files
Dear all,
I have asked yesterday of how I can read a simple bitmap file in R cran.
I was suggest to use either readGDAL or raster for loading my bitmap
a. I have done it with readGDAL like
store<-readGDAL(fname='lena256.bmp')
and it works,... but it converts my matrix-like notion of a bitmap to a large vector
b. Raster also returns a class that I can not understand.
So 1,
2010 Mar 17
0
In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
Dear Ruser,
I am trying to use the map library. But I have been problem the follow
message.
Warning message:
*In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
*
library(rgdal)
library(RgoogleMaps)
> GetMap(markers =
'40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc',
destfile = "MyTile1.png");
Read 1 item
[1]
2011 Mar 25
0
Bounding ellipse for any set of points
After a lot of effort I developed the following function to compute the
bounding ellipse (also known a as minimum volume enclosing ellipsoid) for
any set of points. This script is limited to two dimensions, but I believe
with minor modification the algorithm should work for 3 or more dimensions.
It seems to work well (although I don't know if can be optimized to run
faster) and
2010 Mar 19
1
error in map library
Dear Ruser,
>
>
> I am trying to use the map library. But unfortunately I am facing the
> warning message above:
> Warning message:
> *In readGDAL(destfile, silent = TRUE) : GeoTransform values not available
> *
I want to use that library because I intend to plot some station in a
Brazilian map.
I really appreciate any help.
>
>
===here what I was testing========
2011 Jul 21
0
Bounding ellipse for any set of points
The mvee() function is intended to be released under the BSD license.
Copyright (c) 2009, Nima Moshtagh
Copyright (c) 2011, Andy Lyons
All rights reserved.
http://www.opensource.org/licenses/bsd-license.php
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must
2012 Sep 22
0
timeIsInterval function not found
hello i'm trying the script of gstat course of munich "Spatial and spacetime
classes in R
" in http://geostat-course.org/Topic_Bivand_2012
the code is follow ... but a in timeIsInterval(dts) the script failed....
the message is "timeIsInterval function not found"
i'm updated R and package spacetime but has not worked
any suggestions?
thanks
setwd("C:/Documents
2009 Dec 31
1
yum centos repo dependency hell for matlab loaddap
I've got matlab installed:
< M
A T L A B (R) >
Copyright
1984-2009 The MathWorks, Inc.
Version
7.8.0.347 (R2009a) 64-bit (glnxa64)
February 12, 2009
I want to install loaddap. I downloaded an rpm from
2011 Feb 14
2
How can I slightly offset plots?
Dear R help contributers,
I have several x,y scatter plots and I would like to plot them
slightly offset, similar to:
http://www.mathworks.com/matlabcentral/fx_files/24368/2/content/style4.jpg
I've looked all over for this answer with no luck.
Just a function name or previous example would probably be enough for
me to figure it out.
Thank-you in advance,
Carly
2012 Jul 02
0
Fit circle with R
Dear Researchers,
I wrote two function to fit a circle using noisy data.
1- the fitCircle() is derived from MATLAB code of * zhak Bucher* from the
link
http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit/content/circfit.m
2- the CircleFitByPratt() from MATLAB code of *Nikolai Chernov *from the
link
2012 Oct 18
2
Re-projecting geotiff
Dear R users,
I'm currently trying to re-project a geotiff in another coordinate system.
For instance, I have a tif image in UTM 19 zone which I would like to
reproject into UTM 18. I was wondering if it was possible in R.
Furthermore, I looked into 'rgdal' package, but I can't really find out if
I'm doing the right thing. So far, here is what I'm doing:
library(rgdal)
2007 Sep 20
2
Superimposing vector polygons over raster grid in a plot
Hello:
I would like to superimpose vector polygons (state outlines) from a
Shape file on top of a satellite image,
imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and
readGDAL.
When I plot polygon and point shape files in R, into
SpatialPointDataFrame and SpatialPolygonDataFrame,
the two feature sets line up geographically, so it seems logical that a
SpatialGridDataFrame
2009 Jul 16
2
Problems generating image from tiff file
I imported the attached tiff file and converted the coordinate system to
long lat and graphed it:
californiatiff<- readGDAL("california1.tif")
proj4string(californiatiff)
> rasterprojection <- spTransform(californiatiff, CRS("+proj=longlat")
however, when using the plot command for rasterprojection, I get a blob. I
can see the outline of the state of california and
2007 Aug 14
1
File Exchange?
Hi,
I've been using R for a number of years, and must say I really like it. This
past summer, however, I started using MatLab for a course at school and
found the file exchange it has (
http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do) to be
extremely useful.
I know that R has packages that people share, and that there's also RForge
for more advanced tools... But is
2011 Aug 15
2
temporal disaggregation
Dear R-users,
I have an anual info of gross product and I would like to disaggregate
to trimestral data.
Can I import a matlab library of Quilis? (
http://www.mathworks.com/matlabcentral/fileexchange/24438-temporal-disaggregation-library
)
Thanks,
Sebasti?n.
2010 Jul 05
2
r code exchange site?
Does there exist a site where snippets of r code examples can be deposited,
such as the one that exists for matlab?
http://www.mathworks.com/matlabcentral/fileexchange/
ps
I also noted from the main r site
http://www.r-project.org/
when you click on the nabble link under the search link, I end up here
http://e-nvf.vvvay.net/-td13672.html#a13819
which I don't think is anything to do with
2009 Aug 21
2
2d color coded line plot
Hi! I'm not experienced very experienced with R and i'm looking for a
way doing plots like in this example
http://www.mathworks.de/matlabcentral/fx_files/23566/2/color_line3.png,
which basically it is a 2d plot in which the 3rd dimension (variable) is
color coded. I have only seen elsewhere that it is possible to color
code dots in a scatter plot and I tried it with success although I