R traceback writes too much to console -


I have a function that takes a large data frame as input and gives an environment with the function Something is wrong and it throws a mysterious error:

  error in the matrix (list, value, recursive = FALSE, use.names = FALSE), nrow = nr, dimnames' [2] array " 

I call traceback () for further investigation, and part of the traceback prints all the data. Outputs 200,000 lines and 15 MB data on the terminal.

I am using data.frame already tbl.df to dplyr package, which suppresses entire data under normal circumstances. Print of the frame.

To capture the output of the traceback, I write the sync function in the file .

Is there no way to avoid the maximum amount of output traceback in the console Is?


Comments