search for: 54d4be543766

Displaying 2 results from an estimated 2 matches for "54d4be543766".

2024 Dec 13
1
Is it advisable/possible to default on Linux to an EDITOR that actually exists?
...ouched and to eschew any | finicky attempts to find back-up editors. I am not sure I agree with the fairly bold statement by Simon. I do not install or use that many different Unix flavours but I do come across some that do not, by default, install vi $ docker run --rm -ti debian bash root at 54d4be543766:/# vi bash: vi: command not found root at 54d4be543766:/# root at 54d4be543766:/# nano bash: nano: command not found exit $ Distributions may have defined sets of packages deemed 'essential', editors do not seem to be part of that here. Anyway, when you are calling edit(), or...
2024 Dec 11
1
Is it advisable/possible to default on Linux to an EDITOR that actually exists?
Thanks Simon, I didn't know that! That's definitely a compelling reason to leave the current default untouched and to eschew any finicky attempts to find back-up editors. Still, I think there is benefit from checking quickly that 'editor' exists at run-time in file.edit() -- the current failure mode is unusual (a shell error & R warning). Offering an R error would also