[R] how to read a PSB file in R?
Duncan Murdoch
murdoch@dunc@n @end|ng |rom gm@||@com
Tue May 27 13:46:25 CEST 2025
On 2025-05-26 11:49 a.m., Ranjan Maitra via R-help wrote:
> I wanted to mention that after posting on the ImageMagick discussion board on github, I learnt that the restriction does not hold for converting to PNG (but for JPG) so I was able to convert it. However, I am not able to read the file into R (even with 0.5TB RAM) so I will unfortunately have to look at other options than R:-( I think I will write the code in C, but the PNG gives me a better start than I would have had with the original file.
>
ImageMagick can do cropping of files, so if the R limitation is due to
size, you could break up the file before trying to read it.
Duncan Murdoch
More information about the R-help
mailing list