gstudio
gstudio copied to clipboard
Gstudio Installation Problem
Hello,
I'm trying to install gstudio and getting an issue similar to this resolved one: https://github.com/dyerlab/gstudio/issues/7
When I run install.packages("gstudio") I get the following error: `Installing package into ‘C:/Users/Katie/AppData/Local/R/win-library/4.2’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘gstudio’ 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`
I've also tried running remotes::install_github("dyerlab/popgraph")
Which has resulted in:
`Installing package into ‘C:/Users/Katie/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
- installing source package 'popgraph' ... ** using staged installation ** R ** data ** inst ** byte-compile and prepare package for lazy loading Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : namespace 'rlang' 1.0.4 is already loaded, but >= 1.0.6 is required Calls: <Anonymous> ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace Execution halted ERROR: lazy loading failed for package 'popgraph'
- removing 'C:/Users/Katie/AppData/Local/R/win-library/4.2/popgraph' Warning messages: 1: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\Users\Katie\AppData\Local\R\win-library\4.2\00LOCK\rlang\libs\x64\rlang.dll to C:\Users\Katie\AppData\Local\R\win-library\4.2\rlang\libs\x64\rlang.dll: Permission denied 2: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\Users\Katie\AppData\Local\R\win-library\4.2\00LOCK\cli\libs\x64\cli.dll to C:\Users\Katie\AppData\Local\R\win-library\4.2\cli\libs\x64\cli.dll: Permission denied 3: In i.p(...) : installation of package ‘vctrs’ had non-zero exit status 4: In i.p(...) : installation of package ‘digest’ had non-zero exit status 5: In i.p(...) : installation of package ‘C:/Users/Katie/AppData/Local/Temp/Rtmp6XUO8q/file3fd07577405e/popgraph_1.5.3.tar.gz’ had non-zero exit status`
any suggestions?
thanks in advance
Hi I have the same problem. Can anyone help?
The error message above says that you need to update your 'rlang' packages. That is what the following lines in the R installer output mean
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'rlang' 1.0.4 is already loaded, but >= 1.0.6 is required
I would recommend an update of all packages then return and try again.