Skip to content

Vignettes RePsychLing

3 messages · Hadley Wickham, lorenz.gygax at agroscope.admin.ch

#
Dear all,

As a user of mixed-models - greatest thanks to all contributors to lme4 specifically! - I have read 
with interest the maybe not-so-recent-anymore discussion on how many random effects can reasonably be included in a mixed model for a given data set. I was intrigued by the use of pca to assess rank deficiency in mixed-models as suggested in "Parsimonous mixed models" by Doug Bates et al. (http://arxiv.org/abs/1506.04967). As suggested there, I wanted to check the vignette(s) for RePsychLing on how to use the rePCA function.

I have followed the instruction on Harald Baayen's site (http://www.sfs.uni-tuebingen.de/~hbaayen/publications.html):

library(devtools) 
devtools::install_github("dmbates/RePsychLing") 
vignette(package="RePsychLing")
vignette("PCA", package="RePsychLing")
vignette("KB", package="RePsychLing")

The installation runs without error and seems to be doing fine. When I try to call the vignettes, though, there is an error telling me that there is no pdf nor html version. Can you tell me what crucial point I am missing here?

Many thanks and regards, Lorenz
-
Lorenz Gygax
Federal Food Safety and Veterinary Office FFSVO
Centre for Proper Housing of Ruminants and Pigs
T?nikon, CH-8356 Ettenhausen, Switzerland
#
Try

devtools::install_github("dmbates/RePsychLing", build_vignettes = TRUE)

Hadley
On Tue, Dec 8, 2015 at 6:42 AM, <lorenz.gygax at agroscope.admin.ch> wrote:

  
    
#
Dear all, dear Hadley,

thank you Hadley for proposing the (in hindsight) quite obvious
which brought me on the right track. After fiddling a bit with installing correctly all necessary R-packages in the latest versions (specifically stringi, curl) and some additional software (pandoc, LaTeX), the installation clearly went further:

R version 3.2.2 (2015-08-14) -- "Fire Safety"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
...
Downloading GitHub repo dmbates/RePsychLing at master Installing RePsychLing "C:/PROGRA~1/R/R-32~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD build  \
  "C:\Users\lorenz\AppData\Local\Temp\RtmpuQICTP\devtools3058b542da6\dmbates-RePsychLing-aec0878" --no-resave-data --no-manual 

* checking for file 'C:\Users\lorenz\AppData\Local\Temp\RtmpuQICTP\devtools3058b542da6\dmbates-RePsychLing-aec0878/DESCRIPTION' ... OK
* preparing 'RePsychLing':
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ...Warnung: Ausf?hrung von Kommando '"C:/PROGRA~1/R/R-32~1.2/bin/x64/Rscript" --vanilla --default-packages= -e "tools::buildVignettes(dir = '.', tangle = TRUE)"' ergab Status 1  ERROR Quitting from lines 322-333 (KBStan.Rmd)
Fehler: Verarbeitung der Vignette 'KBStan.Rmd' mit folgender Diagnose fehlgeschlagen:
'mc.cores' > 1 is not supported on Windows Ausf?hrung angehalten
Fehler: Command failed (1)

Obviously, a multi-core request is made here which does not work on windows (I am sorry that I have no other platform available ...). Can I myself easily circumvent this problem? Or is an adjustment needed in the .Rmd file that catches windows systems and adjusts this request?

Many thanks again, Lorenz