Questions tagged [rstudio]

RStudio is an IDE for the R programming language

Filter by
Sorted by
Tagged with
1 vote
1 answer
18 views

Does installing RStudio Desktop come with a pre-installed R?

When you install RStudio Desktop, does it also come with a pre-installed R?
user avatar
0 votes
1 answer
95 views

WSL2 / wslg Windows Start menu app - where is the $PATH env pulled from?

I've compiled the latest gnu compiler (11.2) on Ubuntu 20.04. In my~/.bashrc , the directory I have gcc/g++ installed in is pathed. Now, I have compiled R in wsl2 using the gcc 11.2 compiler. Then I'...
user avatar
  • 101
0 votes
0 answers
30 views

How to set compatibility settings for VcXsrv in Windows to run X applications from WSL2?

I am running RStudio in WSL2 as an X application. I'm using VcXsrv as my X server. I'm on a MacBook pro with a retina screen. The cursor in RStudio is tiny. I've tried messing with the compatibility ...
user avatar
  • 634
0 votes
0 answers
70 views

I cannot open R x64 bit

I recently updated my R and RStudio versions to the latest. Since then, I have had to start RStudio using 32bits 'cause x64 is not opening (window opens for a second, freezes, and then shuts down). I ...
user avatar
0 votes
1 answer
247 views

How do I get HMAC SHA1 hash and Base64 encoding in AppScript?

I currently have a small piece of code to get an authorization string in R Studio. I am trying to replicate the same function in App Script, but I have not been able to get the same result. The code ...
user avatar
0 votes
0 answers
47 views

Is it possible to set R Studio cloud Studio WD in googledrive?

I am using R studio cloud and having issues with installing and loading packages (as ‘lib’ is unspecified) on both R Cloud and hard drive. So I am wondering whether it is possible to use googledrive ...
user avatar
0 votes
1 answer
562 views

How can I connect to PostgreSQL database on a server through an SSH Tunnel using R?

I am trying to connect an RStudio Session to a PostgreSQL database which is on a server (Digital Ocean) through a SSH Tunnel. I am new to the SSH Connections, specially using R. Systems Information: ...
user avatar
0 votes
1 answer
62 views

How to point R to the correct version of curl when upgrading nfrom R 3.6 to R 4.0?

Full disclosure, I have already posted this same question on SO, but on advice am trying this forum instead! I originally posted this issue several months ago in RStudio Community which helped narrow ...
user avatar
2 votes
0 answers
145 views

R Versions 4.0.3+ 64 bit Refuses to Launch on Windows 10

Repost of this question on stack overflow After updating R to 4.0.3, and now 4.0.4, I am unable to launch the 64-bit version. The 32-bit version works fine and previous releases work fine in 64-bit. ...
user avatar
  • 21
1 vote
1 answer
124 views

Simplest cloud backup options for RStudio projects

I'm looking for options for using a cloud service to backup and share projects when using RStudio. I currently use Dropbox as a cloud service for back-up and file sharing of all my files (including my ...
user avatar
  • 11
0 votes
2 answers
790 views

Percentage Overlap of 95% confidence ellipses in a PCA plot

I've generated some plots with the below code: #Remove group label from the dataframe data_just_feats <- data[ , -which(names(data) %in% c("Group"))] # Pca Plot plot_1 <- autoplot(...
user avatar
1 vote
0 answers
215 views

New Mac lost Rstudio Admin Privileges

I got a new macbook and migrated my applications and files over. I have a new user but everything else is the same. I tried to install a package in Rstudio and it returned an error ...
user avatar
0 votes
1 answer
173 views

How to install RStudio in Ubuntu MATE

I had recently installed Ubuntu MATE 32-bit on my Raspberry Pi 3B+. When I go through the steps in any installation process for RStudio, I find out it doesn't work or it's not what I am looking for. I ...
user avatar
  • 47
1 vote
0 answers
73 views

How do I bind the escape key to something else for the vim keybindings in Rstudio

I usually use jk or kj in vim as the keybinding for escape to enter normal mode. How do I do this for the vim keybinds in Rstudio?
user avatar
1 vote
0 answers
151 views

Launch multiple RStudio sessions from Docker on EC2

I managed to install RStudio through Docker, running on port 8787 on my EC2 instance. I wanted to add another RStudio session (not necessarily sharing the same volumes), so I tried the following: ...
user avatar
2 votes
0 answers
492 views

"Kind" of .R file incorrectly displayed as "Rez Source" instead of "R Source File"

I am a R user new to MacOS. I found that the "Kind" of .R files are shown as "Rez Source" instead of "R Source File", even after I set the default app for the file as Rstudio.app (See the screenshot ...
user avatar
0 votes
0 answers
324 views

R INSTALL ON SERVER ERROR "bzip2 library and headers are required" despite being already installed

I keep getting the error checking whether bzip2 support suffices... configure: error: bzip2 library and headers are required when trying to install R onto a server environment. I installed bzip2 ...
user avatar
0 votes
1 answer
248 views

How to plot longitudinal data in R

I am trying to plot longitudinal data in R. My data frame has this form: participant_ID group S1 S2 S3 S4 S5 S6 S7 S8 1 ctrl 14.00 14.00 13.00 13.00 7.00 8.00 4.00 1.00 2 ...
user avatar
  • 3
1 vote
1 answer
77 views

RStudio covRob error

">cmatrix = covRob(X, corr=TRUE)" Error in CovOgk(data, control = CovControlOgk(smrob = "s_mad", svrob = "qc")) : column with zero scale encountered in C function ...
user avatar
  • 11
1 vote
0 answers
92 views

DLL file could not be located when loading RStudio

I got this message after installing the latest R and RStudio and trying to load RStudio: Procedure Entry Point modf could not be found in dynamic link library in qt5positioning.dll I tried to ...
user avatar
0 votes
1 answer
466 views

Read data (large file) in R causes: InPageError, Error Status Code: c000009c, Faulting Media Type: 00000003

I want to load a big data set (6GB) in R (or Rstudio), as I do on my other (W10) computers. (My setup: W10 64bit, 36GB RAM, C:\PageFile.Sys 5GB, C:\SwapFile.Sys 16 MB). However: rsession.exe crashes ...
user avatar
0 votes
2 answers
4k views

RStudio: Trouble uploading an Excel file. "No package called 'pkgconfig'

I was able to import an excel spreadsheet into RStudio and work on it while at work, so I decided to email myself the same spreadsheet and work on it at home as well. When I downloaded the excel file ...
user avatar
0 votes
1 answer
738 views

Installation of package ' ' had non-zero exit (tidyverse R - linux mint)

I've tried sudo apt-get update sudo apt-get install r-base-dev sudo apt-get install libcurl4-openssl-dev sudo apt-get install libxml2-dev but R is keep showing me these messages: 1: In install....
user avatar
0 votes
2 answers
1k views

Unable to install Tidyverse Package in RStudio

When i try to install Tidyverse package in RStudio im geetting following error and installation gets terminated. Warning in install.packages : unable to access index for repository https://cran....
user avatar
1 vote
1 answer
143 views

Installing the new R Studio

I tried uninstalling the old version of RStudio and then installing the new RStudio, which seemed successful. I then tried to install a package and the following error is thrown: install.packages("...
user avatar
  • 11
0 votes
1 answer
293 views

How to make RStudio Server persist after dev server signs out in Terminal?

I have RStudio server set up on my dev server and can access it in my browser. However, Rstudio becomes unresponsive (Error: Unable to establish connection with R session) when my dev server signs out ...
user avatar
1 vote
0 answers
28 views

Change directory R looks for packages that are outside conda environment

I am using R in RStudio outside of a conda environment (I have miniconda3 installed to operate QIIME2). However, when I try installing R packages, I am always getting errors as R is always looking in ...
user avatar
0 votes
1 answer
719 views

Run RStudio in WSL - error in program format

I'm trying to run the latest RStudio (1.2.1335) within my Ubuntu 18 WSL. I have xfce4 running and am connected via VcXsrv. I Can can fire up any GUI program just fine. So, I downloaded RStudio and ...
user avatar
  • 101
0 votes
1 answer
1k views

Rstudio desktop and R desktop memory allocation

I am very new to machine learning (caret) and I am having trouble with RAM allocation in RStudio, but not R. I am trying to run a Random forest model using cross validation. After preparing my train ...
user avatar
3 votes
1 answer
148 views

Using R on Windows Server 2012R2 not using more memory

I have a question regarding R and RStudio on my Windows Server 2012 R2 Datacenter. I access the server directly and the server has 128GB RAM. But when I run my R-script, the task manager shows me, R ...
user avatar
0 votes
1 answer
651 views

Can't initialize Spark session

I try to initialize a session of Spark in RStudio library(SparkR) spark = sparkR.session() and I get the following output: Spark package found in SPARK_HOME: /opt/application/Spark2/current ...
user avatar
1 vote
0 answers
453 views

Having problems installing R package due to accented username

I am working with RStudio on Windows 10 and trying to install package "hms" with no success. It seems that the problem is with my accented name in the Users account. Here is the error: * installing *...
user avatar
  • 11
1 vote
1 answer
275 views

How to untracked files I have accidentally gotten Git to track

So I messed up big time when trying to add a R Project to Git. I typed the exact location of my R Project (in my Documents folder on my computer), and typed git init. However, when I typed git add . ...
user avatar
  • 11
1 vote
0 answers
40 views

RStudio keyboard shortcut for adding another cursor not working

I want to add a second cursor in RStudio editor to edit a couple of line at once. I'm trying to use the key combination CTRL+ALT+Up or Down, as explained here. But this is not working. Is there ...
user avatar
  • 161
0 votes
1 answer
498 views

Error installing RQDA

I'm having some trouble installing RQDA on MacOS 10.14.5 Mojave, Rstudio (from Anaconda)running R 3.5.1. I installed Xquartz 2.7.11 and GTK+ 2.24.17, but when I try to install the RQDA package I get ...
user avatar
1 vote
2 answers
611 views

How can I use RStudio on Ubuntu 19.04?

I have recently upgraded Ubuntu from 18.04 to 19.04 (Disco Dingo). After the upgrade, I always failed to open RStudio. However, base R is still working on terminal. Out of curiosity, I visited ...
user avatar
  • 11
1 vote
1 answer
678 views

Ubuntu 18.04 - I'm not able to change the version of R in RStudio

I installed RStudio through Anaconda manager. I managed to update the version of R on my computer to 3.6 (when I type R --version in my terminal, I get version 3.6), but when I check the version in ...
user avatar
0 votes
1 answer
653 views

Rstudio Version 1.2.1335 constantly crashes

I'm using the newest version (04/2019 of Rstudio on Ubuntu 18.04 (64-bit), I have two PC, one desktop and one laptop, the laptop never had this issue, however the desktop constantly crashes without ...
user avatar
  • 133
0 votes
1 answer
615 views

Low performance with dual Xeon

I searched quite a lot about my problem, found people with similar issues but I couldn't find a solution. I recently bought an HP Z600 to a professional seller on eBay. It is equipped with 2 Xeon ...
user avatar
1 vote
1 answer
38 views

R Studio – How to reverse strike through?

After reopening a .R in RStudio, everything all the code is struck through in red. How can I reverse it?
user avatar
0 votes
0 answers
1k views

Re-connect to a 32 bit MS Access database with 64bit R-Studio, post v1.2 patch using odbc package

My workplace recently updated my R Studio application, and odbc connections to my 32bit MS Access database were broken. As near as I can tell, I lost my 32 bit R option with the update, resulting in a ...
user avatar
0 votes
1 answer
883 views

RStudio not launching in windows 10

RStudio was working fine for me till today, but it got closed by me unfortunately when the R studio was running. After that, I have been unable to re launch Rstudio. I have uninstalled and re-...
user avatar
1 vote
0 answers
79 views

Double clicking to select all in R Studio

I use RStudio Server and my behavior for double clicking has changed. In the past, when I double clicked on a word, it would highlight that work. But now, when I double click on the word it selects ...
user avatar
  • 465
0 votes
2 answers
2k views

RStudio on Windows 10 - while saving any type of file, I get "file not found " .Program permissions issue inside \documents\ + subfolders

I have a weird problem where RStudio can no longer save to any folder other than the parent <user> folder (that includes none of its sub-directories, such as documents or document/R - which are ...
user avatar
1 vote
1 answer
472 views

RStudio (v. 1.2.1335) cannot start in ubuntu 16.04

I have just installed update version of Ubuntu v.1.2.1335. However, it cannot work properly. Here is the error: sudo rstudio Error: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/...
user avatar
0 votes
1 answer
1k views

rpy2 installation overwrites R_HOME and breaks RStudio

I recently installed rpy2 via pip: $ pip install rpy2, to use R from inside python. This worked and I can use it in python, however it seems to have overwritten all my R environment variables, and now ...
user avatar
  • 101
0 votes
1 answer
616 views

RStudio (v. 1.2.1335) opens as a hollow/blank window on Windows 10

RStudio worked perfectly when I last used it the night before this morning. But when I opened it up today there didn't appear to be a window, although the program was running according to the task ...
user avatar
1 vote
1 answer
4k views

Knitting Rmarkdown to Network Path in Rstudio Fails

I have Rmarkdown code that functioned without error knitting to HTML, yet after attempting to knit as a Word document, I cannot knit any Rmarkdown files that are saved on a network drive. If I save ...
user avatar
  • 126
0 votes
0 answers
347 views

DataExplorer package installation

I'm unable to install the DataExplorer R package. I'm using RStudio anaconda distribution with R version 3.5.1 on my mac os x 10.13.6. In RStudio I've tried: install.packages("dataexplorer", repos="...
user avatar
0 votes
1 answer
403 views

R(Studio) troubles installing SEMplot in Ubuntu

I want to install semPlot in R Studio under my Ubuntu 18.04 Sys. I've tried the GUI Version of are Studio as well as the R Console with install.packages("semPlot", dependencies = T) The output ...
user avatar
  • 101