Skip to content
Back to formatted view

Raw Message

Message-ID: <1D49A4C1-23AD-45A0-B8C5-0AEBEF6CA0E5@me.com>
Date: 2013-11-05T12:46:12Z
From: Marc Schwartz
Subject: fail to install packages in R3.0.2 running in Redhat linux
In-Reply-To: <CAAU6gard5uGbNXv85meDAjuMoHSYdN_2qBBDQh6jX5uC5Kb1cA@mail.gmail.com>

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