Mao Jianfeng
2013-Nov-05 10:38 UTC
[R] fail to install packages in R3.0.2 running in Redhat linux
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! [[alternative HTML version deleted]]
Marc Schwartz
2013-Nov-05 12:46 UTC
[R] fail to install packages in R3.0.2 running in Redhat linux
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