I am getting this error repeatedly in different notebooks. It seems to appear randomly and once it appears I can't get rid of it. I'm creating R Notebooks with html_notebook output. Many chunks. Preview works fine, and then one day I make a minor edit and get this error when I try to Preview or save .... game over. I have to start with a new notebook and copy the chunks across. I have tried binary chopping to see if there is one chunk which causes it, but don't get consistent results even when starting with 2 copies of the same file. It's like there's some hidden control section which has become corrupted and you have to try again.
Any ideas? This is on Windows.
Note, I am not using in-line expression and have checked my use of backticks to make sure they all match up.
Any ideas? This is happening over and over again across different version of R and R-Studio on Windows.
I'm starting to think this might be something to do with network security and our VPN. I often get a security error because of a cross-origin script message which may or may not be related. Anyhow today I'm not using the VPN and I haven't had any errors. We'll see how it goes.
Yes, I have the latest version of R-Studio. I have stopped using the VPN for the time being, and so far it has not reoccurred. I have also been using the save disk icon instead of clicking the Preview button just in case that make a difference.