StevenVB12 / patternize

An R package for quantifying color pattern variation
31 stars 8 forks source link

Error in file(file, "rt") : invalid 'description' argument #33

Open efegidri opened 2 years ago

efegidri commented 2 years ago

Hello! I am trying to run the "Heliconius erato erato verus hybrid" example using the script from github but when I run the function: "plotHeat(summedRaster_regRGBEra, IDListEra, plotCartoon = TRUE, refShape = 'target', outline = outline_BC0057,lines = lines_BC0057, flipRaster = 'xy',imageList = imageListEra, cartoonID = 'BC0057', cartoonFill = 'black', cartoonOrder = 'under',colpalette = colfunc, refImage = target)" I get the next error "Error in file(file, "rt") : invalid 'description' argument" Someone could help me with the solution? thank in advance, FEDE

StevenVB12 commented 2 years ago

Hi Fede,

Sorry you’re experiencing problems. I’m unable to reproduce your error. Did you download all the necessary files from GitHub and when you load the data in the earlier lines of code, do you get any errors?

Steven

From: efegidri @.> Sent: Thursday, September 8, 2022 7:38 PM To: StevenVB12/patternize @.> Cc: Subscribed @.***> Subject: [StevenVB12/patternize] Error in file(file, "rt") : invalid 'description' argument (Issue #33)

Hello! I am trying to run the "Heliconius erato erato verus hybrid" example using the script from github but when I run the function: "plotHeat(summedRaster_regRGBEra, IDListEra, plotCartoon = TRUE, refShape = 'target', outline = outline_BC0057,lines = lines_BC0057, flipRaster = 'xy',imageList = imageListEra, cartoonID = 'BC0057', cartoonFill = 'black', cartoonOrder = 'under',colpalette = colfunc, refImage = target)" I get the next error "Error in file(file, "rt") : invalid 'description' argument" Someone could help me with the solution? thank in advance, FEDE

— Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/33, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC43MVQA3QW5UH5HROU3V5IQA7ANCNFSM6AAAAAAQH7E3KY. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

efegidri commented 2 years ago

Hi steven, yes, I downloaded all the required files from GitHub. When I run the function "plotHeat" I get the error "Error in file(file, "rt"): invalid 'description' argument " but, it could be something in the R program? because I recently began to get many different errors running a script that previously I could run... thanks in advance, FEDE

StevenVB12 commented 2 years ago

What R version are you using? I heard from someone else that new errors occur when using R 4.2.1. I already made an update in the code that solved it for me.

Steven

From: efegidri @.> Sent: Wednesday, September 14, 2022 1:13 AM To: StevenVB12/patternize @.> Cc: Steven M. Van Belleghem @.>; Comment @.> Subject: Re: [StevenVB12/patternize] Error in file(file, "rt") : invalid 'description' argument (Issue #33)

Hi steven, yes, I downloaded all the required files from GitHub. When I run the function "plotHeat" I get the error "Error in file(file, "rt"): invalid 'description' argument " but, it could be something in the R program? because I recently began to get many different errors running a script that previously I could run... thanks in advance, FEDE

— Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/33#issuecomment-1246040984, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC45HQ4Q7MFFLQZDHNI3V6EC57ANCNFSM6AAAAAAQH7E3KY. You are receiving this because you commented.Message ID: @.**@.>>

efegidri commented 2 years ago

yes, I am using version R 4.2.1. "I already made an update in the code that solved it for me.", ok, I will try to run the script again. thank you. Best, FEDE

StevenVB12 commented 2 years ago

Ok. Please let me know how it goes!

Thanks,

Steven

From: efegidri @.> Sent: Wednesday, September 14, 2022 1:04 PM To: StevenVB12/patternize @.> Cc: Steven M. Van Belleghem @.>; Comment @.> Subject: Re: [StevenVB12/patternize] Error in file(file, "rt") : invalid 'description' argument (Issue #33)

yes, I am using version R 4.2.1. "I already made an update in the code that solved it for me.", ok, I will try to run the script again. thank you. Best, FEDE

— Reply to this email directly, view it on GitHubhttps://github.com/StevenVB12/patternize/issues/33#issuecomment-1246601920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABQOC4YMB54MRZ7NXKNEWMTV6GWK7ANCNFSM6AAAAAAQH7E3KY. You are receiving this because you commented.Message ID: @.**@.>>