949 search results for "RStudio"

Self-written function help

Self-written function help I have noted at least one instance (and there are probably others) about how Python's docStrings are so great, and wouldn't it be nice to have a similar system in R. Especially when you can have your new function tab completion available depending on your development environment. This is a false statement, however. If you set...

Read more »

RcppArmadillo 0.4.000.4

February 20, 2014
By

A new minor release of RcppArmadillo is now on CRAN and in Debian. RcppArmadillo brings the Armadillo templated C++ library for linear algebra to R by means of Rcpp. This release contains both a few minor bugfixes from the 4.000 branch of Armadillo and some enhancements in RcppArmadillo itself that are related to the recent Rcpp 0.11.0 release. Changes...

Read more »

No need for SPSS – beautiful output in R #rstats

February 20, 2014
By
No need for SPSS – beautiful output in R #rstats

About one year ago, I seriously started migrating from SPSS to R. Though I’m still using SPSS (because I have to in some situations), I’m quite comfortable and happy with R now and learnt a lot in the past months. But since SPSS is still very wide spread in social sciences, I get asked every

Read more »

Web-Scraping: the Basics

February 19, 2014
By

Slides from the first session of my course about web scraping through R: Web scraping for the humanities and social sciencesIncludes an introduction to the paste function, working with URLs, functions and loops. Putting it all together we fetch data in...

Read more »

R and (Software) Relatives

February 18, 2014
By
R and (Software) Relatives

Post also available with code executed inline at rpubs.com. O'Reilly recently published the results of a survey from attendees of the Strata Conference related to tool usage and salary.  The entire survey is available for download.  In the survey results, R was heralded as second only to SQL as a tool used by conference attendees.  An chart from the...

Read more »

Tutorials- Statistical and Multivariate Analysis for Metabolomics

February 17, 2014
By
Tutorials- Statistical and Multivariate Analysis for Metabolomics

I recently had the pleasure in participating in the 2014 WCMC Statistics for Metabolomics Short Course. The course was hosted by the NIH West Coast Metabolomics Center and focused on statistical and multivariate strategies for metabolomic data analysis. A variety of topics were covered using 8 hands on tutorials which focused on: data quality overview

Read more »

Adjusting Chinese New Year Effects in R is Easy

February 17, 2014
By
Adjusting Chinese New Year Effects in R is Easy

The Spring Festival is the most important holiday in China and many other Asian countries. Traditionally, the holiday starts on Chinese New Year’s Eve, and lasts to the Lantern Festival on the 15th day of the first month of the lunisolar calendar. The Chinese New Year is celebrated either in January or in February of

Read more »

Using the LaTeX listings package to style R PDF reports with knitr and pandoc

February 15, 2014
By
Using the LaTeX listings package to style R PDF reports with knitr and pandoc

knitr is a an R package that allows you to include R code in markdown or LaTeX source files, and have the code and/or its output included in the resulting html or pdf files. RStudio provides good support for this, so if you want to try it out that’s a good place to start. This

Read more »

Reproducible research, training wheels, and knitr

February 15, 2014
By
Reproducible research, training wheels, and knitr

Last week I gave a short talk at CMU’s statistical computing seminar, Stat Bytes. I summarized why reproducible research (RR) and literate programming are worthwhile, not just for serious research but also for homework reports or statistical blog posts. I … Continue reading →

Read more »

BitCoin profits with the Sushi-Burger Shuffle

February 14, 2014
By
BitCoin profits with the Sushi-Burger Shuffle

The BitCoin cryptocurrency has been much in the news of late. What, you don't have BitCoins? (Don't worry, neither do I.) Unless you have a supercomputer in your back yard and a cheap source of power, it's no longer really feasible to mine them yourself. But if you want some, several online exhanges will let you buy BitCoins for...

Read more »