search for: 1000x1000

Displaying 20 results from an estimated 29 matches for "1000x1000".

2007 Aug 10
7
Help wit matrices
Hello all, I am working with a 1000x1000 matrix, and I would like to return a 1000x1000 matrix that tells me which value in the matrix is greater than a theshold value (1 or 0 indicator). i have tried mat2<-as.matrix(as.numeric(mat1>0.25)) but that returns a 1:100000 matrix. I have also tried for loops, but they are grossly ineffi...
2005 May 13
4
Big matrix memory problem
Hi All, I want to read 256 1000x1000 matrices into R. I understand that it is unlikely that I can do this but In the hope that somebody can help me I am mailing this list. I have tried increasing my memory size (I understand that it is the minimum of 1024 or the computers RAM in my case 512) Does anyone think this is possible in...
2011 Nov 28
2
efficient way to fill up matrix (and evaluate function)
...along the lines of: for (i in 1:n){ for (j in 1:n){ A[i,j]<-myfunc(x[i], x[j]) } } The question is what would be the most efficient way of doing this. Would using functions such as sapply be more efficient that using a for loop? Note that n can be a few thousand. Thus atleast a 1000x1000 matrix. Thanks, Sachin [[alternative HTML version deleted]]
2008 Jan 11
2
clipping a large image on R
Dear all, I have a so large image (43,000 x 18,000 pixels) and I need clip this image with a smallest one (1000x1000 pixels). I can read the second image using rgdal package. But the first image can´t be read on my system because if memory limitation (I have about 2GB availabe). So I would like hear from you if anyone have some suggestin in this regards. I have also ArcGis 8.6 ans Erdas 8.3 running on my system...
2002 Oct 09
0
R 1.6.0 benchmark with and without optimized ATLAS
...7 II. Matrix functions -------------------- FFT over 900,000 random values______________________ (sec): 1.53666666666667 Eigenvalues of a 220x220 random matrix______________ (sec): 0.466666666666669 Determinant of a 750x750 random matrix______________ (sec): 1.65 Cholesky decomposition of a 1000x1000 matrix________ (sec): 1.30333333333334 Inverse of a 500x500 random matrix__________________ (sec): 1.76000000000000 -------------------------------------------- Trimmed geom. mean (2 extremes eliminated): 1.48949725041955 III. Programmation -------------...
2003 Oct 14
1
"Turtle world" graphics in R
...Right now, I am using basic plotting R functions to plot the turtle and its path. Before each turtle's movement, I "erase" the turtle be redrawing it with the same color as the background but that does not look good as it also erases everything ese. I tought of using large matrix (e.g 1000x1000) as a representation of the turtle world and displaying it with contour() but it is slow to update after each user command. PPS: I did ask a similar question 1 month ago but did not get any answer. Probably that my question was too long... I just would like to know if I am missing possibilites....
2006 Sep 27
1
matrix with additional upper, botton, left and right cells
Dear R Gurus, I have a matrix dim(1000x1000) and I need create a second matrix with dim(1002x1002) and insert my first matrix at position col=2,line=2. Please, see an example below: 0050055050 5550000000 5000505005 5005000500 0055550555 and I need 333333333333 300500550503 355500000003 350005050053 35005000...
2006 Mar 04
5
Remove "gray grid" from levelplot
...the same color is used. If you have a levelplot of a function which is evaluated at 25x25 equally-spaced points you obtain 26 squares in x and 26 squares in y direction. That does not bother too much (but still bothers somehow...), but if you want to plot a function which is evaluated at 1000x1000 equally-spaced points, then the "thickness" of this gray grid cause the grid lines to hit each other so there is no space for the color in the square anymore (since the "squares" are actually not visible anymore)... this might change the color of the whole levelplot!. (I...
2002 Apr 18
5
Two problems
...ve a direct path. The matrix is a b a c b a c a For example, the first row exspress that node a and node b are connected by a direct line. Can R transform this matrix in the first matrix that I wrote ? Are there any struments? 2: Which is the max dimension of a matrix that R can use (1000X1000?, 500000X500000?)? What is the biggest dimension of a file that R can import? Thank you so much. Alessandro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "hel...
2003 Mar 12
7
R help
Dear friends, I work with Matlab and now a bit in trouble with getting used to R. Could you give me some help with the following questions: 1. how to generate the random matrix mxn with constant mean and variance, say N(0,1)? 2. how to create a code (function), say “myfunction”, and make it available for use every time I run R? 3. how to make a package, say “e1071”, available for use
2001 Sep 29
1
how much memory does one need...
to allocate 7.8 MB to a vector? (on R running on MacOS 8.6 with a 100MB partition) I get this error from a function which is trying to create a 1000x1000 matrix: Error: cannot allocate vector of size 7812 Kb the error occurs here: dist <- as.single((t(pos)-pos)/n) where pos is a matrix of integers, and n is the size of the first dimension. It appears to first create a double with (t(pos)-pos)/n, running out of memory before making it a single....
2011 Apr 06
0
smoothing bathymetry
...x-coordinates between 1 and 1000, "lat" are y-cordinates between 1 and 1000, and depth are depth values corresponding to the x and y coordinates. All data are in vector form. I would like to extrapolate the data points beyond the data set, by setting extrap=TRUE, filling out the entire 1000x1000 grid. I attempted this using the following script, which generated the second image. >dep <- interp(long, lat, depth, xo=seq(1,990,10), yo=seq(1,990,10), + linear=FALSE,extrap=TRUE, ncp=NULL,duplicate = "mean", dupfun = NULL) However, as seen in the image, this results in a me...
2008 Oct 30
0
Q: rbind problem in my code
...al pieces, manipulated individually, and saved into RData in disc. After each pieces are done with operation, I load them into memory and use rbind to stack them back into matrix. however, the rbind is only give me the last two pieces. The following code illustrates the problem: 4 pieces of matrix (1000x1000) is created and stored in RData; then load them back and rbind them. I would expect mat is of 4000*1000; however, dim(mat) shows (2000 1000). Where is my code wrong? Thanks ## define a pathData directory pathData='C:'\\data'; points=1000; data.pfx='rnorm'; rname=paste('...
2006 Aug 20
1
gnu licensed screen recorder - recordmydesktop
Hi Dont know if many of you ever looked for good screen recording software. I did many times. Without success. Then, a few days ago I found a small tool called recordmydesktop. I tested it under Ubuntu Dapper Drake amd64 and it worked as expected. Even movies with a resolution of 1000x1000 pixel are recorded with impressive quality. Dont forget to read the manpage how to use it best. But this software is hard to find in the web (if you dont know the name). It would be a good idea to put a link on the theora page, isnt it? bye Enno
2003 Apr 03
2
write.matrix has limited line length -> truncation (PR#2722)
Full_Name: Dr. Wolfgang Christen Version: 1.62 OS: Windows 2000 Submission from: (NULL) (141.20.76.99) I have a matrix of 705 x 999 elements and would like to save the data to a file using the follwing line: write.matrix ( format ( U1r, digits = 15 ), file = "C:\\Documents and Settings\\Administrator\\My Documents\\R\\plot-u2-2.txt" ) Then I had to find out that only 195 (out of 705)
2012 May 09
2
R Installation Manual - ATLAS BLAS guidance that is not in the current version
Good afternoon. I am trying to compile a version of Rblas.dll based on ATLAS for the Corei7. I had remembered that there was mention of which file to adjust and that "xerbla" needed to be removed from one of the outputs from the last time I tried a few years ago. The most recent version of the R Installation manual does not say anything about this. An older version (2.10 I believe) has
1999 Apr 20
2
eigenvalue/eigenvector calculations
...URL the Auckland site along with URL's for two other systems but comments that "I didn't received (sic) any support for my work by the software developers". I'm not sure what that means. Anyway, one of his comparisons for timing is for the calculation of the determinant of a 1000x1000 matrix of uniform (0,1) random numbers. It is not the wisest computation because it is usually Infinity but we may still want to look at some of the properties. He used determinant <- function(x) prod(eigen(x)$values) There are many problems with this calculation and I address some of them in...
2007 Nov 22
4
more outrageous plotting
Dear Contributors: I have the next matrix: "X" "Y" "Z" 1 2 526 2 5 723 3 10 110 4 7 1110 5 9 34 6 8 778 7 1 614 8 4 876 9 6 249 10 3 14 I want to order the matrix from bigest Z (1110) to lower Z (14). Then I want to asign a color scale vector from blue ( bigest Z) to orange
2004 Oct 14
2
fidelity of generated raster images (R and perl)
Hi: Goal: use R to turn a matrix of 1's and 0's into a corresponding image (e.g. png) of black and white pixels. Why R: Yes, I can do this more efficiently and precisely with a perl module like Image::PBM. Been there, done that many times, etc. (Just humor me. I'm trying to do this with R for a number of reasons.) Problem:
2008 Mar 23
1
Wine 0.9.58 regression
...line reported an unhandled exception which wasn't there till last version. As a side note the only way to make quicktime even launch (and work till 0.9.57) is loading a native gdiplus.dll. anyway this is what wine says when launching this application (i use it on a virtual desktop with 800x600/1000x1000, windows xp is reported and i use ubuntu 7.10 gutsy with latest nvidia drivers on a centrino duo. Code: fixme:spoolsv:serv_main (0 (nil)) fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 8000000a fixme:win:EnumDisplayDevicesW ((null),0,0x34f7ac,0x00000000), stub! fixme:d3d:IWineD3DImpl_FillGL...