patternize icon indicating copy to clipboard operation
patternize copied to clipboard

Error using patternize

Open hintzam33 opened this issue 7 years ago • 1 comments

I'm trying to run through the spider example provided for patternize and continue to hit the same roadblock (on both Mac and PC). I have looked through the other issues listed here and on other websites. A dependency issue is what I suspected was going on, but the solutions provided for that have not solved my problem.

Here is my code with error: imageListGala <- makeList(IDListGala, 'image', prepath, extension) [1] "sample 1 IMG_2602_gal added to list" Error in .local(.Object, ...) :

Error in .rasterObjectFromFile(x, objecttype = "RasterBrick", ...) : Cannot create a RasterLayer object from this file. (file does not exist)

Any insight as to what is causing this error? Thank you for your advice.

hintzam33 avatar Aug 29 '18 18:08 hintzam33

Hi hintzam33,

this sounds like the path to the image files isn't found. Have you set the working directory correctly? The program will use the 'prepath' starting from the working directory you are in.

Hope this helps.

Steven

StevenVB12 avatar Aug 29 '18 19:08 StevenVB12