Error : Installation permission on RStudio Cloud

How do users use RStudio if both RStudio IDE and RStudio Cloud cannot working smoothly on most fundamental packages installation/update?

It works smoothly for most of us, so if you are experiencing a particular problem, better be more specific so people can help you with that. What package? What is the complete error message you get? What command are you using for installing?

error on install.packages and update.packages on any package. via Rgui, RStudio and also RStudio.Cloud...

Package installation issues don't have a single cause for all of them, even more if you are working on very different environments (local PC and Cloud service) so, if you cant be specific about your problem I'm afraid you are not going to get any meaningful help

> install.packages('lubridate')
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
also installing the dependencies ‘generics’, ‘Rcpp’

trying URL 'http://package-proxy/focal/src/contrib/generics_0.1.0.tar.gz'
Content type 'application/x-tar' length 68030 bytes (66 KB)
==================================================
downloaded 66 KB

trying URL 'http://package-proxy/focal/src/contrib/Rcpp_1.0.7.tar.gz'
Content type 'application/x-tar' length 4190133 bytes (4.0 MB)
==================================================
downloaded 4.0 MB

trying URL 'http://package-proxy/focal/src/contrib/lubridate_1.7.10.tar.gz'
Content type 'application/x-tar' length 2028827 bytes (1.9 MB)
==================================================
downloaded 1.9 MB

Warning in install.packages("BBmisc", dependencies = TRUE, INSTALL_opts = "--no-lock") :
  'lib = "/opt/R/4.1.0/lib/R/library"' is not writable
Error in install.packages("BBmisc", dependencies = TRUE, INSTALL_opts = "--no-lock") : 
  unable to install packages
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BBmisc’
Execution halted
Warning in install.packages :
  installation of package ‘generics’ had non-zero exit status
Warning in install.packages("BBmisc", dependencies = TRUE, INSTALL_opts = "--no-lock") :
  'lib = "/opt/R/4.1.0/lib/R/library"' is not writable
Error in install.packages("BBmisc", dependencies = TRUE, INSTALL_opts = "--no-lock") : 
  unable to install packages
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BBmisc’
Execution halted
Warning in install.packages :
  installation of package ‘Rcpp’ had non-zero exit status
Warning in install.packages("BBmisc", dependencies = TRUE, INSTALL_opts = "--no-lock") :
  'lib = "/opt/R/4.1.0/lib/R/library"' is not writable
Error in install.packages("BBmisc", dependencies = TRUE, INSTALL_opts = "--no-lock") : 
  unable to install packages
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘BBmisc’
Execution halted
Warning in install.packages :
  installation of package ‘lubridate’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpfMTw16/downloaded_packages’
> 

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.