June 2020

Shiny Server with HTTP Authentication

June 28, 2020 | R | datawookie

Suppose you have an applocation running on a Shiny server and you want to add HTTP authentication so that it’s only accessible via a username and password. This can be done using NGINX. Test Shiny Server The Shiny server should be accessible at ...
[Read more...]

The Riddler – June 26th

June 28, 2020 | rstats on Robert Hickman

#for working with polygons
library(sf)
library(sfheaders)

library(tidyverse)
library(gtools)

set.seed(22081992)
Riddler Express This weeks express deals with an erratic driver: In Riddler City, the city streets follow a grid layout, running north-south and east-west. You’re driving north when you decide to play a little game. Every time you reach an intersection, you randomly turn left or right, each ... [Read more...]

Visualizing Principle Components for Images

June 28, 2020 | Nagdev Amruthnath

Principle Component Analysis (PCA) is a great tool for a data analysis projects for a lot of reasons. If you have never heard of PCA, in simple words it does a linear transformation of your features using covariance or correlation. I will add a few links below if you want ...
[Read more...]

Introducing GooglyPlusPlus!!!

June 28, 2020 | Tinniam V Ganesh

“We can lift ourselves out of ignorance, we can find ourselves as creatures of excellence and intelligence and skill.” “Heaven is not a place, and it is not a time. Heaven is being perfect.” “Your whole body, from wingtip to wingtip, is nothing more than your thought itself, in a ...
[Read more...]

R Objects, S Objects, and Lexical Scoping

June 27, 2020 | Greski, Len

S Objects, R Objects, and Lexical Scoping Two key R design principles related to objects and lexical scoping are summarized in the following quote from John Chambers: To understand computations in R, two slogans are helpful:    – Everything t...
[Read more...]

Simulating Spectroscopic Data Part 1

June 27, 2020 | R on Chemometrics & Spectroscopy using R

It is well-recognized that one of the virtues of the R language is the extensive tools it provides for working with distributions. Functions exist to generate random number draws, determine quantiles, and examine the probability density and cumulative distribution curves that describe each distribution. This toolbox gives one the ability ...
[Read more...]

Riddler: Can You Just Keep Turning?

June 27, 2020 | Posts | Joshua Cook

FiveThirtyEight’s Riddler Express link In Riddler City, the city streets follow a grid layout, running north-south and east-west. You’re driving north when you decide to play a little game. Every time you reach an intersection, you randomly turn left or right, each with a 50 percent chance. After driving ...
[Read more...]

littler 0.3.11: docopt updates

June 26, 2020 | Thinking inside the box

The twelveth release of littler as a CRAN package is now available, following in the fourteen-ish year history as a package started by Jeff in 2006, and joined by me a few weeks later. littler is the first command-line interface for R as it predates... [Read more...]

Filter data frame rows

June 26, 2020 | Quantargo Blog

We often want to operate only on a specific subset of rows of a data frame. The dplyr filter() function provides a flexible way to extract the rows of interest based on multiple conditions. Use the filter() function to sort out the rows of a data frame that fulfill a ...
[Read more...]

Functions for time tracking and management

June 26, 2020 | A.M. Barbosa

Especially since I had to start working as a freelancer, it became essential to keep an accurate record of how much time I spend on each task and project. I checked out some software tools available online (namely TimeCamp, which … Continue reading →
[Read more...]

Netflix vs Disney+. Who has more fresh titles?

June 26, 2020 | Andrew Sheveliev

“Let`s shift to Disney+”, said my wife desperately browsing Netflix on her phone. “Netflix has much more fresh content” I argued. And…I realized I need numbers to close these family debates… I choose “2018 and later” criteria as “fresh” and “1999 and earlier” as “old”. Those criteria are not strict ...
[Read more...]

R 4.0.2 now available

June 25, 2020 | David Smith

R 4.0.2 is now available for download for Windows, Mac and Linux platforms. This update addresses a few minor bugs included in the R 4.0.0 release, and also a significant bug introduced in R 4.0.1 on the Windows platform. Compared to R 4.0.0, the R 4.0.2 update also improves the performance of the merge function, ... [Read more...]

R 4.0.2 now available

June 25, 2020 | David Smith

R 4.0.2 is now available for download for Windows, Mac and Linux platforms. This update addresses a few minor bugs included in the R 4.0.0 release, and also a significant bug introduced in R 4.0.1 on the Windows platform. Compared to R 4.0.0, the R 4.0.2 update also improves the performance of the merge function, ... [Read more...]

Speeding up your Continuous Integration Builds

June 25, 2020 | Colin Gillespie

Continuous integration is an amazing tool when developing R packages. We push a change to the server, and a process is spawned that checks we haven’t done something silly. It protects us from ourselves! However this process can become slow, as typically the CI process starts with a blank ... [Read more...]
1 2 3 4 12

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)