It is working now. I don't know where's the problem. thanks for your help. On Sun, Jul 23, 2017 at 12:33 PM, peter dalgaard <pda...@gmail.com> wrote:
> > > On 23 Jul 2017, at 18:31 , Uwe Ligges <lig...@statistik.tu-dortmund.de> > wrote: > > > > > > > > On 23.07.2017 05:28, lily li wrote: > >> Hi R users, > >> I'm trying to install the package, but got the error and don't know how > to > >> fix it. Can anyone help me? Thanks very much. > >> install.packages("smwrGraphs", repos=c("http://owi.usgs.gov/R"," > > > > I guess "http://owi.usgs.gov/R" does not provide standard repositories > for R? > > Possibly, but this seems to work for me (on a Mac): > > install.packages("smwrGraphs", repos=c("https://owi.usgs.gov/R", > CRAN="https://cloud.r-project.org"), dependencies = TRUE) > > Note: (a) HTTPS: (b) standard CRAN repo (cran.us does not do HTTPS??) (c) > no newline in URL. Not sure that the named form is necessary, and things > seem to work with plain HTTP too, but that is bad form. > > -pd > > > > > > Best, > > Uwe Ligges > > > > > > > > > >> http://cran.us.r-project.org"), dependencies = TRUE) > >> Error in install.packages : Line starting '<html> ...' is malformed! > >> [[alternative HTML version deleted]] > >> ______________________________________________ > >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > >> 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. > >> > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > 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. > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd....@cbs.dk Priv: pda...@gmail.com > > > > > > > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.