######################################################################## ## Windows is not very popular with R users since there is no forking ## ## support for the parallel package. ## ######################################################################## From: "Sparapani, Rodney via ESS-help" Subject: Re: [ESS] [R-win] Difficulty installing R packages under Windows 11 / Cygwin To: Robert Lerche , Tomas Kalibera , "ess-help (ess-help@r-project.org)" Date: Sat, 2 Dec 2023 17:28:25 +0000 (2 weeks, 2 days, 14 hours ago) Reply-To: "Sparapani, Rodney" Hi Robert: There was a time when we supported ESS under Cygwin. In other words, run elisp code assuming UNIX/Linux rather than Windows even though Windows is the OS. However, that was a long time ago: at least 10 years since I last tried it. Cygwin has largely fallen out of fashion since you can now so easily install Ubuntu on typical hardware: something that has markedly improved since 2013. Therefore, I would not expect Cygwin support to work out of the box since there has been no recent testing. Also, Windows is not very popular with R users since there is no forking support for the parallel package. So switching to Linux is well worth it. I used to run Windows inside VirtualBox when I needed to do PC stuff like Office and iTunes (before switching to macOS and never looking back ;o) -- Rodney Sparapani, Associate Professor of Biostatistics, He/Him/His Vice President, Wisconsin Chapter of the American Statistical Association Institute for Health and Equity, Division of Biostatistics Medical College of Wisconsin, Milwaukee Campus From: ESS-bugs on behalf of Robert Lerche Date: Saturday, December 2, 2023 at 11:04 AM To: Tomas Kalibera , ess-bugs@r-project.org Cc: ess-bugs-owner@r-project.org , R-windows@R-project.org Subject: RE: [R-win] Difficulty installing R packages under Windows 11 / Cygwin ATTENTION: This email originated from a sender outside of MCW. Use caution when clicking on links or opening attachments. ________________________________ Let me try raw text: Tomas, my thanks for your prompt and useful response. I followed your instructions and the Windows (MinGW/MSYS2) R and ggplot2 of course work perfectly well launche\ d from a Cygwin bash shell. Alas, ESS inside Cygwin Emacs 29.1 doesn't quite work, launching an R process gives an error and although R is running with stdin/stdou\ t directed to the Emacs buffer there is no tab completion. [background for the benefit of ess-bugs@r-project.org] I recently received a new Windows 11 laptop from our IT department and I'm trying to recreate my R environment (Cygwin/Emacs/ESS/R/ggplot2). Originally I installed \ R 4.3.0 as packaged in Cygwin's setup.exe utility (in the Math section). I was unable to add ggplot2. Tomas kindly pointed me to the pre-built Windows binaries and \ as expected installing it and ggplot2 went smoothly. I perused https://urldefense.com/v3/__https://ess.r-project.org/index.php?Section=home__;!!H8mHWRdzp34!7kh3oo0D5fJMElRU8O3Xz6Hmc-Y0ufB8oSgC1uqX1yvGwlD9fv0aJdrxgnpo0\ X7E1tfYMI0XU5Y1iNnIKnpbUlLT$ and pulled the latest ESS via git clone. Make worked but now when I try to launch R inside Emacs [with (require 'es\ s-r-mode) in my .emacs file] an error message appears: