Blog Archives

How to store and use webservice keys and authentication details with R

November 25, 2015
By

by Andrie de Vries (@RevoAndrie) I frequently get asked the question how you can safely store login details and passwords for use by R, without exposing these details in your script. Yesterday Jennifer Bryan asked this question on twitter and a small storm of views and tweets erupted. Do we have any sort of consensus whether user’s API keys...

Read more »

Enhancements to the AzureML package to connect R to AzureML Studio

November 18, 2015
By

by Andrie de Vries We have written on several occasions about AzureML, the Microsoft machine learning studio that is part of the Cortana Analytics suite: Running R in the Azure ML cloud Call R functions from any application with the AzureML package Using miniCRAN in Azure ML In September we announced that the AzureML package for R allows you...

Read more »

Best practices for handling packages in R projects

November 11, 2015
By
Best practices for handling packages in R projects

by Andrie de Vries For much of my data science work, I want to have the very latest package from CRAN or github. However, once any work finds it way into production server (where it runs on a regular schedule), I want my environment to be stable. Most importantly, for these projects I want to ensure I have reproducible...

Read more »

Using the wakefield package to easily generate reproducible sample data

November 5, 2015
By
Using the wakefield package to easily generate reproducible sample data

by Andrie de Vries Back in 2011, I asked a question on StackOverflow: "How to make a great R reproducible example?". This question attracted some great answers, including answers by Hadley Wickham and Joris Meys (co-author of R for Dummies). In June of this year Tyler Rinker added a new answer. Tyler published the wakefield package. In his own...

Read more »

Edge cases in using the Intel MKL and parallel programming

October 26, 2015
By
Edge cases in using the Intel MKL and parallel programming

by Andrie de Vries Recently we had a question on the public mailing list for Revolution R Open (RRO), on the topic of "MKL multithreaded library and mclapply do not play well together". If you're not familiar with these topics, here is a quick primer: The Intel MKL is a fast, multi-threaded math library. We bundle the MKL with...

Read more »

Updates to the foreach package and its friends

October 21, 2015
By
Updates to the foreach package and its friends

By Andrie de Vries Earlier this month Rich Calaway, programme manager at Microsoft and maintainer of the foreach package, published some updates to the foreach suite of packages, including: foreach iterators doMC doParallel doSNOW Most of the changes were cosmetic, or to conform to CRAN policy. However, the last two packages (doParallel and doSNOW) had some functional changes. doSnow...

Read more »

A preview of using Revolution R Enterprise inside SQL Server

October 14, 2015
By

by Andrie de Vries The second week of SQLRelay (#SQLRelay) kicked off in London earlier this week. SQLRelay is a series of conferences, spanning 10 cities in the United Kingdom over two weeks. The London agenda included 4 different streams, with tracks for the DBA, BI and Analytics users, as well as a workshop track with two separate tutorials....

Read more »

Parameters and percentiles (the gamma distribution)

October 7, 2015
By
Parameters and percentiles (the gamma distribution)

by Andrie de Vries In one of John D. Cooke's blog posts of 2010 (Parameters and Percentiles), he poses the following problem: The doctor says 10% of patients respond within 30 days of treatment and 80% respond within 90 days of treatment. Now go turn that into a probability distribution. That’s a common task in Bayesian statistics, capturing expert...

Read more »

Using miniCRAN on site in Iran

October 6, 2015
By
Using miniCRAN on site in Iran

by Jens Carl Streibig, Professor Emeritus at University of Copenhagen Editor's introduction: for background on the miniCRAN package, see our previous blog posts: Introducing miniCRAN Using R in Myanmar MiniCRAN saves my neck when out in regions where seamless running internet is and exception rather than the rule. R is definitely the programme to offer universities and research institutions...

Read more »

Interpolation and smoothing functions in base R

September 23, 2015
By
Interpolation and smoothing functions in base R

by Andrie de Vries Every once in a while I try to remember how to do interpolation using R. This is not something I do frequently in my workflow, so I do the usual sequence of finding the appropriate help page: ?interpolate Help pages: stats::approx Interpolation Functions stats::NLSstClosestX Inverse Interpolation stats::spline Interpolating Splines So, the help tells me to...

Read more »

Search R-bloggers

Sponsors

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)