CRAN/Bioconductor软件包安装失败:错误:行开头'<!DOCTYPE HTML PUBLI ...'格式错误 [英] CRAN/ Bioconductor package installs fail: Error: Line starting '<!DOCTYPE HTML PUBLI ...' is malformed
问题描述
我刚刚按照 和这另一个,并选择伯克利镜像作为我总是这样做.
I have just made a fresh Ubuntu 14.04 installation and installed R following the instructions at this link and this other one, selecting the Berkeley mirror as I always do.
在emacs(+ ess)上,我根本无法安装任何CRAN或Bioconductor软件包,例如:
On emacs (+ess), I am unable to install any CRAN or Bioconductor package at all, for example:
install.packages("ggplot2")
或者:
source("http://bioconductor.org/biocLite.R")
biocLite("biomaRt")
我不断出现以下错误:
Error: Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!
接着其他线程 ,我只是等着看问题是否自行解决,但是两天后,我仍然遇到相同的错误.有什么建议吗?
Following on this other thread, I have just waited to see if the problem solved by itself, but after 2 days I keep getting the same error. Any suggestion??
推荐答案
好的,我已经解决了这个问题,当提示选择一个CRAN镜像时,我正在选择
Alright I already solved the problem, turns out when prompting to select a CRAN mirror, I was selecting
USA (CA1) [https]
代替
(HTTP mirrors)
这是我从未见过的功能...
This is a feature I had never seen...
选择HTTP镜像会将我带到我期望的镜像列表中,然后立即选择
Selecting HTTP mirrors brings me to the list of mirrors I was expecting, and selecting now
USA (CA1)
使安装过程完美运行.谢谢!
Makes the installation process work perfectly. Thanks!
这篇关于CRAN/Bioconductor软件包安装失败:错误:行开头'<!DOCTYPE HTML PUBLI ...'格式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!