An R package to visualize latent factors
- Get yourself a personal auth token for github. Go to https://github.com/settings/tokens, click on "Generate new token", enter "atheylab.utils" as the token description, check only the box in front of "repo" and then scroll down and click on "Generate token". On the next screen you will be shown the token. Github will only show it to you once.
- If you don't have it already, create a file named
.Renviron
in your home directory (you can find your home directory by runningSys.getenv("HOME")
in the R console. You can create the file by opening a terminal window and runningtouch ~/.Renviron
) and adding the following contents:
# github personal access token
GITHUB_PAT = YOUR TOKEN GOES HERE
Replace YOUR TOKEN GOES HERE
with the access token you obtained in (1)
-
Restart your R session
-
Run the following commands in the R console:
install.packages("devtools")
devtools::install_github("gsbDBI/latently")