I wrote a small R script that pulls a data set every three hours from a server. It isn't a very exciting data set, it is just some server log data. Every three hours, I pull the new data, append it to the data set and if I have more than N number of rows in the data, I truncate the data, and then save it.
All of that is working well. What I cannot figure out is how to NOT save the full history of this data. There are earlier questions here about this exact same topic, but nobody commented on any of them, so I'm going to ask again.
Every three hours, I create a new pin, but I would like to only keep the last 10 or so, just in case something goes wrong, and drop the others. When I open the history of the pin, this is what I see:
It isn't a problem right now, but eventually I see this becoming an issue. Is there a best practice to solve this?