-
Notifications
You must be signed in to change notification settings - Fork 4
ThinkPad Setup for Data Science in ENV
Martin Monkman edited this page May 1, 2019
·
3 revisions
Instructions for setting up a ThinkPad in bcgov, tailored for data science workflows used by ENV teams.
- https://github.com/bcgov/bcgov-data-science-resources/wiki/Installing-R-&-RStudio
- Add R to the Windows PATH if you want using these steps:
- Verify R is installed here: C:\Program Files\R\R-[version_number]\bin\
- Open the start menu and type in 'View advanced system settings', click on 'Environment variables'
- Under 'System variables', select Path and click on edit.
- Click 'New', and add the folder address for R to there (C:\Program Files\R\R-[version_number]\bin)
- Open windows power shell and type in R to launch R command line tool
- Install from here: https://cran.r-project.org/bin/windows/Rtools/
- Accept all defaults except also check the box "Add rtools to system PATH"
- Sublime (small licence fee)
- Visual studio code
- Emacs
- vim
- https://git-scm.com/downloads
- Accept all defaults except the choice of text editor, choose something other than vim
- Configure git with your username and email
(see Chapter 6 of Happy Git and GitHub for the useR)
- As soon as you try to push to a repo where you have to establish your GitHub profile, git will open an authentication window. Simply provide your GitHub password and subsequent 2nd authentication. This will add a personal access token to your GitHub profile and allow you to push to your repos.
(see Chapter 9 of Happy Git and GitHub for the useR)
- Connecting RStudio to Git and GitHub allows you to pull and push your commits from the RStudio environment. The process is described in Chapter 12 of Happy Git and GitHub for the useR.
- Fn keys (F1, F2, etc) have alternate functions. The default for LENOVE Thinkpads is for the F keys to control volume, brightness, etc. To toggle to more typical behavour press the
Fn
andEsc/FnLock
keys at the same time. A light should appear on in theEsc/FnLock
key.
- Setting > Privacy > Camera > Allow apps to access your camera (Toggle on)
- Setting > Privacy > Microphone > Allow apps to access your camera (Toggle on)
This process will allow you to use a Ubuntu shell from inside Windows 10. This can be very handy.
Here is the official Microsoft setup guide: https://docs.microsoft.com/en-us/windows/wsl/install-win10