There are two main ways of interacting with R: using the console or by using script files (plain text files that contain your code - note these can be. When we execute a program, we are telling the computer to run it. COMMANDS: the “instructions” that we tell the computer to follow.We write, or code, instructions in R because it is a common language that both the computer and we can understand. When we run a program, we tell the computer to follow those instructions. When we program, we are writing down instructions for the computer to follow. We will talk more about autocomplete in class. This makes typing easier and less error-prone. Also, autocomplete is available to use to find function names, arguments for those functions and variables that are stored in your environment. One advantage of using RStudio is that it contains many shortcuts and visual cues like code highlighting that speed up coding. The RStudio IDE (Integrated Development Environment) is divided into four panes in its default layout. You can also drag the panes using your mouse to move / resize them. The placement of these panes and their content can be customized using the RStudio preferences: (From the RStudio drop down choose: RStudio -> Preferences -> Pane Layout). We will explore these various panes together in class. The plots tab is where you will see plots that you create. The files pane allows you to explore files on your computer like you would in windows explorer or finder on a mac. Bottom RIGHT: The bottom right pane by default contains several panes including: files/plots/packages/help/viewer.This is where you can see variables you’ve created and a full history of functions / commands you have run, Top RIGHT: your environment/history panes.You can type code directly into the console OR you can send it to the console by running it from the editor, Bottom LEFT: the R console is where the code is run.Top LEFT: the editor where you edit scripts, documents and can “send” code to run in the console,.When you first open it, the RStudio interface is divided into four “Panes” as described below: The RStudio IDE open source product is free under the Affero General Public License (AGPL) v3. ![]() ![]() Let’s explore RStudio, the Integrated Development Environment (IDE) that we will use to write code, navigate files on our computer, inspect variables and more. Be able to describe the main use for each of the four main panes in the RStudio interface.SECTION 15 LAST CLASS: FINAL PROJECT PRESENTATIONS.SECTION 14 FINAL PROJECTS & COURSE FEEDBACK DISCUSSION.SECTION 10 MIDTERM REVIEW / PRESENTATION BEST PRACTICES.SECTION 9 STUDY FIRE USING REMOTE SENSING DATA.8.1 Fire / spectral remote sensing data - in R.SECTION 8 QUANTIFY FIRE IMPACTS - REMOTE SENSING.SECTION 7 MULTISPECTRAL IMAGERY R - NAIP, LANDSAT, FIRE & REMOTE SENSING.Uncertainty in Scientific Data & Metadata SECTION 5 LIDAR DATA IN R - REMOTE SENSING UNCERTAINTY.Refine R Markdown Reports with Images and Basemaps SECTION 2 INTRO TO R & WORK WITH TIME SERIES DATA.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |