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
3 answers

Error while loading tidyverse in RStudio

When trying to load the tidyverse package in RStudio, I get the following error message: library(tidyverse) Error: package or namespace load failed for ‘tidyverse’: .onAttach failed in attachNamespace() for 'tidyverse', details: call:…
3
votes
0 answers

Cannot Load Tidyverse Package

I am running RStudio on Ubuntu 16.04. In attempting to load the tidyverse package with library(tidyverse), I get the following error: Error: package or namespace load failed for ‘tidyverse’: .onAttach failed in attachNamespace() for 'tidyverse',…
JeffR
  • 524
  • 3
  • 10
3
votes
1 answer

nginx and empty reply from server errors when publishing RMarkdown to RPubs

I've gotten a few different error messages when trying to publish both a .Rpres and an .Rmd file to RPubs in RStudio. Besides the two below, another error is just a blank Error response. I've tried publishing both while connected to a VPN and while…
amanda
  • 321
  • 5
  • 12
3
votes
1 answer

Why are the code completion incomplete in R Studio?

Example 1: Let me take mean() function. It's common to use na.rm=TRUE in the mean function. But it doesn't show up in the code completion. When I hover over the mean function, I get mean(x,...). Inside the mean function, when I hit tab key, it's…
PraGalaxy
  • 43
  • 4
3
votes
1 answer

Rstudio how to get stringi package installation to work? All good until dyn.load simply fails

At wit's end after updating to latest: my Ubuntu 16.04LTS update/upgrades, my R version, my Rstudio-server version, my libicu-dev version, verified that anaconda is providing my python but not my R language. What else can help? This stringi…
Geoffrey Anderson
  • 1,534
  • 17
  • 25
3
votes
1 answer

Difference between load all and build & reload

What is the difference between the Load All command and the Build & Reload command in RStudio when working with packages? My primary workstream now is to incorporate the current changes of the package I'm building so that I can actually use the…
matsuo_basho
  • 2,833
  • 8
  • 26
  • 47
3
votes
1 answer

Can I run an ipython notebook from R studio

I've got an ipython notebook I would like to run before running analysis in R. I've set up a code chunk in my R notebook to run ipython as follows ```{python, engine = 'path/to/ipython'} import os #analogous to library(). …
Demetri Pananos
  • 6,770
  • 9
  • 42
  • 73
3
votes
0 answers

"rmarkdown" incorrectly installing. Object "vI" not found

When installing the "rmarkdown" package to R Studio I receive the following error: Error: package or namespace load failed for ‘rmarkdown’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): object 'vI' not found I…
3
votes
1 answer

how to make comments appear from custom functions

using RStudio I have noticed that, when calling a function, I can hit tab and a popup will appear with the possible parameters that can be chosen, e.g. if I type round( and hit tab, x= and digits= will appear as possible choices. This also happens…
Max_IT
  • 602
  • 5
  • 15
3
votes
4 answers

rJava loading error

Like a bunch of people, I am having trouble getting rJava to load in RStudio -- the same problem also reproduces itself when using the R GUI directly. Here's the error: > require(rJava) Loading required package: rJava Error: package or namespace…
BillPetti
  • 511
  • 2
  • 7
  • 14
3
votes
0 answers

R Studio - Code folding includes last blank line?

I'm using R Studio desktop and trying to use code folding. My code looks like this: # first ---- test1 <- 1 # second ---- test2 <- 2 # third ---- test3 <- 3 # fourth ---- test4 <- 4 When it folds, I want it to look like this: # first <> #…
3
votes
1 answer

Blogdown, Git and RStudio: Unable to Stage public/ folder

I am very new to blogdown and git. While staging the files/folders (using RStudio) inside the project folder, I am unable to choose the following folders: Can anybody let me know why this is happening and how can I stage/commit/push the above…
avinax
  • 107
  • 2
  • 12
3
votes
2 answers

Limiting a linear model to 3rd level interactions in R

I have a dataset with 14 binary variables. I've already tested for significant single variables, but I'd like to also check for significant interactions. However, I know that higher level interactions are unlikely to be significant and just muddle…
SDMcLean13
  • 55
  • 5
3
votes
2 answers

python in r: pandas not found

I am trying to improve my research by the combining of R and Python advantages. Reticulate package is a promising tool for this purpose. But something comes…
NT_
  • 641
  • 1
  • 5
  • 13
3
votes
1 answer

Data frame printing in R Markdown : how to hide column type?

When I print a data frame with R Markdown (html_document), I get the following table (see image below) with the following example code : title: "Motor Trend Car Road Tests" output: html_document: df_print: paged --- ```{r} mtcars ``` Is…
M. P. R.
  • 93
  • 1
  • 8
1 2 3
99
100