Posts Tagged ‘ R tips ’

Saving a Workspace

November 11, 2008
By

R will can save the users workspace at the end of a session so that he can take it up again where he left off. I personally don't like doing this but there are times when one would want to save their work, especially after complex and time consuming co...

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 »

pmin and pmax

September 16, 2008
By

Did you know that there are multiple versions of the min and max function. make sure that you are using the right one. pmin and pmax are the 'parallel' versions of the min and max function, meaning that they can take vector arguments and return vectors back. Much better than setting up your own apply function....

Read more »