Re: [R] saving large matrices with decimal numbers

2009-09-06 Thread Uwe Ligges
Moreno Ignazio Coco wrote: Please tell us what you did exactly when you got the empty file: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. well, that's exactly the point, I didn't do anything

Re: [R] saving large matrices with decimal numbers

2009-09-04 Thread Petr PIKAL
Hi image<-matrix(0.1, 768,1024) > image[1:10, 1:10] [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 [2,] 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 [3,] 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 [4,] 0.1 0.1 0

Re: [R] saving large matrices with decimal numbers

2009-09-04 Thread Moreno Ignazio Coco
Please tell us what you did exactly when you got the empty file: PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. well, that's exactly the point, I didn't do anything fancy or special, just save th

Re: [R] saving large matrices with decimal numbers

2009-09-04 Thread Uwe Ligges
Moreno Ignazio Coco wrote: Hi everybody, I am struggling to save txt. or csv. large sparse matrices (1024 X 768 image size), initialized at 0.1. image1[0:10,0:10] [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 [2,] 0.1 0.1