This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Rstudio cloud

Dear fellows,

a bit off topic today. I am just starting to use R studio cloud from a supercomputer to analyze my single cell and have recently experienced issue with installing packages. Not sure whether anyone have any experience installing packages in R studio cloud and could suggest solutions. I have been searching for solutions, but none of them worked for me. A HPC team have granted firewall access to https://cloud.r-project.org/src/contrib. Here is the error!

> install.packages("tidyverse")
Warning in install.packages :
  unable to access index for repository https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib:
  cannot open URL 'https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/PACKAGES'
Installing package into ‘/home/skeam/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib:
  cannot open URL 'https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘tidyverse’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

Hope you do not mind!

Thanks you!

r single-cell

Always add sessionInfo() when you are asking for help with problems related to R packages. If you're using the basic RStudio cloud plan, it limits you to 1GB of RAM, which is near useless. You'd be better off running RStudio Server on a computer and accessing it using a browser.

Hi Ram, thanks, I am using one that is from Sever which I can specify cpu core and RAM etc. thanks you

1 answer

The error sounds like the firewall is not letting through the access to

https://packagemanager.posit.co/

which is not the same URL you report as being allowed through.

Log in to answer this question.