install.packages("simpleaffy") 报错package ‘simpleaffy’ is not available (for R version 3.3.1)

本文介绍了解决在R中安装特定版本的BioConductor包时遇到的问题。通过使用正确的安装命令,可以避免版本不匹配的错误,并成功安装所需的包。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题描述:
          使用BioConductor中的包时,使用install.packages("包名")报错如下,
          package ‘simpleaffy’ is not available (for R version 3.3.1),意思大致
          是说,当前R版本无法获得该包 。
解决方法:
          将 install.packages("simpleaffy") 改为如下代码,
          > source("http://bioconductor.org/biocLite.R")
          Bioconductor version 3.3 (BiocInstaller 1.22.3), ?biocLite for help
          > biocLite("simpleaffy")
          然后出来很多提示信息:
          The downloaded binary packages are in
          C:\Users\李飞\AppData\Local\Temp\RtmpCM8cjV\downloaded_packages
          到此安装成功!
最后,别忘了 library("包名“)哦!
        
(SGSlam) huoduo@huoduo:~/SG-SLAM$ catkin_make --pkg cv_bridge Base path: /home/huoduo/SG-SLAM Source space: /home/huoduo/SG-SLAM/src Build space: /home/huoduo/SG-SLAM/build Devel space: /home/huoduo/SG-SLAM/devel Install space: /home/huoduo/SG-SLAM/install #### #### Running command: "make cmake_check_build_system" in "/home/huoduo/SG-SLAM/build" #### -- Using CATKIN_DEVEL_PREFIX: /home/huoduo/SG-SLAM/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/noetic -- This workspace overlays: /opt/ros/noetic -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using Debian Python package layout -- Using empy: /usr/lib/python3/dist-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/huoduo/SG-SLAM/build/test_results -- Forcing gtest/gmock from source, though one was otherwise available. -- Found gtest sources under '/usr/src/googletest': gtests will be built -- Found gmock sources under '/usr/src/googletest': gmock will be built -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") -- Using Python nosetests: /usr/bin/nosetests3 -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 4 packages in topological order: -- ~~ - cv_bridge -- ~~ - image_geometry -- ~~ - octomap_server -- ~~ - sg-slam -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'cv_bridge' -- ==> add_subdirectory(cv_bridge) -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.10") -- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: python -- Found OpenCV: /usr/local (found suitable version "4.2.0", minimum required is "4") found components: opencv_core opencv_imgproc opencv_imgcodecs -- Found PythonLibs: /usr/lib/x86_64-linux
最新发布
03-25
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值