Programming Leftovers
-
August 2022: "Top 40" New CRAN Packages - R Views
One hundred ninety-four new package made it to CRAN in August. Here are my “Top 40” picks in thirteen categories: “Computational Methods, Data, Epidemiology, Genomics, Insurance, Machine Learning, Mathematics, Medicine, Pharmaceutical Applications, Statistics, Time Series, Utilities, and Visualization.
-
Recent challenges in model specification testing based on different data structures | YoungStatS
Model specification testing is one of the essential methodological tasks in statistics. Recently, with the development of different data structures, envisioning concepts from classical data setups to other environments becomes very important.
-
R tips and tricks – get the gist
In scientific programming speed is important. Functions written for general public use have a lot of control-flow checks which are not necessary if you are confident enough with your code.To quicken your code execution I suggest to strip run-of-the-mill functions to their bare bones. You can save serious wall-clock time by using only the laborers code lines. Below is a walk-through example of what I mean.
-
Dirk Eddelbuettel: RcppArmadillo 0.11.4.0.1 on CRAN: Updates
Armadillo is a powerful and expressive C++ template library for linear algebra and scientific computing. It aims towards a good balance between speed and ease of use, has a syntax deliberately close to Matlab, and is useful for algorithm development directly in C++, or quick conversion of research code into production environments. RcppArmadillo integrates this library with the R environment and language–and is widely used by (currently) 1023 packages other packages on CRAN, downloaded 26.4 million times (per the partial logs from the cloud mirrors of CRAN), and the CSDA paper (preprint / vignette) by Conrad and myself has been cited 497 times according to Google Scholar.
-
Snippet Praxis • Buttondown
Oh no, it’s the dreaded Copy-and-paste programming! I regularly see old-timers complain about how modern programming isn’t about “understanding” things anymore, people just copy code from Stackoverflow. This is seen as a bad thing.
-
5 New books added to Big Book of R
The Big Book of R has just had 5 new additions to the collection! Thanks to Gary and Adejumo for some of them!
PS for those who may be interested, I have posted my replies to some great questions about cleaning a messy dataset.
-
Housing Markets Down: Hierarchical Time Series
For a long time, everybody in Turkey complains about how far the house and rent prices are up. It seems the same situation is true all over the world. This is called the pandemic housing boom in the USA. But this might’ve been coming to the end, according to some authorities.
-
age and Authenticated Encryption
age is a file encryption format, tool, and library. It was made to replace one of the last remaining GnuPG use cases, but it was not made to replace GnuPG because in the last 20 years we learned that cryptographic tools work best when they are specialized and opinionated instead of flexible Swiss Army knives.
-
How to Use Italic Font in R - Data Science Tutorials
How to Use Italic Font in R, to create an italic typeface in R plots, use the basic syntax shown below.
-
Toolchains adventures - Q3 2022 | Frederic Cambus
This is the sixth post in my toolchains adventures series. Please check the previous posts in the toolchains category for more context about this journey.
In Pkgsrc land, I updated binutils to the 2.39 version, mold to the 1.3.1, 1.4.0, 1.4.1, and 1.4.2 versions, patchelf to the 0.15.0 one, and finally pax-utils to the 1.3.5 one.
Regarding OpenBSD, we imported llvm-profdata into the base system in early July, so I took the opportunity to propose importing llvm-cov as well. This was accepted and is now committed, which will allow producing reports from coverage data without having to install the devel/llvm port.