Re: [R] about installing smwrGraphs package

2017-07-24 Thread lily li
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  wrote:

>
> > On 23 Jul 2017, at 18:31 , Uwe Ligges 
> 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 ' ...' 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.


Re: [R] about installing smwrGraphs package

2017-07-23 Thread peter dalgaard

> On 23 Jul 2017, at 18:31 , Uwe Ligges  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 ' ...' 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

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


Re: [R] about installing smwrGraphs package

2017-07-23 Thread Thomas Adams
Lily,

This:
https://cran.r-project.org/web/packages/githubinstall/vignettes/githubinstall.html
will probably be useful to you.

Best,
Tom

On Sun, Jul 23, 2017 at 12:31 PM, 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?
>
> Best,
> Uwe Ligges
>
>
>
>
> http://cran.us.r-project.org;), dependencies = TRUE)
>>
>> Error in install.packages : Line starting ' ...' 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/posti
>> ng-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/posti
> ng-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

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


Re: [R] about installing smwrGraphs package

2017-07-23 Thread Uwe Ligges



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?


Best,
Uwe Ligges





http://cran.us.r-project.org;), dependencies = TRUE)

Error in install.packages : Line starting ' ...' 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.


[R] about installing smwrGraphs package

2017-07-22 Thread lily li
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",;
http://cran.us.r-project.org;), dependencies = TRUE)

Error in install.packages : Line starting ' ...' 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.