Monthly Archives: October 2008

Plotting Math in R

October 29, 2008
By

Plotting math in R can be acheived using the expression(). To know detailed usage, in R console,demo(plotmath)But expression() is not flexible when you want to plot math symbols and parameters altogether. In this case, we use bquote() which is actually a wraper for substitute() and quote(). It has the ability to do paste() and expression() altogether. Here...

Read more »

Plotting Math in R

October 29, 2008
By

Plotting math in R can be acheived using the expression(). To know detailed usage, in R console,demo(plotmath)But expression() is not flexible when you want to plot math symbols and parameters altogether. In this case, we use bquote() which is actually a wraper for substitute() and quote(). It has the ability to do paste() and expression() altogether. Here...

Read more »

The most popular programming languages in 2008

October 26, 2008
By

TIOBE has released the newest ranking for the most popular programming language here. Java remains the top popular programming language. C and C++ follow with Java. I dont' see R in this ranking. Maybe it doesn't belong to this group! Maybe I should ...

Read more »

The most popular programming languages in 2008

October 26, 2008
By

TIOBE has released the newest ranking for the most popular programming language here. Java remains the top popular programming language. C and C++ follow with Java. I dont' see R in this ranking. Maybe it doesn't belong to this group! Maybe I should ...

Read more »

Working with directories

October 24, 2008
By

Something quite annoying to me is when I get an R script and I have to change all of the file references in the script. I get something like this this:source("C:\\Documents and Settings\\UserName\\Data\\...\\File1.R") data<-read.table("C:\\Documen...

Read more »

Rmetrics – Basics of Option Valuation

Open Source Software for Financial Engineering and Computational FinanceRmetrics is the premier open source solution for teaching financial market analysis and valuation of financial instruments. With hundreds of functions build on modern methods Rmet...

Read more »

What I’ll be presenting at O’Reilly Money Tech 2009

October 21, 2008
By
What I’ll be presenting at O’Reilly Money Tech 2009

(April 2009 Update:  Unfortunately, The Money Tech Conference was indefinitely postponed, but fortunately I will be presenting a version of this talk in July at OSCON 2009). I’ve been invited to speak at O’Reilly’s Money Tech conference this coming February 4-6th in New York City and thought I’d share the abstract for my talk here.  I’ll

Read more »

Another solution to the R to Word table problem

October 17, 2008
By

Last time I used an HTML solution. This time, I create an RTF file:# function: my.rtf.table# purpose: convert a matrix, data.frame, or array into a rtf table# output: text for RTF, possibly written to a file# inputs:# tab - a table, dataframe, or array (needs rownames and colnames)# outfile - name of file (or console if NULL,...

Read more »

Using R in consulting: playing nice with Microsoft Word

October 17, 2008
By

As I use R more in consulting, I'm finding the need to make the quick transition from R to Microsoft products (usually Word) more serious. (I'm using a Windows platform, but I'm sure the challenges on the Mac would be similar.) I simply don't have time to do the text manipulations necessary to convert text to Word tables, for...

Read more »

Time series packages on R

October 16, 2008
By
Time series packages on R

There is now an official CRAN Task View for Time Series. This will replace my earlier list of time series packages for R, and provide a more visible and useful entry point for people wanting to use R for time series analysis. If I have missed anything on the list, please let me know.

Read more »