Questions tagged [rstudio]

RStudio is an IDE for the R programming language

Filter by
Sorted by
Tagged with
0
votes
1answer
62 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: ...
0
votes
1answer
34 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 ...
1
vote
0answers
54 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. ...
0
votes
0answers
21 views

How to run multiple find and replace searches in a single batch in RStudio

I've got a bunch of find and replace logic that I would like to run sequentially in a single batch. I've looked around for RStudio plugins and CRAN packages, but have only found ones that let you do a ...
1
vote
1answer
50 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 ...
0
votes
0answers
37 views

RStudio Error in Sys.which() - argument “names” is missing, with no default

Quest: Fix this error so I don't have to worry about issues with uncompiled packages Verbatim Error: Error in Sys.which argument "names" is missing, with no default Steps taken: System is ...
0
votes
1answer
323 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(...
0
votes
0answers
234 views

unable to connect to Rserver using docker: “rstudio initialization error” and “r is taking longer to start than usual” messages

I am trying to use this docker image < https://hub.docker.com/r/natverse/r-natverse > which runs in an r server. However, I always get the error "rstudio initialization error, unable to ...
1
vote
0answers
103 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 ...
0
votes
1answer
107 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 ...
1
vote
0answers
31 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?
1
vote
0answers
96 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: ...
1
vote
0answers
273 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 ...
0
votes
0answers
222 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 ...
0
votes
1answer
202 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 ...
1
vote
1answer
59 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 ...
1
vote
0answers
78 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 ...
0
votes
1answer
351 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 ...
0
votes
2answers
3k 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 ...
0
votes
1answer
671 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....
0
votes
2answers
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....
1
vote
1answer
126 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("...
0
votes
1answer
285 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 ...
1
vote
0answers
23 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 ...
0
votes
1answer
577 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 ...
0
votes
1answer
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 ...
3
votes
1answer
123 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 ...
0
votes
1answer
524 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 ...
1
vote
0answers
428 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 *...
1
vote
1answer
183 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 . ...
1
vote
0answers
31 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 ...
0
votes
1answer
453 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 ...
1
vote
2answers
582 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 ...
1
vote
1answer
474 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 ...
0
votes
1answer
634 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 ...
0
votes
1answer
530 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 ...
1
vote
1answer
33 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?
0
votes
0answers
921 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 ...
0
votes
1answer
814 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-...
1
vote
0answers
74 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 ...
0
votes
2answers
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 ...
1
vote
1answer
367 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/...
0
votes
1answer
576 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 ...
0
votes
1answer
540 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 ...
1
vote
1answer
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 ...
0
votes
0answers
298 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="...
0
votes
1answer
322 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 ...
2
votes
0answers
602 views

rJava not loading in RStudio, but working in R

I managed to install rJava by running R CMD javareconf -e | tee javareconf.out cat javareconf.out Java interpreter : /usr/lib/jvm/java-8-oracle/jre/bin/java Java version : 1.8.0_201 Java home ...
0
votes
0answers
70 views

Run bash in restricted mode when called by R “?” help command

I often use the terminal built in to Rstudio to run interactive R commands and scripts remotely on a server. Occasionally I end up executing in terminal when R is not running in terminal. This can ...
0
votes
1answer
81 views

add Cmder in Rstudio terminal

I would like to know how to add Cmder (Portable console emulator for Windows) in Rstudio terminal ? I add this C:\cmder\vendor\bin in environment variables but without any effect. tools -> global ...