Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
5422
views
Install libicui18n locally on CentOS
I tried installing `Seurat` package in `Rstudio`, in a `markdown` file and apparently I need to install `libicui18n` locally on `CentOS` for it to work: https://bioinformatics.stackexchange.com/questions/4148/seurat-installation-fails I do not have `root` permissions. So, is there a way to do this?
I tried installing
Seurat
package in Rstudio
, in a markdown
file and apparently I need to install libicui18n
locally on CentOS
for it to work:
https://bioinformatics.stackexchange.com/questions/4148/seurat-installation-fails
I do not have root
permissions. So, is there a way to do this?
Nikita Vlasenko
(121 rep)
Apr 25, 2018, 08:23 PM
• Last activity: Jun 2, 2025, 09:04 AM
2
votes
0
answers
499
views
Unable to install "tidyverse" in R or Rstudio without running into errors and/or non-zero exit status
I've been having troubles with installing the tidyverse package in Rstudio and more recently when reinstalling R. I'll post my most recent error message when reinstalling R below after system info. My system info to start: Lenovo Thinkpad T14s Gen 2a OS:Dual boot with Linux Mint Cinnamon 20.3 (una)(...
I've been having troubles with installing the tidyverse package in Rstudio and more recently when reinstalling R. I'll post my most recent error message when reinstalling R below after system info.
My system info to start:
Lenovo Thinkpad T14s Gen 2a
OS:Dual boot with Linux Mint Cinnamon 20.3 (una)(kernel 5.13.0-51-generic), and Windows 10 on separate partition.
userXXXX:~$ sudo apt install --no-install-recommends r-cran-tidyverse
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
r-cran-tidyverse : Depends: r-cran-broom but it is not going to be installed
Depends: r-cran-dbplyr but it is not going to be installed
Depends: r-cran-dplyr but it is not going to be installed
Depends: r-cran-dtplyr but it is not going to be installed
Depends: r-cran-forcats but it is not going to be installed
Depends: r-cran-googledrive but it is not going to be installed
Depends: r-cran-googlesheets4 but it is not going to be installed
Depends: r-cran-ggplot2 but it is not going to be installed
Depends: r-cran-haven but it is not going to be installed
Depends: r-cran-hms but it is not going to be installed
Depends: r-cran-httr but it is not going to be installed
Depends: r-cran-modelr but it is not going to be installed
Depends: r-cran-readr but it is not going to be installed
Depends: r-cran-readxl but it is not going to be installed
Depends: r-cran-reprex but it is not going to be installed
Depends: r-cran-rvest but it is not going to be installed
Depends: r-cran-stringr but it is not going to be installed
Depends: r-cran-tibble but it is not going to be installed
Depends: r-cran-tidyr but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
It seems like I need to remove these broken packages before reinstalling the new ones. If there is anyone that can help with going about this it would be greatly appreciated! Thank you!
notsotidyverse
(21 rep)
Jun 23, 2022, 09:56 PM
• Last activity: Sep 18, 2023, 04:22 AM
1
votes
1
answers
270
views
Error installing rstudio-desktop package on Arch
When I run `yay -R rstudio-desktop` in terminal, the installer goes for a while before hitting this error and exiting. Buildfile: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/build.xml i18n-checksum: [echo] Commands.cmd.xml i18n checksum matches: true i18n-unix-c...
When I run
yay -R rstudio-desktop
in terminal, the installer goes for a while before hitting this error and exiting.
Buildfile: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/build.xml
i18n-checksum:
[echo] Commands.cmd.xml i18n checksum matches: true
i18n-unix-check:
i18n-unix:
i18n-windows-check:
i18n-windows:
generate-i18n:
ext:
[jscomp] Compiling 62 file(s) with 93 extern(s)
[jscomp] 0 error(s), 0 warning(s)
javac:
[mkdir] Created dir: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/bin
[javac] Compiling 3 source files to /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/bin
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Compiling 2591 source files to /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/bin
[copy] Copying 1883 files to /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/bin
gwtc:
panmirror:
[echo] yarn location: yarn
[echo] panmirror location: ./lib/quarto/apps/panmirror
[mkdir] Created dir: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/www/js/panmirror
[exec] yarn install v1.22.19
[exec] [1/4] Resolving packages...
[exec] [2/4] Fetching packages...
[exec] warning "eslint-config-custom > @typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > panmirror > vite-plugin-css-injected-by-js@2.3.1" has unmet peer dependency "vite@>2.0.0-0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > quarto-vscode-editor > vite-plugin-static-copy@0.13.0" has unmet peer dependency "vite@^3.0.0 || ^4.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor-codemirror > @codemirror/autocomplete@6.4.0" has unmet peer dependency "@lezer/common@^1.0.0".
[exec] [3/4] Linking dependencies...
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-utils@0.9.6" has incorrect peer dependency "prosemirror-tables@^0.9.1".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > quarto-ojs-runtime > @rollup/plugin-commonjs@22.0.2" has incorrect peer dependency "rollup@^2.68.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > quarto-ojs-runtime > @rollup/plugin-node-resolve@13.3.0" has incorrect peer dependency "rollup@^2.42.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > quarto-vscode-editor > @blueprintjs/core > react-popper@1.3.11" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > react-dock@0.2.4" has unmet peer dependency "babel-runtime@^6.3.13".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > react-json-tree@0.11.2" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > react-json-tree@0.11.2" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > unstated@2.1.1" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > quarto-ojs-runtime > @rollup/plugin-commonjs > @rollup/pluginutils@3.1.0" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > @emotion/css > @emotion/babel-plugin@11.10.5" has unmet peer dependency "@babel/core@^7.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > unstated > create-react-context@0.1.6" has incorrect peer dependency "react@^14.0.0 || ^15.0.0 || ^16.0.0".
[exec] warning "workspace-aggregator-95c856ef-3bde-4855-b510-451b1a07fa4d > editor > prosemirror-dev-tools > @emotion/css > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0".
[exec] [4/4] Building fresh packages...
[exec] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[exec] error /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/packages/build/node_modules/esbuild, /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/apps/lsp/node_modules/esbuild, /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/apps/vscode/node_modules/esbuild: Command failed.
[exec] Exit code: 1
[exec] Command: node install.js
[exec] Arguments:
[exec] Directory: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/apps/vscode/node_modules/esbuild
[exec] Output:
[exec] /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/apps/vscode/node_modules/esbuild/install.js:115
[exec] } catch {
[exec] ^
[exec]
[exec] SyntaxError: Unexpected token {
[exec] at createScript (vm.js:80:10)
[exec] at Object.runInThisContext (vm.js:139:10)
[exec] at Module._compile (module.js:617:28)
[exec] at Object.Module._extensions..js (module.js:664:10)
[exec] at Module.load (module.js:566:32)
[exec] at tryModuleLoad (module.js:506:12)
[exec] at Function.Module._load (module.js:498:3)
[exec] at Function.Module.runMain (module.js:694:10)
[exec] at startup (bootstrap_node.js:204:16)
[exec] at bootstrap_node.js:625:3
[exec] info This module is OPTIONAL, you can safely ignore this error
[exec] warning Error running install script for optional dependency: "/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba: Command failed.
[exec] Exit code: 1
[exec] Command: node-pre-gyp install --fallback-to-build
[exec] Arguments:
[exec] Directory: /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba
[exec] Output:
[exec] node-pre-gyp info it worked if it ends with ok
[exec] node-pre-gyp info using node-pre-gyp@1.0.10
[exec] node-pre-gyp info using node@8.17.0 | linux | x64
[exec] node-pre-gyp info check checked for \"/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release/nodejieba.node\" (not found)
[exec] node-pre-gyp http GET https://github.com/yanyiwu/nodejieba/releases/download/v2.5.2/nodejieba-v2.5.2-node-v57-linux-x64.tar.gz
[exec] node-pre-gyp ERR! install response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.5.2/nodejieba-v2.5.2-node-v57-linux-x64.tar.gz
[exec] node-pre-gyp WARN Pre-built binaries not installable for nodejieba@2.5.2 and node@8.17.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
[exec] node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.5.2/nodejieba-v2.5.2-node-v57-linux-x64.tar.gz
[exec] gyp info it worked if it ends with ok
[exec] gyp info using node-gyp@5.0.5
[exec] gyp info using node@8.17.0 | linux | x64
[exec] gyp info ok
[exec] gyp info it worked if it ends with ok
[exec] gyp info using node-gyp@5.0.5
[exec] gyp info using node@8.17.0 | linux | x64
[exec] gyp info find Python using Python version 3.11.3 found at \"/usr/bin/python\"
[exec] gyp info spawn /usr/bin/python
[exec] gyp info spawn args [ '/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
[exec] gyp info spawn args 'binding.gyp',
[exec] gyp info spawn args '-f',
[exec] gyp info spawn args 'make',
[exec] gyp info spawn args '-I',
[exec] gyp info spawn args '/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/config.gypi',
[exec] gyp info spawn args '-I',
[exec] gyp info spawn args '/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
[exec] gyp info spawn args '-I',
[exec] gyp info spawn args '/home/myusername/.cache/node-gyp/8.17.0/include/node/common.gypi',
[exec] gyp info spawn args '-Dlibrary=shared_library',
[exec] gyp info spawn args '-Dvisibility=default',
[exec] gyp info spawn args '-Dnode_root_dir=/home/myusername/.cache/node-gyp/8.17.0',
[exec] gyp info spawn args '-Dnode_gyp_dir=/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp',
[exec] gyp info spawn args '-Dnode_lib_file=/home/myusername/.cache/node-gyp/8.17.0/
[exec] import gyp
[exec] File \"/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py\", line 10, in
[exec] import gyp.input
[exec] File \"/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py\", line 9, in
[exec] import gyp.common
[exec] File \"/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py\", line 499, in
[exec] class OrderedSet(collections.MutableSet):
[exec] ^^^^^^^^^^^^^^^^^^^^^^
[exec] AttributeError: module 'collections' has no attribute 'MutableSet'
[exec] gyp ERR! configure error
[exec] gyp ERR! stack Error: gyp
failed with exit code: 1
[exec] gyp ERR! stack at ChildProcess.onCpExit (/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
[exec] gyp ERR! stack at emitTwo (events.js:126:13)
[exec] gyp ERR! stack at ChildProcess.emit (events.js:214:7)
[exec] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
[exec] gyp ERR! System Linux 6.3.6-arch1-1
[exec] gyp ERR! command \"/home/myusername/.nvm/versions/node/v8.17.0/bin/node\" \"/home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release/nodejieba.node\" \"--module_name=nodejieba\" \"--module_path=/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release\" \"--napi_version=4\" \"--node_abi_napi=napi\" \"--napi_build_version=0\" \"--node_napi_label=node-v57\"
[exec] gyp ERR! cwd /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba
[exec] gyp ERR! node -v v8.17.0
[exec] gyp ERR! node-gyp -v v5.0.5
[exec] gyp ERR! not ok
[exec] node-pre-gyp ERR! build error
[exec] node-pre-gyp ERR! stack Error: Failed to execute '/home/myusername/.nvm/versions/node/v8.17.0/bin/node /home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release/nodejieba.node --module_name=nodejieba --module_path=/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)
[exec] node-pre-gyp ERR! stack at ChildProcess.cmd.on (/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
[exec] node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
[exec] node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
[exec] node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
[exec] node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
[exec] node-pre-gyp ERR! System Linux 6.3.6-arch1-1
[exec] node-pre-gyp ERR! command \"/home/myusername/.nvm/versions/node/v8.17.0/bin/node\" \"/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
[exec] node-pre-gyp ERR! cwd /var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba
[exec] node-pre-gyp ERR! node -v v8.17.0
[exec] node-pre-gyp ERR! node-pre-gyp -v v1.0.10
[exec] node-pre-gyp ERR! not ok
[exec] Failed to execute '/home/myusername/.nvm/versions/node/v8.17.0/bin/node /home/myusername/.nvm/versions/node/v8.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release/nodejieba.node --module_name=nodejieba --module_path=/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/lib/quarto/node_modules/nodejieba/build/Release --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)"
BUILD FAILED
/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/build.xml:173: The following error occurred while executing this line:
/var/tmp/pamac-build-myusername/rstudio-desktop/src/rstudio-2023.03.2-454/src/gwt/build.xml:132: exec returned: 1
Total time: 31 seconds
make: *** [src/gwt/CMakeFiles/gwt_build.dir/build.make:2672: src/gwt/timestamp] Error 1
make: *** [CMakeFiles/Makefile2:412: src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/var/tmp/pamac-build-myusername/rstudio-desktop/src/build'
==> ERROR: A failure occurred in package().
Aborting...
Generic_User_ID
(63 rep)
Jun 9, 2023, 12:44 AM
• Last activity: Jul 1, 2023, 01:30 PM
0
votes
1
answers
356
views
How can I set a font in a bash --x11 script?
#!/bin/bash module load rstudio srun -p interactive -N 1 --cpus-per-task=8 --time=4:00:00 --mem=80gb --job-name="RS_job" --x11 rstudio A simple bash to bring up an interactive node but the default x11 font has these fi/fl ligatures that offset the cursor. Can I override the x11 font?
#!/bin/bash
module load rstudio
srun -p interactive -N 1 --cpus-per-task=8 --time=4:00:00 --mem=80gb --job-name="RS_job" --x11 rstudio
A simple bash to bring up an interactive node but the default x11 font has these fi/fl ligatures that offset the cursor. Can I override the x11 font?
SCDCE
(101 rep)
Feb 5, 2023, 05:31 PM
• Last activity: Feb 5, 2023, 07:48 PM
0
votes
1
answers
1227
views
Package 'libclang-dev' has no installation candidate
Trying to install libclang-dev using these [instructions](https://installati.one/install-libclang-dev-ubuntu-22-04/). But, I run into this error. sudo apt-get update sudo apt-get -y install libclang-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done...
Trying to install libclang-dev using these [instructions](https://installati.one/install-libclang-dev-ubuntu-22-04/) . But, I run into this error.
sudo apt-get update
sudo apt-get -y install libclang-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libclang-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libclang-dev' has no installation candidate
The original issue is actually trying to install RStudio:
gdebi rstudio-2022.07.2-576-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libclang-dev
Some useful info:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
sudo cat /etc/apt/sources.list
deb http://se.archive.ubuntu.com/ubuntu/ jammy main restricted
deb http://se.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb http://se.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://se.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
deb http://se.archive.ubuntu.com/ubuntu/ jammy-backports main restricted multiverse
mindlessgreen
(1349 rep)
Nov 21, 2022, 01:25 PM
• Last activity: Nov 21, 2022, 01:46 PM
1
votes
1
answers
92
views
Rstudio running very slow on PopOS Surface Go 2
I've recently got into Linux (and really like it!) but my RStudio runs extremely slow even when no packages are loaded (just basic interactions). I've done the usual trouble shooting techniques of turning off saving .RData and ensuring the graphics using Software as Rendering Engine. Any other advic...
I've recently got into Linux (and really like it!) but my RStudio runs extremely slow even when no packages are loaded (just basic interactions).
I've done the usual trouble shooting techniques of turning off saving .RData and ensuring the graphics using Software as Rendering Engine.
Any other advice?
My RStudio version is
R version 4.1.2 (2021-11-01) -- "Bird Hippie"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
and my linux version is (uname -a)
Linux linux 5.19.0-76051900-generic #202207312230~1660780566~22.04~9d60db1 SMP PREEMPT_DYNAMIC Thu A x86_64 x86_64 x86_64 GNU/Linux
alejandro_hagan
(111 rep)
Sep 10, 2022, 03:08 PM
• Last activity: Sep 12, 2022, 09:33 PM
6
votes
3
answers
4524
views
Debian 9 and RStudio
I just switched to Debian following the recent release of version 9. I do a lot of work with RStudio and thus tried to install the stable and testing versions which both failed due to the missing library "libgstreamer0.10-0". It appears that a more recent version of that package is installed but 0.1...
I just switched to Debian following the recent release of version 9. I do a lot of work with RStudio and thus tried to install the stable and testing versions which both failed due to the missing library "libgstreamer0.10-0". It appears that a more recent version of that package is installed but 0.10-0 is not available in stretch. Is there a way to install RStudio despite the missing package?
Help is much appreciated. Apologies if this is not the right place to ask this question.
OS: Debian 9
RStudio: 1.0.143-amd64
Edit:
Installation was performed using gdebi.
Edit 2:
After installing
.10
and -base-0.10
as described in the linked question I now get .0.0
as a not satisfiable dependency in gdebi.
Edit 3:
Get lissl1.0.0 from here and install. After that Rstudio installs and runs fine (I'll report back if I encounter problems).
Daniel Winkler
(165 rep)
Jun 18, 2017, 10:12 PM
• Last activity: Apr 20, 2022, 12:25 PM
2
votes
0
answers
750
views
Error RcppTOML when installing keras on Rstudio linux centos 7
I am trying to install keras on rstudio on my Linux Centos 7 but when it is compliling, I have this error: ERROR: compilation failed for package ‘RcppTOML’ * removing ‘/home/rico/R/x86_64-redhat-linux-gnu-library/3.6/RcppTOML’ I tried to install from tar.gz but I still have the error. Do you have an...
I am trying to install keras on rstudio on my Linux Centos 7 but when it is compliling, I have this error:
ERROR: compilation failed for package ‘RcppTOML’
* removing ‘/home/rico/R/x86_64-redhat-linux-gnu-library/3.6/RcppTOML’
I tried to install from tar.gz but I still have the error.
Do you have any idea how to resolve it?
Thanks.
user979974
(185 rep)
Feb 8, 2022, 10:59 AM
0
votes
4
answers
932
views
Restrict users from storing in home directory in Linux
We have a RHEL server where multiple users have access to it through application. Application RStudio running on these servers default the workspace to the users /home folder. Though there is separate space provided for individual users, users tend to store the files onto /home filling up the /home....
We have a RHEL server where multiple users have access to it through application. Application RStudio running on these servers default the workspace to the users /home folder. Though there is separate space provided for individual users, users tend to store the files onto /home filling up the /home.
Is there any possibility to restrict users from storing data to their home folders either at server level or R Studio level which would force them to use the provided location?
Though there are options to change the default workspace for all the users, due to the large number of teams each having their sensitive data, it is not possible to have a shared folder as default location.
Note: I have posted it on SO but since it is more into administration, posting it here.
ASD
(101 rep)
Sep 8, 2021, 12:27 AM
• Last activity: Sep 15, 2021, 11:09 PM
0
votes
1
answers
1745
views
R packages won't install on conda R environment
I am trying to install an R package to an R environment created through conda on an HPC Server where I am doing some bioinformatics. I tried to run the usual R command (which works and install the requested package in my local RStudio installation): install.packages("http://hartleys.github.io/QoRTs/...
I am trying to install an R package to an R environment created through conda on an HPC Server where I am doing some bioinformatics. I tried to run the usual R command (which works and install the requested package in my local RStudio installation):
install.packages("http://hartleys.github.io/QoRTs/QoRTs_LATEST.tar.gz ", repos=NULL, type="source");
However, when I try to run this same command in my conda R environment I keep getting the error:
-bash: syntax error near unexpected token `"http://hartleys.github.io/QoRTs/QoRTs_LATEST.tar.gzhttp://hartleys.github.io/QoRTs/QoRTs_LATEST.tar.gz "'
Any ideas as to why the normal syntax isn't being accepted in the conda R installation, what syntax do I use in this instance to overcome this issue and install packages through conda on a unix server?
Yaseen Ahammed
(1 rep)
Dec 10, 2019, 01:39 PM
• Last activity: Jul 5, 2021, 12:36 PM
0
votes
0
answers
352
views
Rstudio fails to be displayed on my laptop (client) when trying to X11 forwarding from my Imac (server) at home
I am trying to display Rstudio on my laptop (where I have Ubuntu 18.04.5 LTS) using X11 forwarding with ssh to connect to my Imac at home. I set up all the files (ssh_config and sshd_config) on my Imac (which I am using as a server) to allow the forwarding. I also install xauth on my Imac. However,...
I am trying to display Rstudio on my laptop (where I have Ubuntu 18.04.5 LTS) using X11 forwarding with ssh to connect to my Imac at home.
I set up all the files (ssh_config and sshd_config) on my Imac (which I am using as a server) to allow the forwarding. I also install xauth on my Imac. However, when I connect to my Imac using
ssh -X username@IPAddress
and launch Rstudio with open -a Rstudio
, Rstudio opens on my Imac but its not displayed on my laptop.
However, if I launch xterm
, a window opens up on my laptop, making me think that the connection I set up is correct. I also tried to reverse the process, which means I tried to ssh into my laptop (in this case used as server) using my Imac and launch firefox
, in this case the firefox window is displayed correctly on my Imac.
What am I missing when I try to display Rstudio on my laptop?
Thank you for your help.
Riccardo
Riccardo Delli
(1 rep)
Mar 14, 2021, 03:01 PM
1
votes
0
answers
553
views
Unable to install deb package - Operation Not Permitted
I'm running Ubuntu 18.04. After installing the requirements and downloading the package, I cannot install rstudio. Downloads $ sudo gdebi -n rstudio-xenial-1.1.419-amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Reading state information... Done (Re...
I'm running Ubuntu 18.04. After installing the requirements and downloading the package, I cannot install rstudio.
Downloads $ sudo gdebi -n rstudio-xenial-1.1.419-amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
(Reading database ... 222796 files and directories currently installed.)
Preparing to unpack rstudio-xenial-1.1.419-amd64.deb ...
Unpacking rstudio (1.1.419) ...
dpkg: error processing archive rstudio-xenial-1.1.419-amd64.deb (--install):
unable to open '/usr/lib/rstudio/www/WEB-INF/deploy/rstudio/symbolMaps/69BA4CE9DFC8B8BCF24207EDB155946C.symbolMap.dpkg-new': Operation not permitted
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
rstudio-xenial-1.1.419-amd64.deb
If this is a permissions issue, I'm not sure how to address it because
/usr/lib/rstudio
does not exist. How can I get past this error?
steel
(375 rep)
Jan 18, 2019, 08:07 PM
• Last activity: Dec 9, 2019, 02:25 PM
1
votes
1
answers
1990
views
Copy & Paste unusable in KVM virtual machine (Ubuntu) when RStudio is running
**Setup:** Fedora 30 with a KVM/qemu virtual machine running Ubuntu 18.04.1. (This setup because I want to run RStudio and on my Fedora 30, and it just barfs & dies immediately somewhere in the nouveau graphics subsystem -- but runs well in an Ubuntu VM). **Problem:** Copy & Paste in the VM is a rig...
**Setup:**
Fedora 30 with a KVM/qemu virtual machine running Ubuntu 18.04.1.
(This setup because I want to run RStudio and on my Fedora 30, and it just barfs & dies immediately somewhere in the nouveau graphics subsystem -- but runs well in an Ubuntu VM).
**Problem:**
Copy & Paste in the VM is a right PITA when RStudio is running.
After the VM has been started, copy-paste between host and VM works well, and copy&paste inside the VM also works well (for example KWrite to KWrite)
Once RStudio has been started in the VM, copy & paste initially continues to work (a few times) but soon starts to "lock up". This applies to both RStudio and KWrite and happens both for in-VM and host-to-VM copy&paste. The receiving process in the VM freezes and apparently waits for something. However, the virtual machine continues to otherwise perform normally (e.g. you can exercise the shell, run
top
, iotop
etc.)
The receiving process wakes up again after 10-30 seconds, at which point the pasted text may have been received ... or not. After a first hiccup, pasting generally fails, and this includes copy-pasting from VM to host. Pasting in KWrite consistently takes 10s until the cursor returns without the clipboard content. RStudio behaves more catastrophically, sometimes killing the process is the only solution.
If one leaves the VM alone for some time, one again has the chance at a few successful copy-paste actions, then lockups occur again.
Restarting spice-vdagent
(systemctl start spice-vdagentd
) on the guest machine (not on the host where it does nothing apparently) interrupts a lockup and may give the occasion to perform a few copy-paste again. But that action is fraught with some risk as I had the whole GUI freeze at some point.
**How to solve?**
What should I be looking for?
I have used xclipboard
on the host to see what goes through the clipboard. Nothing unexpected seen.
**P.S.**
The VM has been given a lot of RAM (10GiB), which seems necessary as knitting even not-too-large knit files involving intensity maps will cause pandoc
to run out of memory.
RStudio sometimes freezes for itself for a couple of seconds when I'm working in it, again without locking up the whole system. Feels as if swapping or garbage collection was kicking in but nothing is going on I/O or CPU wise. Annoying but survivable.
David Tonhofer
(1517 rep)
Oct 16, 2019, 09:24 AM
• Last activity: Oct 23, 2019, 07:50 AM
-1
votes
1
answers
52
views
What is the best way to get the latest version of R?
A lot of instructions that I find on here give instructions about how to install the latest version of R that either deliver an out of date version, or are very OS-dependent. I just bought a System76 computer using Pop_OS so I'm not sure which OS-contingent installation instructions I could adapt to...
A lot of instructions that I find on here give instructions about how to install the latest version of R that either deliver an out of date version, or are very OS-dependent. I just bought a System76 computer using Pop_OS so I'm not sure which OS-contingent installation instructions I could adapt to my situation.
As I understanding just using the package manager,
sudo apt-get install r-base
delivers an out of date version that cannot install the ggplot2
package, so I can't solve my problem that way.
If I try to download from the main R site here , it has a configure and make file, but it requires a ton of dependencies and I struggle to know how to get them all. I've already chased down three dependencies but now on X11 I don't know how to get it. I'll start chasing that down in a minute, but with all of this "extracurricular" work, I'm wondering if maybe there is a better way to install this software. Is there something I can do to just ... install all relevant packages? Or is there something else I can download to try to install R in some other way, and yet still get the latest version?
Addem
(235 rep)
Oct 11, 2019, 11:33 PM
• Last activity: Oct 11, 2019, 11:56 PM
2
votes
3
answers
575
views
PAM Kerberos and RStudio
I am trying to get Kerberos PAM to pull a ticket and not destroy it after an RStudio login on CentOS 7. My `rstudio` file in `/etc/pam.d/` looks like: #%PAM-1.0 auth required pam_krb5.so retain_after_close debug session requisite pam_krb5.so retain_after_close debug account required pam_krb5.so debu...
I am trying to get Kerberos PAM to pull a ticket and not destroy it after an RStudio login on CentOS 7.
My
rstudio
file in /etc/pam.d/
looks like:
#%PAM-1.0
auth required pam_krb5.so retain_after_close debug
session requisite pam_krb5.so retain_after_close debug
account required pam_krb5.so debug
I know that RStudio is communicating fine with the PAM Stack because if I delete the first line, RStudio will not login. I an also do other manipulations that let me know the two are in sync.
Per the RStudio documentation, if I run the command: pamtester --verbose rstudio authenticate setcred open_session
After entering my password, a ticket is created in /tmp
called krb5cc_(uid)
which is what I would expect. I can make the above pamtester line fail to pull a ticket by removing the setcred
flag which tells me that this the key component.
A look in the Keberos PAM documentation says that session
performs the same as auth
but it runs with the command pam_setcred(PAM_ESTABLISH_CRED)
flag, which is what I want. The same documentation says that if I add retain_after_close
then the ticket should be retained. However, this is not happening and I'm not even sure it's actually pulling the ticket.
Any help is appreciated, I have tried nearly every combination of flags and parameters in the PAM file as possible but to no avail. Kerberos is a nightmare. LMK what else I can add to help. The log files are not useful unfortunately as they do not log an error due to the fact that PAM "silently fails" if a line is not understood.
Chris C
(145 rep)
Dec 13, 2017, 11:34 PM
• Last activity: Aug 14, 2019, 10:12 PM
0
votes
1
answers
300
views
ulimit - one service affects another
We are hosting 2 services on our RHEL 7.4 server: Jupyterlab and RStudio. Jupyterlab sessions of individual users tend to open a lot of files: # lsof|grep e613664|wc -l 31581 Our problem is that the users who have an active Jupyterlab session (and therefore many open files) can't use RStudio. they'r...
We are hosting 2 services on our RHEL 7.4 server: Jupyterlab and RStudio. Jupyterlab sessions of individual users tend to open a lot of files:
# lsof|grep e613664|wc -l
31581
Our problem is that the users who have an active Jupyterlab session (and therefore many open files) can't use RStudio. they're getting various 'cannot fork', 'resource unavailable' errors, or can't even use RStudio. As soon as we kill their Jupyterlab session, RStudio starts working fine for them.
Initially, I thought that the problem is caused by the large number of open files. The number of processes for each user is low, couple of dozens at most. Therefore, I've changed the ulimit -n value globally to 65k.
our current ulimit settings:
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 31136
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 16384
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
But the problems didn't go away. Are there any other per-user limits that I should be looking at?
Tomas Hrubovcak
(101 rep)
Aug 9, 2019, 11:29 AM
• Last activity: Aug 14, 2019, 10:02 AM
-1
votes
2
answers
12338
views
Install R on Linux Mint 18.2 Sonya Mate
I tried to install R on Mint without success. [Here are instructions, that I already tried to follow on YouTube][1]: sudo apt-get install r-base [sudo] password for xwing: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package r-base Digg...
I tried to install R on Mint without success. Here are instructions, that I already tried to follow on YouTube :
sudo apt-get install r-base
[sudo] password for xwing:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package r-base
Digging more, I found something [here](http://emilkirkegaard.dk/en/?p=6320) about PPA and repository that have to be manually included, but I don't know how to exactly apply this on Mint.
**Note:** I was an Ubuntu user that recently migrated to Linux Mint. Someone told me that Mint is very similar to Ubuntu. In fact, some commands for Ubuntu works fine on Mint, but in this case, I'm asking myself if any minor changes should be made to Ubuntu lines to aid proper execution on Mint.
Emanuel
(11 rep)
Sep 27, 2017, 01:47 PM
• Last activity: Aug 13, 2019, 09:07 AM
0
votes
1
answers
368
views
Can't open RStudio thru x2go
I have two computers on two different networks, which I will call Server and Client. Server and Client both run Debian 9.5 and have x2go installed. When I'm on Client machine, I use x2go to connect to Server machine. On Server, when I try to run `rstudio`. The X11 connection broke: Maximum allowed r...
I have two computers on two different networks, which I will call Server and Client. Server and Client both run Debian 9.5 and have x2go installed.
When I'm on Client machine, I use x2go to connect to Server machine. On Server, when I try to run
rstudio
.
The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":50.0"
after 421 requests (421 known processed) with 0 events remaining.
Can I bypass this error to run RStudio from Client via x2go?
Username
(899 rep)
Oct 26, 2018, 09:26 PM
• Last activity: Jun 28, 2019, 07:42 PM
1
votes
1
answers
357
views
Error when editing sources.list while installing RStudio on Chromebook Linux (beta)
I am following [this][1] great guide for installing RStudio on a Chromebook using Linux (beta). I am using a 2017 Samsung Chromebook 3 (XE500C13K). After appending the `/etc/apt/sources.list` file with `deb https://cran.rstudio.com/bin/linux/debian stretch-cran35` I receive the following error when...
I am following this great guide for installing RStudio on a Chromebook using Linux (beta). I am using a 2017 Samsung Chromebook 3 (XE500C13K). After appending the
/etc/apt/sources.list
file with deb https://cran.rstudio.com/bin/linux/debian stretch-cran35
I receive the following error when running sudo apt update
:
E: Malformed entry 3 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
What can I do to trouble shoot this?
Charles Lehnen
(35 rep)
Mar 20, 2019, 09:26 PM
• Last activity: Mar 21, 2019, 02:58 PM
2
votes
1
answers
1533
views
Give a user permissions to start, stop or restart shiny-server
I need to give permission to a user to start, stop and restart Rstudio's shiny-server. Right now, I have been managing the service upon this user's request with `sudo service restart shiny-server`, but now I want the user to manage this. My first approach to this problem is to edit the `/etc/sudoers...
I need to give permission to a user to start, stop and restart Rstudio's shiny-server.
Right now, I have been managing the service upon this user's request with
sudo service restart shiny-server
, but now I want the user to manage this.
My first approach to this problem is to edit the /etc/sudoers
. But I realized I have no idea what the full path of shiny-server
is, so I have no idea what to put in the /etc/sudoers
file. I would have hoped to find it in /etc/init.d/
, but that isn't the case.
Does anyone have experience with this or a work-around?
I'm currently running Ubuntu 16.04.5 LTS (Xenial Xerus) on this server.
The version of R is 3.4.1 and it was compiled from source.
Kral
(185 rep)
Jan 24, 2019, 11:32 PM
• Last activity: Jan 25, 2019, 12:31 AM
Showing page 1 of 20 total questions