4142 search results for "git"

is.invasive( )

November 26, 2012
By
is.invasive( )

Celebrating that I am contributing to the R-bloggers.com blog aggregator I am going to post a very simple function to check which species (both plants and animals) are considered “invaders” somewhere in the world. Basically the function asks that to … Continue reading →

Read more »

Discovering the quality of portfolio decisions

November 26, 2012
By
Discovering the quality of portfolio decisions

Performance analysis of an example portfolio. The portfolio We explore a particular portfolio during 2007.  It invests in S&P 500 stocks and starts the year with a value of $10 million.  Initially there are 50 names in the portfolio.  It also ends the year with 50 names but has up to 53 names during the … Continue reading...

Read more »

why and how to install monetdb with r on windows

November 26, 2012
By

warning: the instructions below are obsolete.  please check this page for the latest version.  <3 anthony whya speed test of three sql queries on sixty-seven million records using my personal computer --# calculate the sum, mean, median, a...

Read more »

R is (Almost) Platform Independent

November 23, 2012
By

I write R scripts on both my laptop and desktop, so the main issue I have is making sure that the R scripts are updated on these devices. There are several ways to ensure this happens:Use a version control system (on the cloud), e.g GithubWrite R scrip...

Read more »

IPython vs knitr, or Python vs R

November 23, 2012
By
IPython vs knitr, or Python vs R

I watched this video by Fernando Pérez a few days ago when I was reading a comment by James Correia Jr on Simply Statistics: This is absolutely a fantastic talk that I recommend everybody to watch (it is good in both the form and content). Not surprisingly, I started thinking ipython vs knitr. Corey Chivers said we could...

Read more »

project euler: problem 61

November 22, 2012
By

Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following formulae: Triangle P3,n=n(n+1)/2 1, 3, 6, 10, 15, ... Square P4,n=n2 ...

Read more »

We NEED more data

November 22, 2012
By
We NEED more data

Email One of the historic difficulties of doing research on urban energy systems has been the limited availability of data at sufficiently detailed spatial resolutions. Without this data, you might end up relying on aggregate information about the built environment, building occupants, and local geography that doesn't apply to the specifics of a particular neighbourhood

Read more »

Connecting R to an Oracle database with RJDBC

November 22, 2012
By

In many circumstances, you might want to connect R directly to a database to store and retrieve data.  If the source database is an Oracle database, you have a number of options: ROracle RODBC RJDBC   Using ROracle should theoretically… Read more ›

Read more »

Happy Thanksgiving from is.R()!

November 22, 2012
By
Happy Thanksgiving from is.R()!

Today’s post is mostly to wish everyone a Happy Thanksgiving. We will be taking the rest of the week off, and will return on Monday. Below is some code to reproduce the adorable Turkey above; enjoy! https://gist.github.com/4122464

Read more »

Extending Commodity time series

November 21, 2012
By
Extending Commodity time series

I want to follow up with Extending Gold time series post by showing how we can extend Commodity time series. Most Commodity ETFs began trading in 2006, please see the List of Commodity ETFs page. I will use DBC – PowerShares DB Commodity Fund, one on the most liquid Commodity ETFs as my proxy for

Read more »