Displaying 20 results from an estimated 1000 matches similar to: "problems with re-loading exported data"
2009 Apr 30
1
overlaying several subsets of data frame in pairs plot
Hello
I have a multivariate data frame giving various responses for several
treatments. I would like to plot the relationship in the responses in
a pairs plot with different symbols for the different treatments. In a
regular plot I would have used 'matplot' or just added the new
treatments with the 'points' function. But how to do it in a pairs plot?
Thank you for your
2009 Jun 16
1
question about adding plots in a grid (lattice package)
Hello!
I am starting to use the lattice package. I generated an xyplot
conditioned on a factor that has three levels: hence I get three plots
in three panels spaces and one is left empty. I would like to add a
plot to the empty panel space. Is it possible?
Thank you
2011 Apr 15
1
simulations with very large number of iterations (1 billion)
Hello R-help list
I'm trying to run 1 billion iterations of a code with calls to random
distributions to implement a data generating process and subsequent
computation of various estimators that are recorded for further
comparison of performance. I have two question about how to achieve
this:
1. the most important: on my laptop, R gives me an error message
saying that it cannot
2009 Nov 03
1
fixed color scale for a series of contour plots
Hello,
I am having trouble figuring out how to create a color scale that will
be consistent across multiple contour plots. What I would like is to
plot a series of contour or image plots for different subsets of a
data set but make sure that the color key stays fixed so that the
plots are easily comparable. That is I need a map from the range of
values of the entire data set to the color
2008 Oct 18
1
Error: could not find function "readMat"
Hi All,
I installed this R.matlab package and tried using the sample code
>
> path <- system.file("mat-files", package="R.matlab")
>
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> # Reading all example files
> # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> for (version in 4:5) {
+
2012 Aug 14
1
Help needed in reading matlab files
Dear users,
I am stucked with a programming problem: I am trying to download a squared adjacency matrix from matlab with only 0 or 1. Doing it without a loop at first, I get an error message that is, I think, related to the "mat_adj<-readMat(pathnames_adj)" line. Did anybodz encouter already that problem? If so, do I need to change anything in my code in order it not to be
2011 Mar 13
4
readMat - how to retrieve the variables
Hello
I have a matlab MAT file that contains one single variable: a. The
structure of a is as follows:
a.river1.flow (flow values)
a.river1.date_flow (date)
a.river1.precip (precipitation values)
a.river1.date_precip
a.river2.flow
a.river2.date_flow
a.river2.precip
a.river2.date_precip
I have used readMat to load the variable a in R, however I have no idea how
readMat translates a. I managed
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
2008 Jan 30
2
[rfc] Package to access the internal zlib library.
To make R.matlab's readMat work for me[1] I needed access to zlib's
uncompress function. R already links with zlib, and sometime last
year I hobbled together a quick package to get at a few functions.
It's my first package, so I would love feedback both on the package
and its purpose.
I've dropped a temporary copy at
http://jriedy.users.sonic.net/internalzlib_0.1.tar.gz
Could
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
2010 Jun 10
1
importing multidimensional matrix from MATLAB
Hi,
Suppose I have a matrix of size 256x14x32 in MATLAB. I want to import
that into R. I used readMat and then do.call. But the variable is
stored as an array as its done in R. However, I want to define a
variable W=array(0,c(256,14,32)) in R and read the multidimensional
matlab variable into W. I am not able to do this in R. Please, could
you help ?
Thanks
Gopi
[[alternative HTML version
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
2010 Aug 27
8
R.matlab package help
Hi,all
I have a problem running R.matlab package
(under 2.10.1 version). I can set up the matlab server under local
machine(run the MatlabServer.m), "
And I can use setVariable and evaluate matlab functions in R. But when I ask
Matlab to send the value back to R using getVariable function it
always returns an error:
"
??? Error: A MATLAB string constant is not
2011 Feb 18
1
reading a matlab file
Dear R-people,
I am trying to read a matlab file, unfortunately without success. I enclosed the zipped file.
Do you have an idea how to read this file by ReadMat package into the R system?
Thanks for your time!
Wim Krijnen
2006 Dec 22
2
Pb with R.matlab
Hello,
I have problems running the R.matlab package. I work with R 2.3.1, under
windows (using the Rgui). It seems that, even after loading the package,
the "simple" functions such as writeMat() or readMat() are not recognized.
For example, the following script leads to an error:
> install.packages("R.matlab")
--- Please select a CRAN mirror for use in this session ---
2007 Jan 16
3
Markdown for Wordpress?
Does anyone know which version of Markdown is best for Wordpress? I
see online that there are a few and was wondering which one people
prefer. Also, is there any chance John Gruber will write an official
Markdown plugin for Wordpress, given how popular it's becoming?
--------------------------------------------------------
robdumas at gmail.com
http://obnoxio.us/
2008 Sep 27
1
writeMat error
Hi
I am using Ubuntu 8.04 64 bit, R as below, Matlab 7.6.0. I would like to transfer mat files back and forward between R and Matlab. Whilst I have used Matlab for years its been a long time since I have used R (hence question may be a bit simple)
Running code
A <- c(1:10)
dim(A) <- c(2,5)
library(R.matlab)
writeMat('A.mat', A=A)
Does not appear to generate any mat file
2011 Jul 13
3
Rcompression on MAC - where is it?
Hello
I need to run an r-file that works on Windows on MAC. The first lines of the file are:
library(R.matlab)
library(Rcompression)
Somehow I cannot find where Rcompression is. Am I missing something?
Many thanks
Ed
2005 Jun 03
0
smbfs intermittent errors: tdb_lock failed, ERRDOS 71
Hi,
I recently upgraded an older box running as a file server for a small
company to Mandriva (Mandrake) 10.1. It's running Samba 3.0.10.1, the
default Mandrake package.
We have a custom script that mounts a Windows share using smbfs, backs
up specific directories, and unmounts when it's done. The problem is,
it's not mounting reliably.
There is an entry in /etc/fstab for the
2012 Jan 31
3
function: as.integer
dear r-helpers,
i created an object named A, which looks like this:
A <- c("4.4","1.9","4.1")
now i needed to get numbers instead of characters and for this i used the
function:
as.integer(A)
which resulted in:
[1] 4 1 4
My question is, why the numbers are rounded or more impotantly if
there is a way to keep the decimal numbers?
Thank you very much for