Plotting during a loop in RStudio

前端 未结 7 2223
无人及你
无人及你 2020-12-01 18:30

I am implementing a solution to the Traveling Salesman Problem (TSP) in R (simulated Annealing) and I want to output the current best path periodically. I have searched qui

7条回答
  •  余生分开走
    2020-12-01 18:53

    One thing you can do is open a x11 window and plot in there:

    x11()
    Plotz()
    

    That should work the same as running it in terminal.

提交回复
热议问题