即使具有PC管理员权限,也无法安装R软件包

即使具有PC管理员权限,也无法安装R软件包,r,ggplot2,installation,packages,R,Ggplot2,Installation,Packages,很久以来,我一直试图在我的系统上安装ggplot2软件包。我在一个安全的办公环境中工作,因此存在需要清除的防火墙问题/管理权限问题。我部分意识到这一点,并已获得我的机器的管理员权限。我读过,但仍然没有成功。 我以前没有在此系统上安装过R软件包。 在我的个人电脑上安装了R软件包,它们工作正常 代码和注释如下: > install.packages("ggplot2") Installing package into ‘D:/Rlib’ (as ‘lib’ is unspecified) al

很久以来,我一直试图在我的系统上安装
ggplot2
软件包。我在一个安全的办公环境中工作,因此存在需要清除的防火墙问题/管理权限问题。我部分意识到这一点,并已获得我的机器的管理员权限。我读过,但仍然没有成功。 我以前没有在此系统上安装过R软件包。 在我的个人电脑上安装了R软件包,它们工作正常

代码和注释如下:

> install.packages("ggplot2")
Installing package into ‘D:/Rlib’
(as ‘lib’ is unspecified)
also installing the dependencies ‘colorspace’, ‘Rcpp’, ‘stringr’, ‘RColorBrewer’, ‘dichromat’, ‘munsell’, ‘labeling’, ‘plyr’, ‘digest’, ‘gtable’, ‘reshape2’, ‘scales’, ‘proto’

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/colorspace_1.2-4.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/Rcpp_0.11.3.zip'
Content type 'text/html; charset=UTF-8' length 1625 bytes
opened URL
downloaded 1625 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/stringr_0.6.2.zip'
Content type 'text/html; charset=UTF-8' length 1625 bytes
opened URL
downloaded 1625 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/RColorBrewer_1.1-2.zip'
Content type 'text/html; charset=UTF-8' length 1629 bytes
opened URL
downloaded 1629 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/dichromat_2.0-0.zip'
Content type 'text/html; charset=UTF-8' length 1629 bytes
opened URL
downloaded 1629 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/munsell_0.4.2.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/labeling_0.3.zip'
Content type 'text/html; charset=UTF-8' length 1625 bytes
opened URL
downloaded 1625 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/plyr_1.8.1.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/digest_0.6.8.zip'
Content type 'text/html; charset=UTF-8' length 1629 bytes
opened URL
downloaded 1629 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/gtable_0.1.2.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/reshape2_1.4.1.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/scales_0.2.4.zip'
Content type 'text/html; charset=UTF-8' length 1629 bytes
opened URL
downloaded 1629 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/proto_0.3-10.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/ggplot2_1.0.0.zip'
Content type 'text/html; charset=UTF-8' length 1627 bytes
opened URL
downloaded 1627 bytes

Warning in install.packages :
  error 1 in extracting from zip file
Warning in install.packages :
  cannot open compressed file 'colorspace/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

注意:我添加了一个.libPaths()文件夹,在那里我有完全的权限。这应该否定权限问题,对吗?

@CMichael可能是正确的。我不知道下载了什么,但快速检查一下您列表中的任何CRAN包都会发现它们的大小远远大于1625字节。几乎可以肯定的是,在每种情况下,您都会收到一条由于防火墙阻塞而导致的错误消息


下载或浏览zip文件并在本地安装。

@CMichael可能是正确的。我不知道下载了什么,但快速检查一下您列表中的任何CRAN包都会发现它们的大小远远大于1625字节。几乎可以肯定的是,在每种情况下,您都会收到一条由于防火墙阻塞而导致的错误消息


下载或浏览zip文件并在本地安装。

@CMichael可能是正确的。我不知道下载了什么,但快速检查一下您列表中的任何CRAN包都会发现它们的大小远远大于1625字节。几乎可以肯定的是,在每种情况下,您都会收到一条由于防火墙阻塞而导致的错误消息


下载或浏览zip文件并在本地安装。

@CMichael可能是正确的。我不知道下载了什么,但快速检查一下您列表中的任何CRAN包都会发现它们的大小远远大于1625字节。几乎可以肯定的是,在每种情况下,您都会收到一条由于防火墙阻塞而导致的错误消息


下载或浏览zip文件并在本地安装。

您可以下载zip文件并在本地安装吗?请尝试设置
选项(internet.info=0)
并再次进行安装,以查看返回的消息(您可能可以看到阻止的消息)@CMichael:无法下载zip文件。。权限问题@hrbrmstr:尽早获得准确的错误消息您可以下载zip文件并在本地安装吗?请尝试设置
选项(internet.info=0)
并再次进行安装,以查看返回的消息(您可能可以看到阻止的消息)@CMichael:无法下载zip文件。。权限问题@hrbrmstr:尽早获得准确的错误消息您可以下载zip文件并在本地安装吗?请尝试设置
选项(internet.info=0)
并再次进行安装,以查看返回的消息(您可能可以看到阻止的消息)@CMichael:无法下载zip文件。。权限问题@hrbrmstr:尽早获得准确的错误消息您可以下载zip文件并在本地安装吗?请尝试设置
选项(internet.info=0)
并再次进行安装,以查看返回的消息(您可能可以看到阻止的消息)@CMichael:无法下载zip文件。。权限问题@hrbrmstr:获取准确的错误消息为earlierDone:)下载了zip文件并让管理团队为我安装:PDone:)下载了zip文件并让管理团队为我安装:PDone:)下载了zip文件并让管理团队为我安装:PDone:)下载了zip文件并让管理团队为我安装:P