You don't need to install lme4, it comes with base R.
As for package lmerTest, I've just did
> install.packages("lmerTest")
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘checkmate’, ‘survival’, ‘Formula’,
‘latticeExtra’, ‘acepack’, ‘gridExtra’, ‘data.table’, ‘htmlTable’,
‘viridis’, ‘Hmisc’
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/checkmate_1.8.2.zip'
Content type 'application/zip' length 554040 bytes (541 KB)
downloaded 541 KB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/survival_2.40-1.zip'
Content type 'application/zip' length 5108708 bytes (4.9 MB)
downloaded 4.9 MB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/Formula_1.2-1.zip'
Content type 'application/zip' length 163536 bytes (159 KB)
downloaded 159 KB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/latticeExtra_0.6-28.zip'
Content type 'application/zip' length 2069570 bytes (2.0 MB)
downloaded 2.0 MB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/acepack_1.4.1.zip'
Content type 'application/zip' length 90515 bytes (88 KB)
downloaded 88 KB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/gridExtra_2.2.1.zip'
Content type 'application/zip' length 483236 bytes (471 KB)
downloaded 471 KB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/data.table_1.10.0.zip'
Content type 'application/zip' length 1508659 bytes (1.4 MB)
downloaded 1.4 MB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/htmlTable_1.8.zip'
Content type 'application/zip' length 179208 bytes (175 KB)
downloaded 175 KB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/viridis_0.3.4.zip'
Content type 'application/zip' length 1746408 bytes (1.7 MB)
downloaded 1.7 MB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/Hmisc_4.0-2.zip'
Content type 'application/zip' length 1785840 bytes (1.7 MB)
downloaded 1.7 MB
trying URL
'https://cloud.r-project.org/bin/windows/contrib/3.3/lmerTest_2.0-33.zip'
Content type 'application/zip' length 1149547 bytes (1.1 MB)
downloaded 1.1 MB
package ‘checkmate’ successfully unpacked and MD5 sums checked
package ‘survival’ successfully unpacked and MD5 sums checked
package ‘Formula’ successfully unpacked and MD5 sums checked
package ‘latticeExtra’ successfully unpacked and MD5 sums checked
package ‘acepack’ successfully unpacked and MD5 sums checked
package ‘gridExtra’ successfully unpacked and MD5 sums checked
package ‘data.table’ successfully unpacked and MD5 sums checked
package ‘htmlTable’ successfully unpacked and MD5 sums checked
package ‘viridis’ successfully unpacked and MD5 sums checked
package ‘Hmisc’ successfully unpacked and MD5 sums checked
package ‘lmerTest’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Convidado\AppData\Local\Temp\RtmpEpipqW\downloaded_packages
> library(lmerTest)
Attaching package: ‘lmerTest’
The following object is masked from ‘package:lme4’:
lmer
The following object is masked from ‘package:stats’:
step
So there was no problem. And my output of install.packages() is quite
different from yours.
If you're having a problem with lme4, maybe as an extreme mesure you
could reinstall R.
And by the way, what is your OS? What is the output of
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=Portuguese_Portugal.1252
LC_CTYPE=Portuguese_Portugal.1252
[3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C
[5] LC_TIME=Portuguese_Portugal.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lmerTest_2.0-33 lme4_1.1-12 Matrix_1.2-7.1
loaded via a namespace (and not attached):
[1] Rcpp_0.12.8 Formula_1.2-1 knitr_1.15.1
[4] magrittr_1.5 cluster_2.0.5 splines_3.3.2
[7] MASS_7.3-45 munsell_0.4.3 colorspace_1.3-1
[10] lattice_0.20-34 minqa_1.2.4 stringr_1.1.0
[13] plyr_1.8.4 tools_3.3.2 nnet_7.3-12
[16] grid_3.3.2 data.table_1.10.0 checkmate_1.8.2
[19] htmlTable_1.8 gtable_0.2.0 nlme_3.1-128
[22] latticeExtra_0.6-28 htmltools_0.3.5 digest_0.6.10
[25] survival_2.40-1 lazyeval_0.2.0 assertthat_0.1
[28] tibble_1.2 gridExtra_2.2.1 RColorBrewer_1.1-2
[31] nloptr_1.0.4 ggplot2_2.2.0 base64enc_0.1-3
[34] acepack_1.4.1 rpart_4.1-10 stringi_1.1.2
[37] backports_1.0.4 scales_0.4.1 Hmisc_4.0-2
[40] foreign_0.8-67
Hope this helps,
Rui Barradas
> Adem�s: Warning message:
> In read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")) :
> cannot open compressed file 'C:/Users/Hp/Documents/R/win-library/3.3/lme4/DESCRIPTION', probable reason 'No such file or directory'
>
>
>
> Could yo please help me?
>
> What to do? I am using latest version : R 3.3.2.
>
>
> Thank you very much,
>
> Xavier
>
>
> [[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-h...@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-h...@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.