You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 18安装RVAideMemoire报错:mixOmics缺失及R3.4.4兼容问题求助

Fixing RVAideMemoire Installation on Ubuntu 18.04 with R 3.4.4

Got it, let's work through this installation problem step by step. The root issue here is that R 3.4.4 is a pretty old release (it came out back in 2018), and Ubuntu 18.04's default repositories don't have the compatible versions of dependencies like mixOmics that RVAideMemoire needs. Here are a few solid workarounds to get this installed:

1. Install Compatible Dependencies First

Since R 3.4.4 pairs with Bioconductor version 3.6, we need to install the mixOmics build that works with this stack:

  • First, install a legacy BiocManager version that supports R 3.4.4 (newer BiocManager releases drop support for old R versions):
    install.packages("https://cran.r-project.org/src/contrib/Archive/BiocManager/BiocManager_1.30.19.tar.gz", repos = NULL, type="source")
    
  • Set Bioconductor to the 3.6 release (matching your R version):
    BiocManager::install(version = "3.6")
    
  • Install the compatible mixOmics package:
    BiocManager::install("mixOmics", version = "3.6")
    

2. Install a Legacy Version of RVAideMemoire

Newer RVAideMemoire releases require newer R versions, so you'll need an older build that's compatible with R 3.4.4. Use this command to install the archived version:

install.packages("https://cran.r-project.org/src/contrib/Archive/RVAideMemoire/RVAideMemoire_0.9-77.tar.gz", repos = NULL, type="source")

Note: Version 0.9-77 is confirmed to work with R 3.4.x—avoid newer releases as they'll throw dependency mismatch errors.

3. Fix Source Compilation Errors

If you hit errors during source installation, make sure you have the required system libraries installed on Ubuntu 18.04. These are needed to compile R packages from source:

sudo apt-get update && sudo apt-get install r-base-dev libcurl4-openssl-dev libssl-dev libxml2-dev

Quick Explanation

R and its package ecosystem move fast—most modern package updates drop support for older R versions like 3.4.4. By targeting archived, compatible versions of both mixOmics and RVAideMemoire, you're aligning the package versions with your specific R and OS setup, which resolves the dependency conflicts.

内容的提问来源于stack exchange,提问作者Juan Acosta

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.12 03:46:34