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

Marc Schwartz
Tue, 05 Nov 2013 12:46:12 -0000

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 ' ...' 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