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.