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

Different rendering between .Rmd and .Rmarkdown when using blogdown

I have found some strange differences in the way .Rmd files are rendered compared to .Rmarkdown. My setup: Beautiful hugo theme Blogdown 0.9 Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) If change the file…
3
votes
0 answers

R - Redefining utils::View as generic without conflicting with RStudio

I have successfully redefined utils::View as a generic function so that I can use it my package. However, it so happens that RStudio also defines some kind of hook on this function. Before loading my package, I see: > View function (...)…
Dominic Comtois
  • 10,230
  • 1
  • 39
  • 61
3
votes
1 answer

Can I edit some type of R Studio config file instead of changing all options through the GUI?

According to this forum post, that's now several years old, there's no easy way to edit R Studio's config files to alter R Studio's options. It seems the only option is to use the GUI Tools > Global Options. Is there any novel solution to mass apply…
Display name
  • 4,153
  • 5
  • 27
  • 75
3
votes
2 answers

How do you create a slider on Shiny/Plotly App that returns anything between the ranges selected on the SliderInput?

I am currently looking at the relationship between Bonus Points Scored and Points Per Game in Fantasy Premier League. I have made a Shiny/Plotly app. I would like to make another filter with a "Price" slider that returns the data corresponding to…
Housy33
  • 43
  • 4
3
votes
0 answers

How do I insert a static value into an rmarkdown template?

I'd like to generate a template for rmarkdown that automatically inserts static values into the template. Specifically, I'd like to insert the current date (formatted as DD Month YYYY) into the header and text and the current user's name into the…
Bill Denney
  • 766
  • 1
  • 6
  • 21
3
votes
2 answers

Using include_graphics in R Markdown does not reproduce the image in HTML file

I am attempting to use R Markdown Notebooks (.Rmd files) in R Studio to capture notes and excercises while learning R programming. I find that any plots generated through the code chunks are being replicated in the corresponding html file correctly,…
Fiddler
  • 31
  • 1
  • 2
3
votes
1 answer

How to set memory.limit in RStudio on Windows Vista at startup?

I am running RStudio 0.92.38 on Windows Vista x64. I have hard time to increase the memory limit to what I have (12GB) by using memory.limit, such as memory.limit(size=12000) for ~ 12 GB. I always get error: memory.limit() [1] 3904 …
SPN
  • 31
  • 1
  • 2
3
votes
2 answers

Can't install caret package in R

I have tried multiple ways to install the caret package in R. The error message that I receive is as follows: Error: package or namespace load failed for ‘caret’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): …
coult
  • 117
  • 1
  • 2
  • 6
3
votes
1 answer

factor not factorizing x axis labels for plotly

I have a dataframe imported from excel. one of the column is of the format : dates ------- Oct-17 Nov-17 Dec-17 Jan-18 Feb-18 Mar-18 Apr-18 May-18 Jun-18 Jul-18 Aug-18 All other columns are just numbers When I plot it using plotly (line chart), I…
qwww
  • 1,313
  • 4
  • 22
  • 48
3
votes
0 answers

R Error when installing/loading packages from library on company pc

After opening R Studio the following Error-message appears: This error also always appears in the end when I am trying to install or load packages: Error: invalid version specification ‘NA’ In addition: Warning message: In…
funkfux
  • 283
  • 3
  • 14
3
votes
1 answer

Using Rstudio with Docker compose and passing environment variables to rstudio user

I am using docker-compose to create a rstudio service which will be integrated with other services such a db. I am trying to pass some environment variables from the docker-compose.yml file to rstudio. I need these variables in the docker-compose…
Devaraj Phukan
  • 196
  • 1
  • 9
3
votes
0 answers

What are the key difficulties of integrating python in Rstudio?

I frequently produce dynamic reports both with python + jupyter and with Rstudio + R. I far prefer the Rstudio framework for reasons well-summarized by Max Wolf, and so I'm intrigued with efforts to get Rstudio to work with python as well. The…
zkurtz
  • 3,230
  • 7
  • 28
  • 64
3
votes
1 answer

Predefined CSS properties in R Markdown

Is there somewhere a complete list of predefined CSS properties that can be used in R Markdown documents? Some options are listed in the R Markdown/R Studio/Bookdown documentation, but I'm pretty sure this is not an exhaustive list. For…
Joanne Demmler
  • 1,406
  • 11
  • 31
3
votes
0 answers

Is there a repository for R Studio so I can apt-get upgrade it periodically?

This link provides the download instructions for R Studio. Unfortunatley I do not see any reference to repositories, apt-get, or anything of the sort. Most of my Linux programs auto-update simply by issuing the commands sudo apt-get update sudo…
stackinator
  • 5,429
  • 8
  • 43
  • 84
3
votes
1 answer

plot neural net in rmarkdown

I am using the neuralnet package, to train a neural network. I am using rmarkdown html format, but at the moment of printing the plot is not displayed. --- title: "neuralnet" author: "RED" date: "`r Sys.Date()`" output: html_document: toc:…
Rafael Díaz
  • 2,134
  • 2
  • 16
  • 32