Displaying 20 results from an estimated 20000 matches similar to: "R CMD check test examples with and without Suggest installed"
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
2011 Oct 17
0
[Reading mat files into R]
Dear R users,
I work with Matlab & R simultaneously. Usually I used to read successfully
mat files (cell, structure, etc.) into R, till Matlab 2011b release.
For reading mat files (or maybe I should say, converting it into R variable
or structure) I’m using *readMat* (from “R.matlab” package).
Even saving mat files in one of the previous formats (which can bet set in
preference panel)
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
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
2009 May 11
1
Rcompression on Omegahat
I tried to install Rcompression (for reading Matlab files)
options(CRAN = c(getOption("CRAN"), "http://www.omegahat.org/R"))
install.packages("Rcompression")
Warning: unable to access index for repository
http://www.omegahat.org/R/bin/windows/contrib/2.9
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ?Rcompression? is not
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
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
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
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
2010 Oct 28
2
R and Matlab
Dear Group,
I am looking for ways to use R and Matlab. Doing the data transformations in
R and using the data in Matlab to analyze with some pre-defined scripts.
Any good ways to transfer the data into matlab in its most recent version?
I tried using R.matlab but the writeMat output is not readable by Matlab.
I just need to output a data.frame and read it as is into matlab where I can
do any
2012 Oct 09
1
converting dgCMatrix to regular matrix
Hi: I've looked around and I must be missing it because it's probably
somewhere. Does someone know how to convert an object of class dgCmatrix
to a regular matrix. I can send someone the data if they need it but it's
too big to include here.
I read the data in using
temp<-readMat("movielens.mat")
where readMat is from the R.matlab package. But the resulting 2 matrices
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 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
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 ---
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
2009 Oct 30
1
problems with re-loading exported data
Hello,
I have a data file originally as .mat file from matlab that I imported
in R using the R.matlab package (readMat). This loaded a list
containing amongst other things a 4x4 array of rainfall data that is
quite heavy (around 40 Mb, it took 10 minutes to load on my computer).
I tried to export it as R data file or simply a text file (using the
command write) to share this data with
2013 Feb 14
0
Install package "ROpenOffice"
Has anyone had trouble installing the package "ROpenOffice" from omegahat:
http://www.omegahat.org/ROpenOffice/
I downloaded the .tar.gz file to my local hard drive and tried to install it with the following code, but got an error message:
> install.packages("/Users/earlbrown/Desktop/ROpenOffice_0.4-0.tar.gz", repos = NULL, type = "source")
Installing package(s)
2012 Aug 22
3
help
Hi,
As a beginner in R, I need some help on a programming problem which, I guess, will seem trivial to you:
I am doing some Network analysis in which I need to calculate some metrics for all the weeks I have (each week the network evolves in terms of number of nodes etc...)
For exemple, I need to calculate the degrees of the nodes each weak, and to repeat it in a loop for all the weeks ( for
2012 May 15
1
Need your help setting $R_check_force_suggests = "FALSE" on Windows system
r-help at r-project.org
Dear friends,
I want to make the following change of R setting on a windows 7 desktop.
$R_check_force_suggests = "FALSE"
Since I have no experience using Unix, I don't how to make the
suggestions in "writing R extension" works for windows. I will
appreciate if you would help me to figure out what is the equivalent
of the following settings in