I am a research analyst. I use RStudio extensively for our analysis. I have been facing two issues for a while:
I am unable to copy from RStudio and paste into or vice versa to any other programs.
I am facing some kind of a conversion error (screenshot attached, I avoided the screenshot but also felt if I type it out I might miss a few things hence the screenshot).
I tried looking up online however could not find a resolution to these issues. Could I please get some help with this urgently.
Look like you're automatically loading the previous session data. Do you need this behavior? Can you try starting a fresh session and see if these errors still happen?
Well, what about having a look in your working directory and seeing if there is anything that looks like an .Rdata or .rdata file you can delete? Actually from your first post it looks like you may have a .Rdata file at root or desktop level.
I tried to delete any .rdata files that I had. Please find attached the output from sessionInfo(). I apologize for the screenshots. However since the copy and paste from RStudio would not work, I do not want to risk missing out on any detail.
Thanks. In this case a screenshot is perfectly acceptable
If I am reading that info correctly your default language is English with UTF-8 encoding. That just eliminated some of the usual suspects.
How in copy and paste working in other programs? Even better, can you open an RMarkdown or Quarto file and see it there is a problem there?
I may be alarmist but is anything else on the computer acting strangely? It may be time to do a major virus sweep.
When I try to open a markdown file this is what it asks:
But when I do install the packages it shows the warnings that the prior installation of those packages could not be removed (tried to put up a screenshot but being a new user I am only allowed to embed 1 item).
Nothing seems out of the ordinary with the computer. But, I ran the same code in another computer and it worked there. So it might just be the laptop.