在R中安装软件包时出现Would you like to use a personal library instead

通过Gui的程序包选择安装包,出现Warning in install.packages(NULL,  .libPaths()[1L], dependencies = NA, type=tyep): ‘lib="C:/Program Files/R/R-3.4.3/library" ‘不可写。弹出消息框,询问Would you like to use a personal library instead? 点击是,之后又弹出消息框,显示would you like to create a  personal library ‘C:\users\neoaj\Documents/R/win-library/3.4‘ to install packages into?

然后会安装。下载的二进制程序包在 C:\Users\neoaj\AppData\Local\Temp\RtmpCWaQE3\downloaded_packages里。

====

关于那个warning,那并不是错误。That means you are running the install from a regular account (i.e. non-root). You can accept the suggestion from the installer and use a personal ($HOME) location.It‘s not an error, it‘s just a question. It‘s one of the things I love about R, how easy it is to install packages as non-root/user. The package (if you accept) will be installed just for you.

时间: 2024-10-03 14:45:09

在R中安装软件包时出现Would you like to use a personal library instead的相关文章

yum安装软件包时出现Transaction Check Error:错误的解决方法

[[email protected] ~]# yum install ipa-server Transaction Check Error:  file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch  file /usr/share/

Redhat下在R中安装RODBC和RMySQL包

R里面连接数据库的包还挺多的,这两个是比较常用的.Redhat系统下,直接在R程序中用install.packages命令安装这两个包会出错,不可预测的错,可能是它需要依赖其它的软件. RODBC需要先安装下面两个: yum install unixODBC yum install unixODBC-devel RMySQL需要先安装Mysql: yum install mysql-devel yum install mysql-server 这是我Redhat的情况,大家的情况可能会有差异,具

R 中安装xlsx包缺少java环境解决方案

1.安装Java程序(官网win7 64位系统的Java安装程序及网址http://www.java.com/zh_CN/download/manual.jsp),选择windows 64位脱机安装到R目录下 2.在R里面输入: install.packages("rJava") install.packages("xlsx") 安装这两个包,会提示你还有一个包, "xlsxjars"这个包一般会在这个过程中自动安装,如果没有安装的话,可以再按照

在R中安装 sqldf包

安装这个包的时候直接 install.packages("sqldf")就可以 不过可能会有点小插曲,就是会有报错: Error : .onLoad failed in loadNamespace() for 'tcltk', details:call: fun(libname, pkgname)error: Tcl/Tk support is not available on this systemError : package 'tcltk' could not be loaded

在centos7中安装python时,输入yum出现 -bash: /usr/bin/yum: No such file or directory

第一次真正认真的玩起linux,装了一个虚拟机,一看python版本是2.7的,想弄个3.7的,于是,百度上找到了这篇文章https://www.cnblogs.com/JahanGu/p/7452527.html . 结果执行到这一步"mv python python.bak"的时候悲剧了,因为我的电脑没有安装wget,这步命令让我的python变成了python.bak,而yum好像是基于python的,所以即便是执行yum -y install wget也没有用了,会出现-bas

rpm | yum 安装软件包时key过期

1.问题: yum -y install docker-io Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile * epel: mirrors.tuna.tsinghua.edu.cn * local: Resolving Dependencies --> Running transact

[Kali_Metasploit] fast-track工具中安装Metasploit时,svn过期,用github安装解决方法

TL;DR: Please stop using SVN with svn co https://www.metasploit.com/svn/framework3/trunk and start using the GitHub repo with git clone git://github.com/rapid7/metasploit-framework As of today, a few of you may notice that an attempt to update Metasp

linux ubuntu R 无法安装rggobi包的原因及解决方案

错误信息 Package'libxml-2.0',requiredby'ggobi',notfound 错误原因 ggobi缺乏libxml依赖 解决方案 sudo apt install libxml2 sudo apt install libxml2-dev (注意,有一个坑是,运行了第一条指令后,仍将缺乏libxml2依赖,因为许多 Linux 发行版会进行拆包,把开发用的部分单独拆出去.在我们实际运行中,会缺乏libxml2 所需要的头文件.静态库和一些相关工具. 应该执行第二条指令,安

linux-ubuntu 下R无法安装HH包的原因及解决方案

错误信息: configure: error: GNU MP not found, or not 4.1.4 or up, see http://gmplib.org ERROR: configuration failed for package 'gmp' * removing '/home/chenyansu/R/x86_64-pc-linux-gnu-library/3.3/gmp' Warning in install.packages : installation of package