Maybe what you're looking for is here?
http://stat.ethz.ch/R-manual/R-patched/library/MASS/html/write.matrix.html

2011/9/15 Komine <momadou@yahoo.fr>

> Hi
> I want to continue a subject that I have not followed due to a trip.
> I arrive to obtain the coordinates and the pixel values of my image using
> the code proposed by Robert Hijmans. I have 5168101 rows whose some rows
> appear on the R console. Thus I receive this  message:
> > [getOption ("max.print") is reached - 1268847 lines omitted]]
>
> How can I save the entire matrix to a file (. txt)?
> Thank you in advance
>
> Komine
>
> --
> View this message in context:
> http://r-sig-geo.2731867.n2.nabble.com/To-extract-coordinates-and-NDVI-value-for-each-pixel-tp6737676p6796445.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

