pacman-package-manager

Loading multiple R packages with a single command

喜你入骨 提交于 2020-08-08 05:13:42
问题 Multiple R packages may be loaded using the function p_load function from pacman R package with the following command: pacman::p_load("ggplot2", "lme4") However, I want to use the command like this Packages <- c("ggplot2", "lme4") pacman::p_load(Packages) which does not work. Wonder how this can be achieved? 回答1: Set character.only on TRUE Packages <- c("ggplot2", "lme4") Packages %in% loadedNamespaces() # check if the packages are loaded # [1] FALSE FALSE pacman::p_load(Packages, character

Can't install virtualbox in Arch

余生长醉 提交于 2020-01-26 17:41:59
问题 I have tried to install Virtualbox on Arch(4.7.0-1) using pacman and everything seems to go fine until I try to run it. I get the following message WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.7.0-1-ARCH) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib

Arch Linux - apt-get update equivalent command?

最后都变了- 提交于 2019-12-20 20:14:07
问题 What is the command for Arch Linux to update the packages before installing a new package? For instance, I know that in Ubuntu, I do: $ sudo apt-get update $ sudo apt-get <pkg-name> What about in Arch? I came across a couple of version, but they don't seem agree with each others. I can't see the consistency there. eg 1. (it looks tedious to me): $ sudo pacman -Syy $ sudo pacman -Su eg. 2: $ sudo pacman -Sy eg. 3: always use "-Sy" with a "u" i.e. "pacman -Syu" then "pacman -S ", and never

R v3.4.0-2 unable to find libgfortran.so.3 on Arch

你说的曾经没有我的故事 提交于 2019-12-17 12:47:41
问题 I was just on vacation for a month so am unable to say the exact point at which this happened, but R from the official Arch repos is now unable to start, citing /usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory I thought that perhaps a symlink was improperly placed or destroyed, so I looked in /usr/lib to try to find it: ls -halt /usr/lib/libgfortran.so.* lrwxrwxrwx 1 root root 20 May 16 03:01 /usr/lib

Arch Linux - apt-get update equivalent command?

…衆ロ難τιáo~ 提交于 2019-12-03 06:37:11
What is the command for Arch Linux to update the packages before installing a new package? For instance, I know that in Ubuntu, I do: $ sudo apt-get update $ sudo apt-get <pkg-name> What about in Arch? I came across a couple of version, but they don't seem agree with each others. I can't see the consistency there. eg 1. (it looks tedious to me): $ sudo pacman -Syy $ sudo pacman -Su eg. 2 : $ sudo pacman -Sy eg. 3 : always use "-Sy" with a "u" i.e. "pacman -Syu" then "pacman -S ", and never "pacman -Sy ". I am just confused! Any ideas? The equivalent of apt-get update in Arch Linux is pacman

R v3.4.0-2 unable to find libgfortran.so.3 on Arch

て烟熏妆下的殇ゞ 提交于 2019-11-27 15:05:33
I was just on vacation for a month so am unable to say the exact point at which this happened, but R from the official Arch repos is now unable to start, citing /usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory I thought that perhaps a symlink was improperly placed or destroyed, so I looked in /usr/lib to try to find it: ls -halt /usr/lib/libgfortran.so.* lrwxrwxrwx 1 root root 20 May 16 03:01 /usr/lib/libgfortran.so.4 -> libgfortran.so.4.0.0 -rwxr-xr-x 1 root root 7.1M May 16 03:01 /usr/lib/libgfortran.so