Replies: 2 comments 2 replies
-
Hi Panda, could you provide some more information? Can you perhaps share the config you are using and the output script you are using? Alternatively, you could add a Best, Jan |
Beta Was this translation helpful? Give feedback.
-
Hi Jan, Thank you for your prompt response. I have attached my config and output script.zip files for your review. Additionally, I have downloaded the latest version of the MAgPIE model from GitHub, and copied the output files from the provided model runs from Mishra(https://doi.org/10.5194/gmd-14-6467-2021), which was provided by the tutorial, into the new MAgPIE model directory. And I attempted to rerun output.R. Unfortunately, I encountered the same error: Error in cfg$title : $ operator is invalid for atomic vectors. As a newcomer to MAgPIE, I have not yet run my own models and am relying on the output files from the MAgPIE workshop tutorials to practice. I'm hoping you might be able to shed some light on what might be going wrong. Thank you for your time and assistance. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've been working with a script named
output.R
and encountered an error that I'm having trouble resolving. The error message is as follows:Error in cfg$title : $ operator is invalid for atomic vectors
This error occurs when I attempt to run the script of validation in
output.R
, and it seems to be related to the configuration listcfg
wherecfg$title
is used.I have checked the code thoroughly and ensured that cfg is indeed a list and that cfg$title is being assigned a string value. Despite this, the error persists.
Could you please provide some insight into what might be causing this issue? Is there a mistake I made that could lead to this error?I am using R version 4.3.1 on a Windows system.
Any help or guidance would be greatly appreciated. Thank you for your time and assistance.
Best regards,
Panda1i
Beta Was this translation helpful? Give feedback.
All reactions