# \#rstudio

**URL:** https://ask.cyberinfrastructure.org/tag/rstudio/313.md

[Latest](https://ask.cyberinfrastructure.org/latest.md) · [Categories](https://ask.cyberinfrastructure.org/categories.md) · [Tags](https://ask.cyberinfrastructure.org/tags.md)

---

## [Why is R in RStudio attempting to build package binaries with \`g++-7\`?](https://ask.cyberinfrastructure.org/t/why-is-r-in-rstudio-attempting-to-build-package-binaries-with-g-7/3121)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 5:27pm UTC](https://ask.cyberinfrastructure.org/t/why-is-r-in-rstudio-attempting-to-build-package-binaries-with-g-7/3121 "2024-04-22T17:27:38Z")

</div>

When I attempt to install certain packages (e.g., glmnet) for R within RStudio, I get an error like g++-7: command not found. Why is this occurring and what can be done about it?

---

## [How do you facilitate installation of R packages on your HPC/Cluster platform?](https://ask.cyberinfrastructure.org/t/how-do-you-facilitate-installation-of-r-packages-on-your-hpc-cluster-platform/2927)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 5\
**Last updated:** [September 14, 2023, 10:18pm UTC](https://ask.cyberinfrastructure.org/t/how-do-you-facilitate-installation-of-r-packages-on-your-hpc-cluster-platform/2927 "2023-09-14T22:18:10Z")

</div>

A substantial portion of support requests on our HPC system come from researchers wanting to install packages in R and running into errors. One of my facilitators is an expert at finessing these installs, but it is eatin…

---

## [Why do I see a login screen when returning to an RStudio session in Open OnDemand?](https://ask.cyberinfrastructure.org/t/why-do-i-see-a-login-screen-when-returning-to-an-rstudio-session-in-open-ondemand/2635)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 1\
**Last updated:** [January 10, 2023, 7:45pm UTC](https://ask.cyberinfrastructure.org/t/why-do-i-see-a-login-screen-when-returning-to-an-rstudio-session-in-open-ondemand/2635 "2023-01-10T19:45:13Z")

</div>

Why do I see a login screen like below when I return to an RStudio session in Open OnDemand, and how do I get back into my session?

---

## [Why is RStudio not displaying plots as expected?](https://ask.cyberinfrastructure.org/t/why-is-rstudio-not-displaying-plots-as-expected/2634)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 1\
**Last updated:** [January 10, 2023, 5:49pm UTC](https://ask.cyberinfrastructure.org/t/why-is-rstudio-not-displaying-plots-as-expected/2634 "2023-01-10T17:49:51Z")

</div>

When I open RStudio on Cheaha and attempt to plot data, my plots are not being displayed as expected, or not at all. What is going on and how can I fix it?

---

## [Why are my R packages not installing correctly when using RStudio on Open OnDemand on Cheaha?](https://ask.cyberinfrastructure.org/t/why-are-my-r-packages-not-installing-correctly-when-using-rstudio-on-open-ondemand-on-cheaha/2529)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 1\
**Last updated:** [September 22, 2022, 4:49pm UTC](https://ask.cyberinfrastructure.org/t/why-are-my-r-packages-not-installing-correctly-when-using-rstudio-on-open-ondemand-on-cheaha/2529 "2022-09-22T16:49:47Z")

</div>

I am attempting to install packages into my R environment using RStudio in Open OnDemand on Cheaha. When I do, I receive errors about failed compilation and the package is not installed. Why is this happening and what ca…

---

## [Why do I get a gray screen after launching my Open OnDemand RStudio Server session?](https://ask.cyberinfrastructure.org/t/why-do-i-get-a-gray-screen-after-launching-my-open-ondemand-rstudio-server-session/2497)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 5:41pm UTC](https://ask.cyberinfrastructure.org/t/why-do-i-get-a-gray-screen-after-launching-my-open-ondemand-rstudio-server-session/2497 "2022-09-16T17:41:16Z")

</div>

I am attempting to launch an Open OnDemand interactive RStudio Server session on Cheaha. When I do, a new tab opens but I can only see a gray screen. Why is this happening and what can be done about it?

---

## [Why is my Open OnDemand RStudio Server session giving me a 502 or 503 error?](https://ask.cyberinfrastructure.org/t/why-is-my-open-ondemand-rstudio-server-session-giving-me-a-502-or-503-error/2499)

<div class="topic-metadata">

**Author:** [@wwarr](https://ask.cyberinfrastructure.org/u/wwarr)\
**Replies:** 1\
**Last updated:** [September 16, 2022, 5:31pm UTC](https://ask.cyberinfrastructure.org/t/why-is-my-open-ondemand-rstudio-server-session-giving-me-a-502-or-503-error/2499 "2022-09-16T17:31:17Z")

</div>

When I try to launch my Open OnDemand interactive RStudio Session job, I am taken to a page with an HTTP Error 502, or 503. Why does this happen and what can be done about it?

---

## [Rscript or Rstudio?](https://ask.cyberinfrastructure.org/t/rscript-or-rstudio/2073)

<div class="topic-metadata">

**Author:** [@william.wilson](https://ask.cyberinfrastructure.org/u/william.wilson)\
**Replies:** 0\
**Last updated:** [October 6, 2021, 12:21am UTC](https://ask.cyberinfrastructure.org/t/rscript-or-rstudio/2073 "2021-10-06T00:21:07Z")

</div>

Rstudio vs Rscript The easiest way to think of R/Rscript and Rstudio on Monsoon is equating them to the Linux Command Line Interface (CLI) vs Ondemand. So, Rstudio supplies an interface into R and allows you to interact…
