967 search results for "RStudio"

Three Ways to Format R Code for Blogger

April 30, 2014
By
Three Ways to Format R Code for Blogger

Unformatted CodeIf you are like me originally then you might not think it is worth it to spend the extra energy to format your code.  After all people can just copy what you have and paste it into their preferred editor which will do its own forma...

Read more »

Floating table of contents for your html reports using knitr

April 27, 2014
By

If you love knitr and rstudio and use them to produce long reports, you probably know that you can produce a table of contents in your html (and pdf) documents. In the newer rstudio (Version 0.98.801 or later) you do it by requesting a toc in the doc header, something like this. title: "cssTest" output:

Read more »

Making Better DNS TXT Record Lookups With Rcpp

April 25, 2014
By

Technically this is Part 2 of Firewall-busting ASN-lookups. However, I said (in Part 1) that Part 2 would be about making a vectorized version and this is absolutely not about that. Rather than fib, I merely misdirect. Moving on… As you can see in Part 1, we have to resort to a system() call to do the TXT record lookup...

Read more »

R Helps With Employee Churn

April 24, 2014
By
R Helps With Employee Churn

by Joseph Rickert Pasha Roberts, Chief Scientist at Talent Analytics, is writing a series of articles on Employee Churn for the Predictive Analytics Times that comprise a really instructive and valuable example of using R to do some basic predictive modeling. So far, Pasha has published Employee Churn 201 in which he makes a case for the importance of...

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 »

Set Up Shiny-server on www.digitalocean.com

April 23, 2014
By
Set Up Shiny-server on www.digitalocean.com

RStudio supplies several servers for hosting user’s apps, e.g. http://www.shinyapps.io/, http://spark.rstudio.com, http://glimmer.rstudio.com. Thanks a lot to RStudio who has contributed many excellent R libraries! I want to set my shiny-server on a virtual private server (VPS), because I have some other tasks and I feel a VPS is more stable than the PC under my desk.

Yet Another Baseball Defense Statistic

April 22, 2014
By
Yet Another Baseball Defense Statistic

Fangraphs recently published an interesting dataset that measures defensive efficiency of fielders. For each player, the Inside Edge dataset breaks their opportunities to make plays into five categories, ranging from almost impossible to routine. It al...

Read more »

R activity around the world

April 22, 2014
By
R activity around the world

This project was inspired by "Where is the R Activity?" and our follow-up post on the number of useR! 2013 attendees. But instead of static maps, now we gathered bunch of R-related data from a variety of different sources to create some interactive car...

Read more »

Simple mortgage calculator

April 22, 2014
By
Simple mortgage calculator

Have you ever thought of borrowing some money? A common case is when you have to borrow money for buying a house, which is called a mortgage. Wikipedia ('Mortgage loan' entry) goes into much more detail about the definition than what I'll cover. One o...

Read more »

OpenCPU release 1.3 and 1.4

April 20, 2014
By
OpenCPU release 1.3 and 1.4

After a few months of testing we present OpenCPU versions 1.3 and 1.4. These releases do not introduce any major changes in the OpenCPU HTTP API but focus entirely on performance, reliability and security to support long running servers. The on...

Read more »