Replies: 1 comment
-
Hi @CJ2407
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Robyn Community,
I only have a limited knowledge of R, but have been running Robyn since last 4-5 months to create a model. I am working on tunning the model to enhance performance, however I have the following hurdles because of which it will be very useful if somebody can help me with steps for saving OutputCollect in Rdata or JSON file.
Due to CPU and Memory issues, I was running Robyn on R Studio on my company's Google VM, but due to run longer run times, my R Studio used to crash in between and I was losing all results. This problem is solved by using TMUX on VM to run the R script, but once the R script is finished none of the R objects are available to access later only the outputs such as CSVs and excels are available.
Second problem is that I have 20+ variables for 3.5 years of data at daily level, which makes one pagers hard to read for many plots. So, I have learnt to get the individual plots from one pagers so that I can format them to be more readable give the number of variables I have. However, these plots can be created after you select a model from OutputCollect.
So, I want to save all the top models/solutions in OutputCollect in a Rdata or JSON file and I found the below code, however it asks me to select a model. How do I select all the top models in the below robyn_write function?
robyn_write(
InputCollect,
OutputCollect,
select_model = NULL,
dir = OutputCollect$plot_folder,
export = TRUE,
quiet = FALSE
)
Beta Was this translation helpful? Give feedback.
All reactions