similar to: is.matrix

Displaying 20 results from an estimated 10000 matches similar to: "is.matrix"

2008 Nov 20
2
R on Ubuntu Server
Dear List, Has anyone worked with R on Ubuntu Server edition. Also would it be possible to connect to this ever using remote desktop . In addition has anyone worked with using R from a Amazon EC2 cloud like structure. Any early previews of Azure SDk's and R . Could you guide me to a place where I can read about this ? This is research project for low cost analytical solutions for developing
2012 Nov 02
4
vanilla rsync 3.0.9 hangs after transferring ~2000 files
Hello rsync folks I'm trying to use rsync for backing up our servers. This mostly works extremely well, with no problems. However, 1 server is giving me a lot of trouble. It has a directory with (currently) 734088 files in it, and every time I try to backup this dir, rsync hangs after transferring roughly 2000 files. Sometimes it's around 1800, sometimes it's over 2100 (I think), but
2009 Mar 31
4
About multiple hosts with same hostname
Hello all I have a somewhat annoying problem with OpenSSH. Now, granted, it's certainly not a bug. I'm just wondering what the best course of action is. At work, we have multiple customers with machines named "fw0", "fs0", etc. This is all good, since it conforms to a standard naming scheme, so it's easier to administrate. However, when we go to our
2012 Nov 16
2
Problem Backup Maildir to NTFS
Dear Sirs, I need to make a backup of email accounts (Maildir) a Linux server to a Windows server with NTFS, but get the following error: rsync: rename "/mnt/rsync/cur/137D94_29.ml110c.qnet.com.pe,S=32828:2,S.M92y5w" -> "cur/137D94_29.ml110c.qnet.com.pe,S=32828:2,S": Invalid argument (22) I have installed Rsync v3.0.9 The command is executed: rsync -rltDvu
2010 Jan 12
1
coerce vector into array - change filling sequence
Dear all, When I coerce a vector into a multi dimensional array, I would like R to start filling the array along the last dimension, then the 2nd last etc. Let's jump straight into an example. x <- 1 : 24 y <- array(dim=c(2,2,6)) I would like to have: y[1,1,1] = 1 y[1,1,2] = 2 ... y[1,1,6] = 6 y[1,2,1] = 7 y[1,2,2] = 8 ... y[2,1,1] = 13 ... y[2,2,1] = 19 if I do y<- array(x,
2006 Jul 19
3
create very large file system
Suse Linux Enterprise Server 9 SP3 I've tried to create a large 5TB file system using both reiserfs and ext3 and both have failed. I end up with only a 1.5TB file system. Does anyone know why this doesn't work, what to do to fix it? Others have suggested that only XFS or JFS will work. Is this so? Thanks, -Mark
2010 Feb 12
2
Unexpected behaviour of x[i] when i is a matrix, on Windows
Hi, when running the following on different instances of R (Linux and Windows), I get different results. The one for Linux seems to be the intended / documented one. When using numeric indices rather than characters, Windows seemed to behave as expected. -----------On Windows-------------- x = matrix(FALSE, nrow=3, ncol=3) colnames(x) = LETTERS[1:3] rownames(x) = letters[1:3] x # A
2011 Apr 12
2
Merge matrix
I have two matrices A and B > dim (A) [1] 30380   104 > dim(Bt) [1] 30380    63 I want to  combine both A and B to matrix C where >dim(C) [1] 30380   167 How do I do that ? Regards, Pankaj Barah Department of Biology, Norwegian University of Science & Technology (NTNU) Realfagbygget, N-7491 [[alternative HTML version deleted]]
2006 Jul 27
2
Vector extracted from a matrix. How can I specify dimensions in as.matrix?
Transpose vector extracted from a matrix Hello, I am doing a recursive analysis that uses every line (vector) of a matrix in a loop. In the model, I need to transpose those vectors that are extracted from a matrix. Using simple vectors (no matrix involved) the transpose function works fine: simplevector <-matrix(1:3,3,1) tsimplevector <-t(simplevector) #transposed dim(simplevector)
2008 Jul 11
1
Subsetting an array by a vector of dimensions
Hi Is it possible to subset an n-dimensional array by a vector of n dimensions? E.g. assume I have > x <- array(1:24, dim=2:4) > x[1,1,2] [1] 7 > dims <- c(1,1,2) I would like a function that I can supply x and dims as parameters to, and have it return 7. Also, I would like to do something like: > x[1,1,] [1] 1 7 13 19 > dims2<- c(1,1,NA) And have a function of x and
2004 Aug 31
2
Dimension of apply(X, MARGIN, FUN) when FUN returns a matrix
Dear all, apply(X, MARGIN, FUN, ...) returns an array of dimension c(n, dim(X)[MARGIN]) when FUN returns a vector of length n > 1. Matrices and arrays are also vectors, so if FUN returns a matrix or an array, apply returns an array of dimension c(n, dim(X)[MARGIN]) as above. This is in accordance with the description of apply in the Blue Book, and also how Splus works (at least v6.0). I am
2005 Sep 28
3
is it possible to form matrix of matrices...and multiple arrays
Dear sirs, 1...........Kindly tell me is it possible to form a matrix which contains a no of matrices.. for eg.. if a,b,c,d are matrices.... and e is a matrix which contains a,b,c,d as rows and columns.. 2..........Is it possible to form array of array of arrays for eg.. "A" contains two set of arrays (1,2)...and each A[1] and A[2] individually contains two set of arrays I tried like
2009 Apr 02
2
actual argument matching does not conform to the definition (PR#13634)
Full_Name: Wacek Kusnierczyk Version: 2.10.0 r48269 OS: Ubuntu 8.04 Linux 32 bit Submission from: (NULL) (129.241.199.164) In the following example (and many other cases): quote(a=1) # 1 the argument matching is apparently incorrect wrt. the documentation (The R Language Definition, v 2.8.1, sec. 4.3.2, p. 23), which specifies the following algorithm for argument matching: 1. Attempt to
2009 Apr 01
2
Matrix multiplication - code problem
Hi listers, I am having some trouble in a matrix multiplication... I have already checked some posts, but I didn't find my problem... I have the following code... But I am not getting the right multiplication... I checked the dimension and they are fine... id_y <- array(1:10,dim=c(2,1,5)) id_yt<-aperm(id_y,c(2,1,3)) m_id<-array(dim=c(dim(id_y)[1],dim(id_y)[1],dim(id_y)[3])) for (i in
2010 Nov 22
3
Splitting 3D matrix from for loop to generate/save 2D matrices
Hi! I have a matrix called M with dimension (586,100,100). I would like to split and save this into 586 matrices with dimension 100 by 100. I have tried the following for loops but couldn't get it work.. l<-dim(M)[1] for (i in (1:l)){ save(M[i,,],file = "M_[i].img") } Can somebody help me with this? Thanks! Hana Lee [[alternative HTML version deleted]]
2011 Mar 08
1
repeat matrix column within each array third dimension
Hello all, I'm working with a matrix that will have varying dimensions. It will populate an array such that the number of matrix columns will determine the number of 3rd dimension levels of the array. Rows will be the same for both. For this example lets say the array will have 2 columns, but that's not fixed. dim(arr)<-c(dim(mat)[1],2,dim(mat)[2]) I wish to repeat each matrix
2011 Apr 13
1
Extracting selected rows from a matrix to a submatix
I have a matrix M > dim(M) [1] 30380   561 I have another list L contains , that contains some row names of matrix M str (L)  chr [1:21037] Now I want to extract the submatrix subM (21037    ,    561)  from the matrix M by matching the rownames (M) to the 21037 rownames o f L How do I do that ? Thanks and regards, Pankaj Barah   Pankaj Barah Department of Biology  Norwegian University
2009 Jun 10
2
Merge data frame and keep unmatched
Hi, With two data sets, one complete and another one partial, I would like to merge them and keep the unmatched lines. The problem is that merge() dosen't keep the unmatched lines. Is there another function that I could use to merge the data frames. Example: completedf <- expand.grid(alpha=letters[1:3],beta=1:3) partdf <- data.frame( alpha= c('a','a','c'),
2005 Apr 26
1
Index matrix to pick elements from 3-dimensional matrix
Hi all Suppose I have a dim=c(2,2,3) matrix A, say: A[,,1]= a b c d A[,,2]= e f g h A[,,3]= i j k l Suppose that I want to create a 2x2 matrix X, which picks elements from the above-mentioned submatrices according to an index matrix J referring to the "depth" dimension: J= 1 3 2 3 In other words, I want X to be X= a j g l since the matrix J says that the (1,1)-element should be
2018 Jul 30
3
apply with zero-row matrix
Hi Martin, Fair enough for R functions in general. But the behaviour of apply violates the expectation that apply(m, 1, fun) calls fun n times when m has n rows. That seems pretty basic. Also, I understand from your argument why it makes sense to call apply and return a special result (presumably NULL) for an empty argument; but why should apply call fun? Cheers David On Mon, 30 Jul 2018 at