Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 flexdashboard,它从本地 DuckDB(类似于 SQLite)查询,但它经常说:
Warning: Error in initialize: duckdb_startup_R: Failed to open database
我的代码中没有“onStop dbdisconnect”样式命令(我不确定将它放在 flexdashboard 中的哪个位置),因此如果我的 R 实例崩溃,它不会正确关闭。我唯一的解决方案是重新启动计算机。我怎样才能解决这个问题?