Questions tagged [rstudio]
RStudio is an IDE for the R programming language
82
questions
0
votes
1
answer
311
views
Why did GitHub site change?
Some time ago (long enough that I have forgotten the details), I successfully set up SSH authentication for my GitHub repository (along with corresponding keys in RStudio). It worked fine.
But ...
1
vote
1
answer
1k
views
How to wrap lines of code in Rstudio IDE?
Is there a feature to wrap code in the code window of RStudio IDE? Note I am not talking about programming, but rather working with the software called RStudio (IDE).
I have a pretty long line of ...
0
votes
1
answer
29
views
R studio, Excel, XLS files
I have 20 excel (.XLS) files. Each excel contains 13 Sheets. All of these excel are in proper format. I wanted to extract sheet no.10 from each excel and paste the data into an Excel sheet. I want ...
0
votes
1
answer
105
views
Error installing Rstudio on Arch
When I try installing Rstudio Desktop, I get this error when I run yay -Syyu rstudio-desktop in terminal.
In file included from /home/myusername/.cache/yay/rstudio-desktop/src/rstudio-2022.12.0-353/...
0
votes
0
answers
95
views
Why Tidyverse won't install in RStudio
I can't install Tidyverse in RStudio on Fedora 37 Workstation. The version of Rstudio is this:
RStudio 2022.12.0+353 "Elsbeth Geranium" Release (7d165dcfc1b6d300eb247738db2c7076234f6ef0, ...
0
votes
0
answers
46
views
How to harden Google Cloud VM running RStudio Server on Ubuntu 22.04?
I am running RStudio Server on a VM on GCP. I followed the instructions here and used the example configuration with as many of the options as would work for the open-source edition.
(Well other than ...
1
vote
1
answer
143
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?
0
votes
1
answer
888
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'...
0
votes
1
answer
513
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 ...
0
votes
2
answers
1k
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
1
answer
201
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 ...
2
votes
0
answers
177
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.
...
1
vote
1
answer
218
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
2
answers
2k
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(...
1
vote
0
answers
252
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
1
answer
224
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
0
answers
230
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
0
answers
207
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:
...
3
votes
0
answers
797
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 ...
1
vote
1
answer
462
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
1
answer
553
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
1
answer
101
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
0
answers
216
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
1
answer
621
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
2
answers
5k
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
1
answer
910
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
2
answers
2k
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
1
answer
150
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
1
answer
321
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 ...
2
votes
0
answers
110
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
1
answer
825
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
1
answer
2k
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
1
answer
200
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
1
answer
753
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
...
2
votes
1
answer
579
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
1
answer
472
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
0
answers
67
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
1
answer
533
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
2
answers
633
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
1
answer
1k
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
1
answer
677
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
1
answer
793
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
1
answer
61
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
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 ...
0
votes
1
answer
1k
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
0
answers
87
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
2
answers
3k
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
1
answer
547
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
1
answer
2k
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
1
answer
712
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 ...