[R] lme4 package installation

PIKAL Petr petr.pikal at precheza.cz
Mon Aug 17 08:43:27 CEST 2015


Hi

try tu put line

setInternet2(TRUE)

into your Rprofile.site file (located in etc directory of R installation) and restart R.


Cheers
Petr


> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Teck
> Kiang Tan
> Sent: Friday, August 14, 2015 11:21 AM
> To: Uwe Ligges
> Cc: r-help at r-project.org; aurora.gonzalez at openmailbox.org
> Subject: Re: [R] lme4 package installation
>
> Thanks Uwe Ligges for the suggestion.
> I tried using setInternet2() but also failed.
> I tried for several other countries but also failed.
> Any other suggestion to overcome it.
> Thanks.
>
>
> Warning: unable to access index for repository
> http://cran.utstat.utoronto.ca/src/contrib
> Warning: unable to access index for repository
> http://www.stats.ox.ac.uk/pub/RWin/src/contrib
> Warning: unable to access index for repository
> http://cran.utstat.utoronto.ca/bin/windows/contrib/3.2
> Warning: unable to access index for repository
> http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.2
>
>
> On Fri, Aug 14, 2015 at 1:29 PM, Uwe Ligges <ligges at statistik.tu-
> dortmund.de
> > wrote:
>
> >
> >
> > On 13.08.2015 22:52, Teck Kiang Tan wrote:
> >
> >> Hi all
> >>
> >> I have problem in installation lme4 and have tried over the past 2
> days.
> >> It
> >> failed to install from the various countries.
> >>
> >> install.packages("lme4")
> >>>
> >> Warning: unable to access index for repository
> >> http://cran.stat.nus.edu.sg/src/contrib
> >>
> >
> >
> > This mirror does not respond whn I just tried, choose another one.
> >
> >
> > Warning: unable to access index for repository
> >> http://www.stats.ox.ac.uk/pub/RWin/src/contrib
> >>
> >
> > This one works for me (but does not contain lme4).
> > Perhaps also run setInternet2() before you try again in cae you need
> > proxy settings.
> >
> > Best,
> > Uwe Ligges
> >
> >
> >
> >
> > Warning: unable to access index for repository
> >> http://cran.stat.nus.edu.sg/bin/windows/contrib/3.2
> >>
> >> Warning message:
> >> package ‘lme4’ is not available (for R version 3.2.1)
> >>
> >> Teck Kiang
> >>
> >>
> >> On Thu, Aug 13, 2015 at 11:09 PM, Thierry Onkelinx <
> >> thierry.onkelinx at inbo.be
> >>
> >>> wrote:
> >>>
> >>
> >> Have you trying installing it directly from CRAN?
> >>>
> >>> install.packages("lme4")
> >>>
> >>> Do you have all dependencies installed? install.packages() from
> CRAN
> >>> will take care of that. You repos = NULL you have to install all
> >>> dependencies manually.
> >>>
> >>> ir. Thierry Onkelinx
> >>> Instituut voor natuur- en bosonderzoek / Research Institute for
> >>> Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics
> >>> & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium
> >>>
> >>> To call in the statistician after the experiment is done may be no
> >>> more than asking him to perform a post-mortem examination: he may
> be
> >>> able to say what the experiment died of. ~ Sir Ronald Aylmer Fisher
> >>> The plural of anecdote is not data. ~ Roger Brinner The combination
> >>> of some data and an aching desire for an answer does not ensure
> that
> >>> a reasonable answer can be extracted from a given body of data.
> >>> ~ John Tukey
> >>>
> >>> 2015-08-13 16:13 GMT+02:00 <aurora.gonzalez at openmailbox.org>:
> >>>
> >>> Hello
> >>>>
> >>>> I've downloaded the tar.gz file of the package "lme4" and when I
> >>>> use the
> >>>> coomand:
> >>>>
> >>>> install.packages("lme4_1.1-8.tar.gz", repos = NULL, type =
> >>>> "source")
> >>>>
> >>>> appears an error that suspends the installation:
> >>>>
> >>>>
> >>>> In file included from external.cpp:8:0:
> >>>> predModule.h:12:23: fatal error: RcppEigen.h: No such file or
> >>>> directory compilation terminated.
> >>>> make: *** [external.o] Error 1
> >>>> ERROR: compilation failed for package ‘lme4’
> >>>> * removing ‘/home/aurora/R/x86_64-pc-linux-gnu-library/3.2/lme4’
> >>>>
> >>>>
> >>>>
> >>>> Does anyone know how to fix it? Thank you very much!
> >>>>
> >>>>
> >>>> My sessionInfo:
> >>>>
> >>>>
> >>>> R version 3.2.1 (2015-06-18)
> >>>> Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu
> >>>> precise (12.04.5 LTS)
> >>>>
> >>>> locale:
> >>>>   [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
> >>>>   [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
> >>>>   [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
> >>>>   [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
> >>>>   [9] LC_ADDRESS=C               LC_TELEPHONE=C
> >>>> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
> >>>>
> >>>> attached base packages:
> >>>> [1] stats     graphics  grDevices utils     datasets  methods
> >>>> [7] base
> >>>>
> >>>> loaded via a namespace (and not attached):
> >>>> [1] tools_3.2.1
> >>>>
> >>>> ______________________________________________
> >>>> R-help at 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.
> >>>>
> >>>
> >>>          [[alternative HTML version deleted]]
> >>>
> >>> ______________________________________________
> >>> R-help at 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.
> >>>
> >>>
> >>         [[alternative HTML version deleted]]
> >>
> >> ______________________________________________
> >> R-help at 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.
> >>
> >>
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.

________________________________
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