[R] RMariaDB returns a query without fractional seconds from MYSQL database

2021-07-29 Thread Baki UNAL via R-help
Hi I created a table with following sql code in mysql: CREATE TABLE pp_guniciislem201906.pp_201906 (     date DATE,     transaction_code VARCHAR(15),     joint_agree_no VARCHAR(20),     match_trade_item VARCHAR(15),     buy_sell VARCHAR(15),     num_transactions INT,     paid_price FLOAT,    

[R] RMariaDB returns a query without microseconds

2021-07-26 Thread Baki UNAL via R-help
Hi I can query a table from a mysql database with RMariaDB. One of the table's column indicates "trade_time" and contains values such as "09:55:02.113000". When I query this table I can not get fractional seconds. I get a value such as "09:55:02". Also I get a variable class such as "hms" and

[R] Plotting two time series in one graph

2021-05-02 Thread Baki UNAL via R-help
Hi I'm trying to plot two time series in one graph. I tried the following code: p = ggplot() +    geom_line(data = dovrez, aes(x = Date, y = Res), color = "blue") +   geom_line(data = rqa_df_USD, aes(x = DATE, y = LAM), color = "red") +   xlab('Dates') +   ylab('Values') print(p) But I got the

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

2021-03-22 Thread Baki UNAL via R-help
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: nn2 <- nnet(TQ~.,data = train, size=c(15,15), linout=T, MaxNWts =

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

2021-03-21 Thread Baki UNAL via R-help
culations.  Best,Baki On Sunday, March 21, 2021, 07:35:31 PM GMT+3, Jiefei Wang wrote: 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

[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

[R] Error while using keras package

2019-03-29 Thread Baki UNAL via R-help
Hello I successfully installed keras and TensorFlow backend with install_keras(). I attached the installation log as keras_install_log.txt. After that I tried to download mnist data with dataset_mnist() function. However I got the following error message:

[R] An error using frbs package

2015-11-27 Thread Baki UNAL via R-help
Hello I'm trying to run code below with frbs package. But I get an error saying: "Error in MF[k, temp[j + 2]] : subscript out of bounds" I couldn't spot the source of the error. What may be the problem? ##- varinp.mf <- matrix(c(4, 0, 0, 10, 50, 4, 10,