[R] fail to install packages in R3.0.2 running in Redhat linux

Marc Schwartz marc_schwartz at me.com
Tue Nov 5 13:46:12 CET 2013


On Nov 5, 2013, at 4:38 AM, Mao Jianfeng <jianfeng.mao at gmail.com> wrote:

> Dear R-helpers,
> 
> Glad to write to you.
> 
> I would like to have your helps to install packages through internet, in a
> linux computer. Could you please share any of your expertise with me on
> this problem?
> 
> Thanks in advance.
> 
> Best
> Jian-Feng,
> 
> ########################################
> # check the problem here.
>> install.packages(pkgs="ggplot2", repos='http://ftp.ctex.org/mirrors/CRAN/
> ')
> Installing package into ‘/checkpoints/home/jfmao/bin/R_library’
> (as ‘lib’ is unspecified)
> Error: Line starting '<html> ...' is malformed!


The error suggests that there is a problem with the CRAN mirror that you have specified. I would try a different CRAN mirror and see if that resolves the problem.

Regards,

Marc Schwartz



More information about the R-help mailing list