Re: [R] Reporting a bug in as function

2020-03-03 Thread Duncan Murdoch
On 02/03/2020 9:25 a.m., Agha Babar Khan wrote: Dear R, Run following commands and you will find last two command result is same. n1 <- 1 print(n1) typeof(n1) is.integer(n1) is.numeric(n1) n1 <- as.integer(n1) print(n1) typeof(n1) is.integer(n1) is.numeric(n1) Please read the help page for

[R] Reporting a bug in as function

2020-03-03 Thread Agha Babar Khan
Dear R, Run following commands and you will find last two command result is same. n1 <- 1 print(n1) typeof(n1) is.integer(n1) is.numeric(n1) n1 <- as.integer(n1) print(n1) typeof(n1) is.integer(n1) is.numeric(n1) Regards, Agha Babar Khan [[alternative HTML version deleted]] __