Hi, I am Sukriti Sood, a research analyst at Woodstock Institute <https://woodstockinst.org/> . I use RStudio extensively for our analysis. I have been facing two issues for a while: 1. I am unable to copy from RStudio and paste into or vice versa to any other programs. 2. I am facing some kind of a conversion error (screenshot attached). I tried looking up online however could not find a resolution to these issues. Could I please get some help with this urgently. Thanks! Best, Sukriti Sood Sukriti Sood | Research Analyst Woodstock Institute Pronouns: She/Her/Hers 67 East Madison, Suite 2108 | Chicago, Illinois 60603 O (312) 368-0310 x2029 | C (610) 604-6708 www.woodstockinst.org<http://www.woodstockinst.org/> | ssood at woodstockinst.org<mailto:ssood at woodstockinst.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: R Issue .png Type: image/png Size: 39309 bytes Desc: R Issue .png URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20230905/5dba5079/attachment.png>
R is not RStudio. RStudio is not R. RStudio helps you work with R, but to do so it "types" in some commands behind the scenes. I suspect those errors are because you have a pairing of versions of RStudio with a version of R that the RStudio team did not test. Someone here might be able to help, but the most likely way to encounter someone who knows what bugs RStudio has is to ask in the RStudio support area [1]. [1] https://support.posit.co/hc/en-us On September 5, 2023 9:59:28 AM PDT, Sukriti Sood <ssood at woodstockinst.org> wrote:>Hi, > >I am Sukriti Sood, a research analyst at Woodstock Institute <https://woodstockinst.org/> . I use RStudio extensively for our analysis. I have been facing two issues for a while: > > > 1. I am unable to copy from RStudio and paste into or vice versa to any other programs. > 2. I am facing some kind of a conversion error (screenshot attached). > >I tried looking up online however could not find a resolution to these issues. Could I please get some help with this urgently. > >Thanks! > >Best, >Sukriti Sood > >Sukriti Sood | Research Analyst >Woodstock Institute >Pronouns: She/Her/Hers >67 East Madison, Suite 2108 | Chicago, Illinois 60603 >O (312) 368-0310 x2029 | C (610) 604-6708 >www.woodstockinst.org<http://www.woodstockinst.org/> | ssood at woodstockinst.org<mailto:ssood at woodstockinst.org> > > >-- Sent from my phone. Please excuse my brevity.
?s 17:59 de 05/09/2023, Sukriti Sood escreveu:> Hi, > > I am Sukriti Sood, a research analyst at Woodstock Institute <https://woodstockinst.org/> . I use RStudio extensively for our analysis. I have been facing two issues for a while: > > > 1. I am unable to copy from RStudio and paste into or vice versa to any other programs. > 2. I am facing some kind of a conversion error (screenshot attached). > > I tried looking up online however could not find a resolution to these issues. Could I please get some help with this urgently. > > Thanks! > > Best, > Sukriti Sood > > Sukriti Sood | Research Analyst > Woodstock Institute > Pronouns: She/Her/Hers > 67 East Madison, Suite 2108 | Chicago, Illinois 60603 > O (312) 368-0310 x2029 | C (610) 604-6708 > www.woodstockinst.org<http://www.woodstockinst.org/> | ssood at woodstockinst.org<mailto:ssood at woodstockinst.org> > > > > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.Hello, You should post RStudio questions to the RStudio support service, they answer quickly and the answers are generally good. It's written at the bottom of the attached image that the workspace was loaded from file C:/WSI/.RData Close RStudio, remove this file and restart. See if it solved it. Hope this helps, Rui Barradas
Sounds like something weird happened to your installation of the knitr package. It could help to reinstall it. If you don't have anything valuable saved in %userprofile%\.RData, it may be worth moving it away, because it may be carrying a part of the broken state. (Saving state in .RData may be convenient, but it may hurt the reproducibility of your scripts and persist some of your problems.) -- Best regards, Ivan
>>>>> Sukriti Sood >>>>> on Tue, 5 Sep 2023 16:59:28 +0000 writes:> Hi, I am Sukriti Sood, a research analyst at Woodstock > Institute <https://woodstockinst.org/> . I use RStudio > extensively for our analysis. I have been facing two > issues for a while: > 1. I am unable to copy from RStudio and paste into or > vice versa to any other programs. 2. I am facing some > kind of a conversion error (screenshot attached). > I tried looking up online however could not find a > resolution to these issues. Could I please get some help > with this urgently. > Thanks! > Best, Sukriti Sood Dear Sukriti. Hmm, the R-help list is really about R, and *not* RStudio. There are RStudio community places to ask for help with the IDE, "RStudio Desktop" I think it is called now. Also screenshots of R console output are really not intended for this mailing list. Please rather send *text* to here which you cut'n'paste (and possible re-format / clean) from the R console. Still taking the extra effort and deciphering your screenshot, I see that you are using R version 4.3.1 for Windows .. which is fine... then an iconv() conversion error and an other error message that "knitr" was not found; finally [Workspace loaded from C:/WSI/.RData] Please rename this file, C:/WSI/.RData , to something else (do this with the file browser from Windows; outside R). If that does not help, try to start R outside of RStudio, and report here (*not* by a screenshot) if you still get an error. If you get to the R prompt at all please also send the console output from (typing in the R console) > sessionInfo() If R works fine outside RStudio, you definitely need to get help from the RStudio community. Hoping that helps some steps further. Best regards, Martin -- Martin Maechler ETH Zurich and R Core team