问题
I wonder if anyone knows how to debug R script in a linux environment using command line. For example, in python we can use pdb. We first set a break point (pdb.set_trace()), we then can use command like 'c','n','s','b', etc. to debug the python code in the linux environment. I have been searching lots of information for R debugging, but so far I did not find a similar function in R. Thank you very much for your help!
来源:https://stackoverflow.com/questions/50518418/rscript-debug-using-command-line