3558 search results for "git"

Tools for Hacking R: Git + Subversion

August 24, 2010
By

In an earlier post, I discussed how to use Subversion to download, edit, and generate a patch against R‘s source code. Since most of us can’t commit our code changes back to R‘s repository, we can consider alternatives to store and maintain our patch, until it is eventually incorporated into R. Of course, our changes

Read more »

GitHub Stats on Programming Languages

August 9, 2010
By
GitHub Stats on Programming Languages

GitHub has become a popular site for Open Source Developers to stash code and collaborate on projects.  The following are some stats and analysis related to programming languages in use based upon the number of users and repositories.  T...

Read more »

Example 8.2: Digits of Pi, redux

July 12, 2010
By
Example 8.2: Digits of Pi, redux

In example 8.1, we considered some simple tests for the randomness of the digits of Pi. Here we develop a different test and implement it. If each digit appears in each place with equal and independent probability, then the places between recurrences...

Read more »

Example 8.1: Digits of Pi

July 6, 2010
By
Example 8.1: Digits of Pi

Do the digits of Pi appear in a random order? If so, the trillions of digits of Pi calculated can serve as a useful random number generator. This post was inspired by this entry on Matt Asher's blog. Generating pseudo-random numbers is a key piece o...

Read more »

Here’s the distribution of the first million digits of the…

June 20, 2010
By
Here’s the distribution of the first million digits of the…

Here’s the distribution of the first million digits of the square root of two’s decimal expansion. Number of digits | is:   0's |  99 818  1's |  98 926  2's | 100 442  3's | 100 191  4's | 100 031  5's | 100 059  6's |  99 885  ...

Read more »

Multilevel and Longitudinal Modeling in Stata

December 22, 2009
By

For my "off-task" reading I recent perused an excellent book on multilevel and longitudinal modeling in Stata by Sophia Rabe-Hesketh and Anders Skrondal. The second edition (which I read) has been updated by including several chapters providing an over...

Read more »

Using Git with R-Forge OR Adding an local Git branch to track an Subversion Repo

December 3, 2009
By

These instructions were originally from instructions from my friend Charlie. I really like to use Github but R-Forge has alot of nice features for package development, so why not get the best of both worlds. Say you have a git repo (with an R package or something else) but want to create a local brach

Read more »

Set the significant digits for each column in a xtable for fancy Sweave output

June 26, 2009
By
Set the significant digits for each column in a xtable for fancy Sweave output

This tip may be useful in the situations when you need to set the number of digits to print for the different columns in a matrix/data.frame to be outputted as a LaTeX table.  For example:#install.packages("xtable") #library(xtable) tmp <- m...

Read more »

Preventing escaping in HTML

April 24, 2014
By

Preventing escaping in HTML Preventing escaping in HTML library(xtable) ## ## Attaching package: 'xtable'## ## The following objects are masked from 'package:Hmisc':## ## label, label<- library(stringr)library(whisker) Problem statementBeing a novice in R language, the problem I faced maight be a novice one,...

Read more »

Benchmarking RRE and SAS

April 23, 2014
By

by Thomas Dinsmore Regular readers of this blog may be familiar with our ongoing effort to benchmark Revolution R Enterprise (RRE) across a range of use cases and on different platforms. We take these benchmarks seriously at Revolution Analytics, and constantly seek to improve the performance of our software. Previously, we shared results from a performance test conducted by...

Read more »