Re: [R] Issue with littler vs. R and source()

2025-03-08 Thread J C Nash
Thanks for responses. R CMD r -i ./FailBill.R And, better, the approach seems to allow the full program to run the dialogs (from svDialogs package) I need for interaction. I'll have to see how well I can make that work in a clickable icon. Rscript ./FailBill.R does avoid the "error" in not fin

Re: [R] Issue with littler vs. R and source()

2025-03-08 Thread peter dalgaard
Does Rscript work for you? Seems happy enough here: Peters-MacBook-Air:~ pd$ Rscript -e 'library(stapler)' Peters-MacBook-Air:~ pd$ cat > tmp/FailBill.R library(stapler) Peters-MacBook-Air:~ pd$ Rscript tmp/FailBill.R -pd > On 7 Mar 2025, at 16.45, J C Nash wrote: > > I want to use littler (i

Re: [R] Issue with littler vs. R and source()

2025-03-08 Thread Steve Martin via R-help
Hi John, Does it work if you run R CMD r -i FailBill.R? Steve Original Message On 3/7/25 10:45, J C Nash wrote: > I want to use littler (i.e. "r -i ") to run an R script so I can > set up a clickable icon for a program which uses package staplr. > Actually to use staplr t

[R] Issue with littler vs. R and source()

2025-03-07 Thread J C Nash
I want to use littler (i.e. "r -i ") to run an R script so I can set up a clickable icon for a program which uses package staplr. Actually to use staplr to consolidate two files and remove some unwanted pages before printout. A minimal example program is FailBill.R, which has the single line l