[R] taking a small piece of large tiff

Ranjan Maitra maitra at email.com
Wed Apr 5 18:40:44 CEST 2017


Hello Louisa,

THis is not a R solution but would it not be easier to use ImageMagick to do what you are wanting to do? Look up
https://www.imagemagick.org/script/index.php

HTH,
Ranjan

On Wed, 5 Apr 2017 08:23:51 +0100 Louisa Reynolds via R-help <r-help at r-project.org> wrote:

> 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.
> 
> ______________________________________________
> 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.
> 


-- 
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.



More information about the R-help mailing list