Questions tagged [magick-r-package]

The magick package: Advanced Image-Processing in R

Resources:

  1. github
  2. cran.r-project.org
21 questions
0
votes
1 answer

Convert a column with text files into separate images in R

I have a dataset with a column storing hundreds of writing samples. My goal is to export each writing sample into a separate image. The code shared in this answer was promising given that it allowed me to convert text into an image. df <-…
Michael Matta
  • 394
  • 2
  • 16
0
votes
1 answer

from magick-image to rasterBrick

I have an image that must be processed with the package magick. So the output belongs to class magick-image. I need to transform it to a class rasterBrick for further processing. How can I transform an object magick-image to rasterBrick? I need to…
0
votes
0 answers

Warning: Error in magick_image_readpath: R: unable to open image '02-Backrounds/1F602.png' No such file or directory @ error/blob.c/OpenBlob/2924

I am currently trying to host my RShiny app and am running into a problem: "Warning: Error in magick_image_readpath: R: unable to open image '02-Backrounds/1F602.png' No such file or directory @ error/blob.c/OpenBlob/2924" The Magick page tells me…
LePyka
  • 181
  • 8
0
votes
1 answer

How to get SVG file produced in RStudio with nVennR to open properly in Adobe Illustrator

I'm working with RStudio and using the nVennR package to create diagrams to visualize data, but the .SVG file produced comes out completely skewed in Adobe Illustrator CC. What can I do to make it display properly? I've used the example code…
0
votes
0 answers

Overlay Plots : Time Series - Different Frequencies (Lines over Bars) [ggplot2]

My question is about overlaying plots of different x and y scales .The raw data is out of a public weather database in New Zealand called CliFlo, managed by NIWA. I'm not prepared to copy the data for an example because of copyright protections. I…
S-Can
  • 23
  • 4
0
votes
1 answer

Can't read GeoTIFFs with Magick

I'm attempting to use the magick R package to do some image editing. However, I am unable to read in GeoTIFF files. When I try this: magick::image_read(RGBFile) I get the following error message: Error in magick_image_readpath(path, density, depth,…
Andrew Plowright
  • 455
  • 4
  • 11
1
2