Category Archives: R language

Mike’s Biostatistics Book now at LibreTexts

Mike’s Biostatistics Book, my open textbook I use to support my biostatistics course at Chaminade University, was adopted (September 2024) by the folks at LibreTexts and is now available as part of their open educational resource library in the Applied Statistics. The link is https://stats.libretexts.org/Bookshelves/Applied_Statistics/Mike%E2%80%99s_Biostatistics_Book_(Dohm)

LibreTexts Mike's Biostatistics BookThe primary version of Mike’s Biostatistics Book will remain here at my letgen.org website, but the LibreTexts version will also be maintained, and may well be a more attractive vehicle for others to use, or if instructors, even adopt for their courses. Future plans include moving homework and related tutorial resources, which are primarily the purpose of my companion site, Mike’s Workbook for Biostatistics, to the LibreText open homework system

Because of the copy right license under which I’ve released my textbook, end users are also free to correct typos, any content errors, or even edit the text to suit their own needs, provided that that my name remains attached to the text.

Wikipedia has a nice summary about LibreTexts.A nice writeup about Open Access textbooks and LibreTexts by E. Wexler (2017) is available at EdSurge.

Check file hash file

Example, use command line program get-filehash in Windows 10, or the terminal and command md5 in macOS, or call a function from the opensslR program to compare hashsum of R download file, e.g., R-3.6.1-win.exe, against fingerprint.

Windows 10

Open PowerShell (type “powershell” in search)
Enter on one line

get-filehash -Algorithm MD5

Navigate to folder (or note file path) which contains the file to check, highlight the file, then drag and drop to add to the command

get-filehash -Algorithm MD5C:\Users\userName\Downloads\R-3.6.1-win.exe

get-filehash uses the Sha256 algorithm by default (Microsoft).

replace userName with your user account

macOS

Open terminal (type “terminal” in Spotlight)
Enter on one line “md5” plus a space

md5

Navigate to folder (or note file path) which contains the file to check, highlight the file, then drag and drop to add to the command

md5 /Users/userName/Downloads/R-3.6.1.pkg

Alternatively, replace md5 with the better sha256

Open R, install package openssl, and follow examples provided at https://cran.r-project.org/web/packages/openssl/vignettes/crypto_hashing.html