patternize icon indicating copy to clipboard operation
patternize copied to clipboard

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

Open efegidri opened this issue 3 years ago • 5 comments

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

efegidri avatar Sep 08 '22 17:09 efegidri

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: @.@.>>

StevenVB12 avatar Sep 08 '22 20:09 StevenVB12

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

efegidri avatar Sep 13 '22 23:09 efegidri

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: @.@.>>

StevenVB12 avatar Sep 14 '22 08:09 StevenVB12

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

efegidri avatar Sep 14 '22 11:09 efegidri

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: @.@.>>

StevenVB12 avatar Sep 14 '22 11:09 StevenVB12