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

Why is my chart not showing in RStudio's "Plots" pane?

I have written several functions that connect to a server and gather some data and mutates those data. One of the functions visualises the data also. As I always need to run all six functions - and because I wrote them as and when I needed them - I…
Mus
  • 7,290
  • 24
  • 86
  • 130
3
votes
1 answer

Can't launch browser through RStudio's taskscheduler

I'm trying to crawl data from a website using RSelenium. The scrip below runs perfectly in RStudio Code library(RSelenium) library(rvest) library(xlsx) library(XML) library(RODBC) library(taskscheduleR) library(DBI) con…
donmoy
  • 61
  • 5
3
votes
0 answers

RStudio Data Viewer: Change Font Size

In RStudio, how can I change the font-size of the Data Viewer (the table that appears every time we use utils::View()) I'm using Windows 10 64bit. I'm almost sure there should be a CSS file in Program Files which I could change the font size…
3
votes
1 answer

Can't load rJava library

I am running RSTudio Version 1.1.442 and R3.5. When I try to load rJava I get the following error; library(rJava) Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call:…
3
votes
1 answer

Indentation when line break in group_rows() command - kableExtra package in R markdown

I'm using the kableExtra package to output a table to PDF in R markdown. I use the command group_rows() to group some rows of my table together. The text in some rows of my first column is too long for the column width, so it is broken into two…
fred
  • 55
  • 4
3
votes
0 answers

How to resolve "Error: long vectors not supported yet: qap_encode.c:36"?

I am trying to connect java with R using Rserve Java: 1.8.0_151 R: 3.5.0 OS: Mac 10.13.4 HighSierra To connect R with Java, I typed the following on RStudio install.packages("Rserve") library(Rserve) Rserve(args="--no-save") things went smooth and…
KingJinho
  • 683
  • 1
  • 6
  • 23
3
votes
2 answers

failed to start rstudio (installed in Anaconda)

In Anaconda, I installed r essentials & r studio , but failed to start rstudio. when I tried to launch, it first showed a white blank view: and then it turned into a window explorer: Though titled with Download File, but there's nothing. checking…
Danny Vim
  • 75
  • 1
  • 2
  • 8
3
votes
2 answers

Rstudio notebook viewer doesn't show the code

I have recently downloaded the Rstudio and I created a R Notebook. However the "Viewer" doesn't show me the Notebook when I save it (in the instructions says it works). I have seen the same issue in other forums, but with no answers.
Chris
  • 2,019
  • 5
  • 22
  • 67
3
votes
1 answer

show.progress in readr and knitr

I am currently working on a .Rmd notebook, RStudio version 1.1.442. Following the Knitr manual and different examples found also in various vignette, in my notebook I've asked readr (installed version: 1.1.1) not to show progress bar using a hidden…
CheTesta
  • 577
  • 4
  • 17
3
votes
2 answers

Sending Outlook Emails via R workaround on OSX

I've looked throughout the site but have not been able to find an answer. I need to use R to send emails via my works outlook email. It has to be from Outlook, not anywhere else. Problem is, the computer I'm using is OSX so RDCOMClient won't work.…
3
votes
0 answers

Rstudio can't find the network path of the Rmd being knit

The following error arises when knitting an Rmd document to HTML, if the Rmd document is located on a network drive (Windows), whereas an identical Rmd document located on my desktop knits just fine: Error in normalizePath(path.expand(path),…
3
votes
0 answers

About the here::here() function and working directories

A few month ago I replaced every setwd and every absolute path in my code by relative paths using the here package. It does work very well generally but there is still an issue. I’m not using R Projects for this (because of different reasons), so I…
zugabe
  • 31
  • 3
3
votes
1 answer

Hidden file from 1969 in R Project?

My R Project has a strange file that was last edited on Dec 31, 1969. It's called "write-test-" and then a bunch of alphanumerics. The file doesn't show up in my file explorer, even when showing hidden files. Any ideas on this, and should I worry at…
astrofunkswag
  • 2,608
  • 12
  • 25
3
votes
0 answers

knitr error when using lua-filter/task-list.lua

I am trying to use task-list.lua to create square checkboxs. The following codes were included in yaml. output: html_document: pandoc_args: - --lua-filter=task-list.lua When I run the file in R-studio on a mac, everything works fine.…
Fei YE
  • 421
  • 3
  • 9
3
votes
0 answers

RStudio Knit to PDF Execution Halted

When I try to knit a .Rmd file to PDF in RStudio, I get the following error: Output created: regression.pdf Error in tools::file_path_as_absolute(output_file) : file 'regression.pdf' does not exist Calls: -> In addition:…
hawkaterrier
  • 368
  • 3
  • 15