Hi Marc,

Thanks a lot for your reply.

In fact, I am running R in a remote linux server. I am wondering there are
some special settings for Internet access in this server. I have ever tried
to use different CRAN mirrors, and failed. I can use "lftp", "wget", "curl"
to link to internet, in this server.

So, do you have any ideas/tools/scripts on how to track the real problem,
in my case?

Best
Jian-Feng,


2013/11/5 Marc Schwartz <marc_schwa...@me.com>

>
> On Nov 5, 2013, at 4:38 AM, Mao Jianfeng <jianfeng....@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
>
>
>


-- 
Jian-Feng, Mao

Post doc
Forest Sciences Center
University of British Columbia
Vancouver, Canada

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to