a scholarly smorgasbord
Come for the ArcGIS, stay for the Microsoft Office.
Wednesday, March 30, 2011
How the big boys code
Don't just code into the R console, which is the default window that opens when you first open R. Instead, start a new R editor by
File -> New script
Here you can write out your code as well as notes.
To make notes, put # in front of it:
this is code
#this is note
To run a line of code, you can either copy and paste from the console or highlight it and hit control and R.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment