Issue 19
Hello and welcome to the new issue of R Weekly!
Highlight
Digested by R Weekly Members
-
Book - plotly for R - This book provides more of a cohesive narrative to help explain fundamental concepts and recent developments.
News & Blog Posts
Tutorials
-
Accessing the World Bank Data APIs in Python, R, Ruby & Stata
-
Quick wordclouds from PubMed abstracts – using PMID lists in R
-
Windows 10 anniversary updates includes a whole Linux layer - this is good news for data scientists
-
A primer on universal function approximation with deep learning (in Torch and R)
R in the Real World
-
Surveillance Out of the Box - The #Zombie Experiment - We perform a social experiment to investigate, if zombie related twitter posts can be used as a reliable indicator for an early warning system.
R in Organization
Resources
New Releases
-
sparklyr 0.4 - R interface for Apache Spark, now on CRAN.
-
plotly 4.0 - Create interactive web graphics via the open source JavaScript graphing library plotly.js.
-
RcppAnnoy 0.0.8 - Annoy is a small, fast, and lightweight library for approximate nearest neighbours.
-
RcppCNPy 0.2.6 - RcppCNPy provides R with read and write access to NumPy files.
-
gcbd 0.2.6 - The gcbd proposes a benchmarking framework for LAPACK and BLAS operations and records result in local database.
-
sjmisc 2.0.0 - Tagged NA values and labelled data.
New Packages & Tools
-
fundManageR - an investment management toolkit for R.
-
BiclustGUI - This GUI will you enable to quickly try out a wide arrange of biclustering algorithms and produce some helpfull graphs in order to explore your data.
-
tensorflow - Using TensorFlow with R.
R Project Updates
Updates from R Core.
-
source()
gets new optional arguments, notablyexprs
; this is made use of in the new utility functionwithAutoprint()
. -
print.factor()
no longer sets the class of the factor toNULL
, which would violate a basic constraint of an S4 object. -
There was an exception for the native Solaris C++ compiler to the dropping (in R 3.3.0) of legacy C++ headers from headers such as
R.h
andRmath.h
- this has now been removed. That compiler has strict C++98 compliance hence does not include extensions in its (non-legacy) C++ headers: some packages will need to request C++11 or replace non-C++98 calls such aslgamma
: see §1.6.4 ofWriting R Extensions
. -
sys.source()
gets a newtoplevel.env
argument. This argument is useful for frameworks running package tests. -
c()
’s argumentuse.names
is documented now, as belonging to the (C internal) default method. In “parallel”, argumentrecursive
is also moved from the generic to the default method, such that the formal argument list ofbase
genericc()
is just(...)
. -
If available, the POSIX 2008 system call
utimensat
will be used bysetFileTime()
andfile.copy()
. This may result in slightly more accurate file times. -
Sys.setFileTime()
andfile.copy(copy.date = TRUE)
will set timestamps with fractions of seconds on platforms/filesystems which support this. -
If available, the POSIX 2008 system call
utimensat
will be used bysetFileTime()
andfile.copy()
. This may result in slightly more accurate file times. -
The online documentation for package
methods
is extensively rewritten. The goals are to simplify documentation for basic use, to note old features not recommended and to correct out-of-date information. -
Calls to
setMethod()
no longer print a message when creating a generic function in those cases where that is natural: S3 generics and primitives. -
Use
options(deparse.max.lines=)
to limit the number of lines recorded in.Traceback
and other deparsing activities. -
abbreviate()
gains an optionnamed = TRUE
. -
Installation support for
readline
emulations based oneditline
(akalibedit
) is deprecated. -
Convenience function
hasName()
has been added; it is intended to replace the common idiom!is.null(x$name)
without the usually unintended partial name matching. -
split(<very_long>, *)
now works with long vectors. -
The license check enabled by
options(checkPackageLicense = TRUE)
is now done when the package’s namespace is first loaded. -
citation()
supportsinst/CITATION
files from package source trees, withlib.loc
pointing to the directory containing the package. -
(Windows only) Function
setInternet2()
is defunct. -
(Windows only)
file.info()
now returns file timestamps including fractions of seconds; it has done so on other systems since R 2.14.0.
Upcoming Events
- eRum 2016 Poznan, Poland 12 October - 14 October
European R users meeting (eRum) is an international conference that aims at integrating users of the R language. eRum 2016 will be a good chance to exchange experiences, broaden knowledge on R and collaborate.
Quote of the Week
I really enjoyed the #Rstats meetup last night. Hadley says he's going to do so many packages. Why hasn't he done them in the last 30 years?
— Donald Trump, PhD (@ScientistTrump)
You can include mathematical equations in R charts. Cheat sheet of math symbols you can use: https://t.co/YnyGgQltmw #rstats
— One R Tip a Day (@RLangTip)