C stack too close to the limit error while running WQSrh

Hi. I keep receiving the same error message while trying to run the WQSrh function.
Below is my code.

When I ran the first code. I receive error message saying
Error: C stack usage 15929296 is too close to the limit

so the following code doesn't work
Could you help me solving this problem?

Thank you.

results111 = gwqsrh(hgbhp ~ wqs+newmnL+ageenv1+sexfr+momed+electenv1+logcrp_e, mix_name = metal_mix, data = metal, q = 5, validation = 0.6, b = 100, b1_pos = F, b1_constr = FALSE, family = "gaussian", seed = 2016)
summary(results11)
# bar plot
gwqs_barplot(results11)
# scatter plot y vs wqs
gwqs_scatterplot(results11)
# scatter plot residuals vs fitted values
gwqs_fitted_vs_resid(results11)
summary(results11)
head(results11$final_weights)
gwqs_summary_tab(results11)

If you are running under a Unix-derivative OS, try increasing the ulimit setting through the shell. See man ulimit

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.