Re: [Rd] issues with environment handling in model.frame()

2020-05-02 Thread Berry, Charles
> On May 2, 2020, at 5:30 AM, Antoine Fabri wrote: > > Dear all, > > model.frame behaves in a way I don't expect when both its formula and > subset argument are passed through a function call. > See the help page ?formula in particular the section headed 'Environments'. Then look at the

Re: [Rd] paste(character(0), collapse="", recycle0=FALSE) should be ""

2020-05-02 Thread Martin Maechler
> suharto anggono--- via R-devel > on Fri, 1 May 2020 03:05:37 + (UTC) writes: > Without 'collapse', 'paste' pastes (concatenates) its arguments elementwise (separated by 'sep', " " by default). New in R devel and R patched, specifying recycle0 = FALSE makes mixing zero-leng

Re: [Rd] R not working to Window 10

2020-05-02 Thread Dirk Eddelbuettel
On 2 May 2020 at 14:14, Naveen Kaushik via R-devel wrote: | I have just installed R from https://cran.r-project.org/bin/windows/base/rtest.html but when i want to open R, not open to massage show and when I troubleshoot R program it is show that Settings applied to: Rgui: Windows compatibility

[Rd] R not working to Window 10

2020-05-02 Thread Naveen Kaushik via R-devel
I have just installed R from https://cran.r-project.org/bin/windows/base/rtest.html but when i want to open R, not open to massage show and when I troubleshoot R program it is show that Settings applied to: Rgui: Windows compatibility mode: Windows 8 (incompatible Program). So please guide me

[Rd] issues with environment handling in model.frame()

2020-05-02 Thread Antoine Fabri
Dear all, model.frame behaves in a way I don't expect when both its formula and subset argument are passed through a function call. This works as expected: model.frame(~wool, warpbreaks, breaks < 15) #>wool #> 14A #> 23A #> 29B #> 50B fun1 <- function(y) model.frame(~wool, wa

Re: [Rd] "not a valid win32 application" with rtools40-x86_65.exe on Windows 10

2020-05-02 Thread Simon Urbanek
Spencer, you shouldn't have anything on the PATH, the location of Java is taken from the registry so you only need t have a valid installation of Java. Better don't set PATH or JAVA_HOME as it will stop rJava from working if you get it wrong. The errors on Windows are confusing, the actual erro