There is no excerpt because this is a protected post.
Protected: Phys 307: R library for physics 307
There is no excerpt because this is a protected post.
OpenGL graphics with R: solar system dynamics
Of all of the interpreted programming languages (python, R, lisp, julia) that I use, R has the best graphics. Here are some examples of an orrery or solar system simulator written in R, with OpenGL graphics. I wrote it as
Protected: Programming HOWTOs
There is no excerpt because this is a protected post.
Code managment: Using git
A large collaboration (well, any collaboration) may maintain a code-base for the in-house software that the group has written for their research. Each collaborator needs to be able to pull down the code-base development branch, make contributions, and commit them
R package creation
Creating a package or library for R is very easy. Follow these steps: first start the R REPL and install all of the development tools # sudo apt install curl # sudo apt install libssl-dev # sudo apt install libxml2-dev
Grade a Canvas course with R
Step one. Download the grades from the gradebook as a CSV file. Step two. Start the R REPL and load the CSV file into a dataframe # read the CSV file Mydat <- read.csv("CSVfilename.csv",as.is = TRUE, stringsAsFactors = FALSE) Step
Eigenvalue extraction with QR decomposition
# in julia, using CUDA to load onto the gpu # use the QR decomposition in the LinearAlgebra library using LinearAlgebra using CUDA # try it on a 256x256 array b=rand(256,256); b=b+b'; B=CuArray(b); for j in 1:600 QR=qr(B) B=QR.R *