emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
613 stars 160 forks source link

"Save workspace image?" spam when running `system(zip)` functions #1283

Open kaibagley opened 4 months ago

kaibagley commented 4 months ago

Hey,

Setup

OS: Windows 10 Emacs: 29.1 (build 2) 2023-08-02 ESS: 18.10.3snapshot

Issue

When running raster::KML, or utils::zip, the R buffer will suddenly print thousands of lines of:

Save workspace image? [y/n/c]: >

With no way to quit other than killing the R process in task manager.

What I've tried

I can see that raster::KML calls a function .zipKML, which then calls system(...), similar to utils::zip.

I've tried uninstalling 7zip, but same problem. Even calling system("zip") with no other arguments causes the same issue.

This error only happens on Emacs/ESS, and not on Rstudio.

Thanks for any help!!!