Questions tagged [rstudio]

RStudio is an IDE for the R statistical programming language. DO NOT use this tag for general R programming problems, just use the R tag. ONLY use for RStudio-specific questions.

RStudio is a free and integrated development environment () for and . It includes a console, syntax-highlighting ACE-based editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.

RStudio is available in open source and commercial editions and runs on the desktop (, , and ) or in a browser connected to RStudio Server or RStudio Server Pro (Debian/Ubuntu, Red Hat Linux/CentOS, and SUSE Linux).

RStudio PBC, the organization behind RStudio IDE, is now officially named Posit PBC, rebranding some of its corporate products, notably Connect, Workbench and Package Manager.

Tag Usage

Only use this tag for specific RStudio issues such as GUI features, bugs, installation. Always make sure your questions are suited for Stack Overflow.

Related tags

Resources

7871 questions
3
votes
1 answer

How to get function documentation in R Studio?

I am trying to get documentation for some R functions in R Studio, but unfortunately when I press F1 I get windows help instead of documentation for particular function.
nenad
  • 409
  • 3
  • 14
3
votes
2 answers

How to create a dummy variable in R using ifelse() command

I am trying to create a dummy variable for R. The thing is there are many categorical variables under my dataset of restaurants 'type'. Among them, I want Vegan restaurants to have value 1 and the rest to be 0. So when I run summary of the…
3
votes
1 answer

How to access a Rstudio blogdown website on local network?

Following the instructions at "blogdown: Creating Websites with R Markdown" https://bookdown.org/yihui/blogdown/, I used RStudio to create a blog and it is working with no problem on http://127.0.0.1:4321/. Thank you Yihui! Happy with my new…
Ben Cissé
  • 33
  • 3
3
votes
1 answer

Issue loading data of "file name conversion problem - name too long?"

I tried to open Excel data using import data in the RStudio, but I got this error: file name conversion problem - name too long? See the session screenshot below: What is the problem, and how can I handle this?
Yeseul Nam
  • 41
  • 1
  • 2
3
votes
0 answers

emoji does not render in rstudio console

I am running tests in Rstudio and the output looks like this: > devtools::test() Loading pkgname Testing pkgname | OK F W S | Context | 2 | test-file.R I am very happy that the tests pass, but the suggests that…
cantdutchthis
  • 31,949
  • 17
  • 74
  • 114
3
votes
1 answer

convert dummy data frame into data frame

I have a dummy data frame of dimension 8x12, and I want to group the variables x1j in x1, x2j in x2 and x3j in x3. Creating a data frame of 8x4 dimension. set.seed(123) df <-…
Rafael Díaz
  • 2,134
  • 2
  • 16
  • 32
3
votes
0 answers

Disable the zooming keyboard shortcuts in RStudio

RStudio provides the option to use CTRL++ to zoom in on the whole workspace and I often hit that combination by accident, when I would like to execute selected code with CTRL+Enter. This is wasting time and I need to zoom out again afterwards. So I…
hannes101
  • 2,410
  • 1
  • 17
  • 40
3
votes
1 answer

How Can I Uninstall RStudio from Anaconda

I need to uninstall RStudio from Anaconda from my windows 10 laptop and cannot get it to work. Here is why and what I’ve tried so far. Trying to launch RStudio Desktop (64 bit) from Anaconda I get a blank screen followed by a dialogue box asking…
WendyT
  • 31
  • 1
  • 3
3
votes
1 answer

Set the Rstudio theme info in .Rprofile file

Is there a way to set the Rstudio Theme info in .Rprofile file? I see lots of references on how to change the editor theme using the Rstudio IDE. https://support.rstudio.com/hc/en-us/articles/115011846747-Using-RStudio-Themes and this SO responce:…
schalls
  • 46
  • 1
  • 4
3
votes
1 answer

How to get a password at session startup

Currently where I work there is complex process for getting access granted to a projects working directory (requiring passwords to be submitted). We have a series of scripts to grant access and are hoping to put them into the .Rprofile file so that…
gowerc
  • 1,039
  • 9
  • 18
3
votes
1 answer

About ggplot2: Rotate geom_point shape & Show geom_text above the line

Good Morning. I am trying to plot using a ggplot2 package but facing a problem below: To make it more understandable, here is the target image that I want to make. Just like the image, I want to do the followings: 1) Put a text 'median' above the…
supremed14
  • 81
  • 1
  • 2
  • 6
3
votes
3 answers

Is there a better workaround for exporting transparent ggplots from Rstudio to PowerPoint?

So I need to copy and paste plots I make in R/Rstudio to PowerPoint (Unfortunately my government client requires everything to be in PowerPoint, otherwise this question could easily be solved by just putting my graphics in an Rmarkdown file). This…
Ben G
  • 4,148
  • 2
  • 22
  • 42
3
votes
1 answer

RStudio Programmatically Set Directory in Files Tab

I am trying to programmatically set directory in the Files tab within RStudio. The version of RStuido is 1.1.453. I have tried looking within rstudioapi package but the relevant functions that I found selectDirectory() and selectFile() open an…
Edgar Manukyan
  • 1,153
  • 10
  • 21
3
votes
1 answer

will R TinyTeX installation interfere with other LaTeX installations on my computer

On my Windows computers I typically install MiKTeX, and on my Linux computers I typically install TeX Live. I write to R Markdown a lot and it is recommended I install the package called TinyTeX via install.packages("tinytex") then…
stackinator
  • 5,429
  • 8
  • 43
  • 84
3
votes
0 answers

start timer when slide is visible reveal.js

I'm creating reveal.js slides in RStudio and I'd like to include a slide with a countdown timer for a 10 min break halfway through the presentation. I have an externaml html file with the timer code (below) and use a Rmd code chunk to include it in…
Milan Valášek
  • 571
  • 3
  • 10