[R] taking a small piece of large tiff

Louisa Reynolds louisa_reynolds at yahoo.co.uk
Wed Apr 5 09:23:51 CEST 2017


Ok. I have a tiff of size over 2GB. It covers a sixth of the Earth's surface and I'm trying to cut a UK piece out of it. The tiff I start with seems to be too large for R to handle. 


Sent from my iPhone

> On 4 Apr 2017, at 18:37, jim holtman <jholtman at gmail.com> wrote:
> 
> How big is 'large'?
> 
> Jim Holtman
> Data Munger Guru
> 
> What is the problem that you are trying to solve?
> Tell me what you want to do, not how you want to do it.
> 
> 
> On Tue, Apr 4, 2017 at 7:47 AM, Louisa Reynolds via R-help
> <r-help at r-project.org> wrote:
>> Dear Forum
>> I am trying to cut out a small section of a very large 2-dimensional grayscale image as a tiff in R, but it is having difficulty handling such large files.  I have looked at bigmemory and ff packages but it is unclear how I can use these packages with tiffs. Can anyone please suggest something? I have tried tiff and rtiff libraries.
>> Thanks in advance.
>>        [[alternative HTML version deleted]]
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list