Good morning. In my continuing pursuit of self-taught R programming I am 
interested in following the tutorial provided by Bloggers.com "Beautiful and 
Powerful Correlation Tables in R"


https://www.r-bloggers.com/beautiful-and-powerful-correlation-tables-in-r-2/ 3/

Although, I have hit a snag in the first step?

devtools::install_github("neuropsychology/psycho.R") # Install the newest 
version
library(psycho)
library(tidyverse)

I have installed both psycho & tidyverse pkgs, however, when I go to run the 
devtools::install_github("neuropsychology/psycho.R") piece I get this warning.

Downloading GitHub repo neuropsychology/psycho.R@master
from URL https://api.github.com/repos/neuropsychology/psycho.R/zipball/master
Installing psycho
"C:/Users/bp/DOCUME~1/R/R-34~1.4/bin/x64/R" --no-site-file --no-environ 
--no-save --no-restore --quiet CMD INSTALL  \
  
"C:/Users/bp/AppData/Local/Temp/RtmpCkkmhB/devtools25601693478c/neuropsychology-psycho.R-b62e316"
 --library="C:/Users/bp/Documents/R/R-3.4.4/library" --install-tests

* installing *source* package 'psycho' ...
** R
** data
*** moving datasets to lazyload DB
** inst
** tests
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = 
vI[[j]]) :
  there is no package called 'Matrix'
ERROR: lazy loading failed for package 'psycho'
* removing 'C:/Users/bp/Documents/R/R-3.4.4/library/psycho'
* restoring previous 'C:/Users/bp/Documents/R/R-3.4.4/library/psycho'
In R CMD INSTALL
Installation failed: Command failed (1)
> install.packages("psycho")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/psycho_0.2.3.zip'
Content type 'application/zip' length 1650628 bytes (1.6 MB)
downloaded 1.6 MB

Just a guess, but does this have to do with presetting my work directory?

setwd("C:/WHP/R/PracticeScripts and Testing Ideas")

Here is my session info:


> sessionInfo() #R version 3.4.4 (2018-03-15)

R version 3.4.4 (2018-03-15)

Platform: x86_64-w64-mingw32/x64 (64-bit)

Running under: Windows 7 x64 (build 7601) Service Pack 1


.libPaths() #"C:/Users/bp/Documents/R/R-3.4.4/library"

[1] "C:/Users/bp/Documents/R/R-3.4.4/library"


Thank you for any advice.

WHP

Confidentiality Notice This message is sent from Zelis. ...{{dropped:15}}

______________________________________________
R-help@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.

Reply via email to