[Rd] config.site settings for M3 Mac typo in manual?

2024-05-20 Thread Duncan Murdoch
I've just upgraded to an M3 Mac laptop, and I'm working through getting the right configure settings to build R. The Installation and Administration manual says to have this in config.site: FFLAGS="-g -O2 -mmacos-version-min=11.0" FCFLAGS="-g -O2 -mmacos-version-min=11.0" but those give an err

Re: [Rd] Output pipes to TTY hang

2024-05-20 Thread Tomas Kalibera
On 5/20/24 07:36, Zafer Barutcuoglu wrote: Hi, I am seeing this on Linux as well as MacOS: Opening any output pipe from R 4.4.0 to TTY programs like "less"/"more" hangs, SIGINT-proof: $ R/4.4.0/bin/Rscript -e 'pipe("less", "w")' $ R/4.4.0/bin/Rscript -e 'cat("test", file="|less") $ R/4.4.0/b

Re: [Rd] config.site settings for M3 Mac typo in manual?

2024-05-20 Thread Prof Brian Ripley via R-devel
On 20/05/2024 09:06, Duncan Murdoch wrote: I've just upgraded to an M3 Mac laptop, and I'm working through getting the right configure settings to build R. The Installation and Administration manual says to have this in config.site: FFLAGS="-g -O2 -mmacos-version-min=11.0" FCFLAGS="-g -O2 -m

Re: [Rd] Output pipes to TTY hang

2024-05-20 Thread Zafer Barutcuoglu
Thank you, that makes sense. Not worth messing with those changes on my account, but since you asked, my actual use case was for an R script (or rather my package used by one) to display text (e.g. for --help) using the system PAGER, without writing temporary files for file.show() because modify