Re: [R] Rstudio crashed when I try to train a nnet model.

2021-03-22 Thread Duncan Murdoch
On 22/03/2021 8:39 a.m., Jiefei Wang wrote: Hi Baki, The crash is very likely due to the bug in nnet. If this is the case, there is almost nothing you can do. I think you only need to wait for the response from the package maintainer. You can send your data to the maintainer and help them to

Re: [R] Rstudio crashed when I try to train a nnet model.

2021-03-22 Thread Jiefei Wang
Hi Baki, The crash is very likely due to the bug in nnet. If this is the case, there is almost nothing you can do. I think you only need to wait for the response from the package maintainer. You can send your data to the maintainer and help them to debug the issue. Best, Jiefei On Mon, Mar 22,

Re: [R] Rstudio crashed when I try to train a nnet model.

2021-03-22 Thread Baki UNAL via R-help
Hi, I tried to run the code in another computer in RGui. This time program run until final iteration. But after the last iteration RGui quit without any error code. I mailed this issue to Brian Ripley who is the maintainer of R nnet package. What can I do to solve this problem? Best

Re: [R] Rstudio crashed when I try to train a nnet model.

2021-03-21 Thread Jiefei Wang
Hi Baki, This should be a different issue. It looks like there is no problem in the R terminal. Does the crash happen every time when you run the code in RStudio? If so, this should be a bug in RStudio and you need to consult RStudio's mailing list as R and RStudio are maintained by different

Re: [R] Rstudio crashed when I try to train a nnet model.

2021-03-21 Thread Baki UNAL via R-help
Hi Jiefei I run the code below in RGui > nn2 <- nnet(TQ~.,data = train, size=c(15,15), linout=T, MaxNWts =4000, > maxit=2000) But I got the following output: # weights:  435initial  value 55650.887782 final  value 55650.887782 converged Program early converged. Program didn't any calculations. 

Re: [R] Rstudio crashed when I try to train a nnet model.

2021-03-21 Thread Jiefei Wang
Hi Baki, Perhaps out of memory? Would you be able to run your code through the R terminal? It probably can give us more information to debug the issue. Best, Jiefei On Mon, Mar 22, 2021 at 12:23 AM Baki UNAL via R-help wrote: > Hi, > I tried to train a neural network with following code: >

[R] Rstudio crashed when I try to train a nnet model.

2021-03-21 Thread Baki UNAL via R-help
Hi, I tried to train a neural network with following code: nn2 <- nnet(TQ~.,data = train, size=c(15,15), linout=T, MaxNWts =4000, maxit=2000) When I executed the code R studio crashed with following error: "R Session Aborted R encountered a fatal error. The session was terminated. Start new