[R] problems with packages installation

PIKAL Petr petr.pikal at precheza.cz
Mon Feb 16 08:49:28 CET 2015


Hi Jeff

> -----Original Message-----
> From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.CA.us]
> Sent: Friday, February 13, 2015 3:56 PM
> To: PIKAL Petr; r-help at r-project.org
> Cc: Richard M. Heiberger
> Subject: RE: [R] problems with packages installation
>
> I agree that the PG muddies the water a bit on this topic. However, the
> web page from which you downloaded the patched version warns:
>
> "This is not an official release of R. Please check bugs in this
> version against the official release before reporting them."
>
> When a new version is under  development, the number of bugs often
> increases temporarily by quite a bit. Any use you make of a patched or
> development version is at your own risk, and should be undertaken for
> two reasons only: to address a  specific problem you are having with
> the released version, or because you want to help test the unreleased
> version out of the goodness of your heart (bless you). In either case,

Yes, that is why I use devel versions but I was not able to find a bug (yet).

> chatter about bugs you encounter that are not in the released version
> belongs on R-devel.

It was hard to tell what is the problem. It could be that our IT people silently changed a firewall or something, which would prevent package installation from menu. Far too often I am not able to open some web pages e.g. (https://stat.ethz.ch/mailman/listinfo/r-devel) and I do not have power to change it.

However it seems to be that this particular problem is in R menu procedure for installation as I wrote in my previous mail.

>
> If you can reproduce the problem in a released version, posting on R-
> help would be more appropriate, but if you are sure it is a bug then
> filling a report is the right thing to do.

It is hard to reproduce and I believe that the problem is probably already known by R core (I thank them for their marvellous work).

For me it is solved by install.packages function.

Thanks

Best regards
Petr

> -----------------------------------------------------------------------
> ----
> Jeff Newmiller                        The     .....       .....  Go
> Live...
> DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
> Go...
>                                       Live:   OO#.. Dead: OO#..
> Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.
> rocks...1k
> -----------------------------------------------------------------------
> ----
> Sent from my phone. Please excuse my brevity.
>
> On February 13, 2015 4:03:46 AM PST, PIKAL Petr
> <petr.pikal at precheza.cz> wrote:
> >Hi Jeff
> >
> >Can you be more specific why question about "using" R-devel shall be
> >directed to R-devel help list?
> >
> >Posting guide tells me:
> >
> >R-help is intended to be comprehensible to people who want to use R to
> >solve problems but who are not necessarily interested in or
> >knowledgeable about programming. R-devel is intended for questions and
> >discussion about code development in R. Questions likely to prompt
> >discussion unintelligible to non-programmers should go to to R-devel.
> >For example, questions involving C, C++, etc. code should go to
> >R-devel. More general questions involving pure R code and questions
> >likely to be of interest to the large and diverse set of subscribers
> to
> >R-help should go to R-help.
> >
> >and
> >
> >If you are using an old version of R and think it does not work
> >properly, upgrade to the latest version and try that, before posting.
> >If possible, try the current R-patched or R-devel version of R (see
> the
> >FAQ for details), to see if the problem has already been addressed.
> >
> >So even Posting guide suggests to poor user not to use obsolete
> version
> >of R and try R-patched or R-devel.
> >
> >To be honest - in R-patched (3.1.2)
> >
> >setInternet2(TRUE)
> >utils:::menuInstallPkgs()
> >
> >works without problems and the same applies to R-devel version from
> >June (3.2.0 - 66175) but it throws error in (3.2.0 - 67792).
> >
> >There is 15814 bug report about Package Installation which is replied
> >by Brian Ripley:
> >
> >The 'package installer' is the program which installs the Apple
> >package.  If you mean the 'Package Installer' menu item in R.app,
> there
> >is a known issue (but that is only known to causes failures, not
> >freezes).
> >
> >I tried Richard's suggestion (thanks Richard) and with small
> >modification (I do not want to install from sources)
> >
> >install.packages("ggplot2", repos="http://cran.at.r-project.org",
> >dependencies=TRUE)
> >
> >works as expected, therefore the problem is in **menu driven
> >installation procedure**. Shall I fill a bug report? Or it is already
> >known to R developers?
> >
> >Best regards
> >Petr
> >
> >
> >> -----Original Message-----
> >> From: Jeff Newmiller [mailto:jdnewmil at dcn.davis.CA.us]
> >> Sent: Thursday, February 12, 2015 6:15 PM
> >> To: PIKAL Petr; r-help at r-project.org
> >> Subject: Re: [R] problems with packages installation
> >>
> >> Time to (re)read the Posting Guide... questions about unreleased
> >> versions of R are off topic here. Go to R-devel.
> >>
> >----------------------------------------------------------------------
> -
> >> ----
> >> Jeff Newmiller                        The     .....       .....  Go
> >> Live...
> >> DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.
> Live
> >> Go...
> >>                                       Live:   OO#.. Dead: OO#..
> >> Playing
> >> Research Engineer (Solar/Batteries            O.O#.       #.O#.
> with
> >> /Software/Embedded Controllers)               .OO#.       .OO#.
> >> rocks...1k
> >>
> >----------------------------------------------------------------------
> -
> >> ----
> >> Sent from my phone. Please excuse my brevity.
> >>
> >> On February 12, 2015 11:40:48 AM EST, PIKAL Petr
> >> <petr.pikal at precheza.cz> wrote:
> >> >Dear all
> >> >
> >> >I just switched to new version
> >> >
> >> >> version
> >> >               _
> >> >platform       i386-w64-mingw32
> >> >arch           i386
> >> >os             mingw32
> >> >system         i386, mingw32
> >> >status         Under development (unstable)
> >> >major          3
> >> >minor          2.0
> >> >year           2015
> >> >month          02
> >> >day            11
> >> >svn rev        67792
> >> >language       R
> >> >version.string R Under development (unstable) (2015-02-11 r67792)
> >> >nickname       Unsuffered Consequences
> >> >
> >> >and started to have problems with installing packages through utils
> >> >
> >> >> setInternet2(TRUE)
> >> >> utils:::menuInstallPkgs()
> >> >--- Please select a CRAN mirror for use in this session --- also
> >> >installing the dependencies ‘colorspace’, ‘Rcpp’, ‘stringr’,
> >> >‘RColorBrewer’, ‘dichromat’, ‘munsell’, ‘labeling’, ‘plyr’,
> >‘digest’,
> >> >‘gtable’, ‘reshape2’, ‘scales’, ‘proto’
> >> >
> >> >trying URL
> >> >'http://cran.at.r-project.org/src/contrib/colorspace_1.2-4.zip'
> >> >Error in download.file(url, destfile, method, mode = "wb", ...) :
> >> >cannot open URL
> >> >'http://cran.at.r-project.org/src/contrib/colorspace_1.2-4.zip'
> >> >In addition: Warning message:
> >> >In download.file(url, destfile, method, mode = "wb", ...) :
> >> >  cannot open: HTTP status was '404 Not Found'
> >> >Warning in download.packages(pkgs, destdir = tmpd, available =
> >> >available,  :
> >> >  download of package ‘colorspace’ failed ....
> >> >
> >> >Before I start to disturb our IT I just want to know what could be
> >the
> >> >issue. AFAIK I did not change anything on my PC. In previous R-
> devel
> >> >version I used this package installation worked (and still works)
> >> >
> >> >> utils:::menuInstallPkgs()
> >> >--- Please select a CRAN mirror for use in this session --- trying
> >URL
> >> >'http://cran.at.r-
> project.org/bin/windows/contrib/3.2/mice_2.22.zip'
> >> >Content type 'application/zip' length 1148843 bytes (1.1 Mb) opened
> >> URL
> >> >downloaded 1.1 Mb
> >> >
> >> >package ‘mice’ successfully unpacked and MD5 sums checked
> >> >
> >> >The downloaded binary packages are in C:\Documents and
> >> >Settings\PikalP\Local Settings\Temp\RtmpgZuQB3\downloaded_packages
> >> >
> >> >> version
> >> >               _
> >> >platform       i386-w64-mingw32
> >> >arch           i386
> >> >os             mingw32
> >> >system         i386, mingw32
> >> >status         Under development (unstable)
> >> >major          3
> >> >minor          2.0
> >> >year           2014
> >> >month          07
> >> >day            16
> >> >svn rev        66175
> >> >language       R
> >> >version.string R Under development (unstable) (2014-07-16 r66175)
> >> >nickname       Unsuffered Consequences
> >> >
> >> >can you suggest what changed between those 2 R versions what
> >prevents
> >> >me in convenient installation of packages.
> >> >
> >> >Petr
> >> >
> >> >BTW. I can install packages manually but when there are many
> >> >dependencies it can be rather tricky.
> >> >
> >> >
> >
> >________________________________
> >Tento e-mail a jakékoliv k němu připojené dokumenty jsou důvěrné a
> jsou
> >určeny pouze jeho adresátům.
> >Jestliže jste obdržel(a) tento e-mail omylem, informujte laskavě
> >neprodleně jeho odesílatele. Obsah tohoto emailu i s přílohami a jeho
> >kopie vymažte ze svého systému.
> >Nejste-li zamýšleným adresátem tohoto emailu, nejste oprávněni tento
> >email jakkoliv užívat, rozšiřovat, kopírovat či zveřejňovat.
> >Odesílatel e-mailu neodpovídá za eventuální škodu způsobenou
> >modifikacemi či zpožděním přenosu e-mailu.
> >
> >V případě, že je tento e-mail součástí obchodního jednání:
> >- vyhrazuje si odesílatel právo ukončit kdykoliv jednání o uzavření
> >smlouvy, a to z jakéhokoliv důvodu i bez uvedení důvodu.
> >- a obsahuje-li nabídku, je adresát oprávněn nabídku bezodkladně
> >přijmout; Odesílatel tohoto e-mailu (nabídky) vylučuje přijetí nabídky
> >ze strany příjemce s dodatkem či odchylkou.
> >- trvá odesílatel na tom, že příslušná smlouva je uzavřena teprve
> >výslovným dosažením shody na všech jejích náležitostech.
> >- odesílatel tohoto emailu informuje, že není oprávněn uzavírat za
> >společnost žádné smlouvy s výjimkou případů, kdy k tomu byl písemně
> >zmocněn nebo písemně pověřen a takové pověření nebo plná moc byly
> >adresátovi tohoto emailu případně osobě, kterou adresát zastupuje,
> >předloženy nebo jejich existence je adresátovi či osobě jím zastoupené
> >známá.
> >
> >This e-mail and any documents attached to it may be confidential and
> >are intended only for its intended recipients.
> >If you received this e-mail by mistake, please immediately inform its
> >sender. Delete the contents of this e-mail with all attachments and
> its
> >copies from your system.
> >If you are not the intended recipient of this e-mail, you are not
> >authorized to use, disseminate, copy or disclose this e-mail in any
> >manner.
> >The sender of this e-mail shall not be liable for any possible damage
> >caused by modifications of the e-mail or by delay with transfer of the
> >email.
> >
> >In case that this e-mail forms part of business dealings:
> >- the sender reserves the right to end negotiations about entering
> into
> >a contract in any time, for any reason, and without stating any
> >reasoning.
> >- if the e-mail contains an offer, the recipient is entitled to
> >immediately accept such offer; The sender of this e-mail (offer)
> >excludes any acceptance of the offer on the part of the recipient
> >containing any amendment or variation.
> >- the sender insists on that the respective contract is concluded only
> >upon an express mutual agreement on all its aspects.
> >- the sender of this e-mail informs that he/she is not authorized to
> >enter into any contracts on behalf of the company except for cases in
> >which he/she is expressly authorized to do so in writing, and such
> >authorization or power of attorney is submitted to the recipient or
> the
> >person represented by the recipient, or the existence of such
> >authorization is known to the recipient of the person represented by
> >the recipient.


________________________________
Tento e-mail a jakékoliv k němu připojené dokumenty jsou důvěrné a jsou určeny pouze jeho adresátům.
Jestliže jste obdržel(a) tento e-mail omylem, informujte laskavě neprodleně jeho odesílatele. Obsah tohoto emailu i s přílohami a jeho kopie vymažte ze svého systému.
Nejste-li zamýšleným adresátem tohoto emailu, nejste oprávněni tento email jakkoliv užívat, rozšiřovat, kopírovat či zveřejňovat.
Odesílatel e-mailu neodpovídá za eventuální škodu způsobenou modifikacemi či zpožděním přenosu e-mailu.

V případě, že je tento e-mail součástí obchodního jednání:
- vyhrazuje si odesílatel právo ukončit kdykoliv jednání o uzavření smlouvy, a to z jakéhokoliv důvodu i bez uvedení důvodu.
- a obsahuje-li nabídku, je adresát oprávněn nabídku bezodkladně přijmout; Odesílatel tohoto e-mailu (nabídky) vylučuje přijetí nabídky ze strany příjemce s dodatkem či odchylkou.
- trvá odesílatel na tom, že příslušná smlouva je uzavřena teprve výslovným dosažením shody na všech jejích náležitostech.
- odesílatel tohoto emailu informuje, že není oprávněn uzavírat za společnost žádné smlouvy s výjimkou případů, kdy k tomu byl písemně zmocněn nebo písemně pověřen a takové pověření nebo plná moc byly adresátovi tohoto emailu případně osobě, kterou adresát zastupuje, předloženy nebo jejich existence je adresátovi či osobě jím zastoupené známá.

This e-mail and any documents attached to it may be confidential and are intended only for its intended recipients.
If you received this e-mail by mistake, please immediately inform its sender. Delete the contents of this e-mail with all attachments and its copies from your system.
If you are not the intended recipient of this e-mail, you are not authorized to use, disseminate, copy or disclose this e-mail in any manner.
The sender of this e-mail shall not be liable for any possible damage caused by modifications of the e-mail or by delay with transfer of the email.

In case that this e-mail forms part of business dealings:
- the sender reserves the right to end negotiations about entering into a contract in any time, for any reason, and without stating any reasoning.
- if the e-mail contains an offer, the recipient is entitled to immediately accept such offer; The sender of this e-mail (offer) excludes any acceptance of the offer on the part of the recipient containing any amendment or variation.
- the sender insists on that the respective contract is concluded only upon an express mutual agreement on all its aspects.
- the sender of this e-mail informs that he/she is not authorized to enter into any contracts on behalf of the company except for cases in which he/she is expressly authorized to do so in writing, and such authorization or power of attorney is submitted to the recipient or the person represented by the recipient, or the existence of such authorization is known to the recipient of the person represented by the recipient.


More information about the R-help mailing list