Thursday, 26 February 2015

file.choose()

This is a nice little command

The option file.choose() will pop open a dialog that allows the user to browse through their directory structure in an accustomed manner. Locate the file USTemperatures.txt in your directory structure, then click the Open button

> USTemps=read.table(file=file.choose(),header=TRUE)
I found out about it from here:
http://msenux.redwoods.edu/math/R/TransformingData.php

No comments:

Post a Comment