I am trying to save the png file of the table through the modelsummary by following code.
modelsummary::modelsummary(
- list(Table3_1, Table3_2, Table3_3, Table3_4, Table3_5, Table3_6, Table3_7, Table3_8),
- gof_map = c("nobs", "r.squared"),
- statistic = "std.error",
- output = "figuretable/day2/demand_table3.png"
- )
This code works in my local computer. However, I got the error following in the posit cloud.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-r122420'
TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.
Error: rsession: geometry does not contain image `/cloud/project/figuretable/day2/demand_table3.png' @ warning/attribute.c/GetImageBoundingBox/247
I can get the table of HTML changing the .png to .HTML through the modelsummary in the posit cloud.
I am not sure what is this error and how to fix it.
Do you have any suggestion ?