Re: [Rd] Making R CMD nicer

2019-07-01 Thread Jason Xu
Yes I'm using R 3.4.4 on Ubuntu 18.04. I doubt the Windows version would make use of a bash script. I'm all for a more consistent interface. It puzzles me that a shell script is used at all since that does not seem portable, especially for Windows users. To my surprise I discovered the R that's ca

Re: [Rd] Making R CMD nicer

2019-07-01 Thread Jason Xu
In my humble personal opinion, I try to avoid bash scripts longer than a couple lines because I find the syntax so obtuse and unintuitive it's difficult to maintain and write less buggy code. But that is mostly a reflection of my personal inexperience. I think the only time a bash script is really

[Rd] Making R CMD nicer

2019-06-29 Thread Jason Xu
Hello everyone, First time posting in the R mailing lists so hopefully this works well. I noticed when I type `R CMD` I get this unhelpful message: /usr/lib/R/bin/Rcmd: 60: shift: can't shift that many This probably comes from the file Rcmd.in. This should be easily fixed by checking $#. I also