![]() You can also increase the playback speed using the gear icon. The quality of the videos should be fine and if you experience bad resolution of the videos and cannot change the resolution, you might need to update your browser or try using another browser (e.g. Chrome). To watch the video in highest possible resolution, use the gear icon at the bottom of the video. In the video below the two most important windows, the Source and the Console window, are explained (3:30 min): RStudio is a user interface to R consisting of four windows. If it is most meaningful to name in ones own language, substitute the special language characters to the English letters (e.g. Special language characters should also be avoided (e.g. æ, ø, å). Special characters such as: ~ ! # $ % ^ & * ( ) ` ?, ’ " and | must be avoided in naming. We recommend to never ever use space in file or folder names as this may create technical challenges in some settings. Please notice that ‘mice tumor.xxx’ is not listed as a good way of naming a file containing multiple words. CamelCase or pascalCase: MiceTumor.xxx, miceTumor.xxx.Underscores or dashes: mice_tumor.xxx or mice-tumor.xxx.Ways of concatenating the names are then: for a data set concerning tumors in mice the words mice and tumor may be good descriptive words for the data set. When you name a folder or a file the name may consist of separate words. Often the task of naming is easier when files are already stored in a directory structure like the one presented above as the files are already associated with the name of the folder. The names need not necessarily be long to fulfill the two characteristics. Two keys to good naming are consistency and descriptiveness. When you start working with another course or your own data, you should define a similar folder with subfolders for storage of your files. Similarly define the other three folders in the Rintrocourse folder. Enter another name for the folder, e.g. Rintrocourse.Įnter the new folder (click on the folder).Īdd a new folder (Command-Shift-n / Ctrl-Shift-n) and name the folder data. A new folder appears with suggested name ‘Untitled folder’ (‘Ny mappe’). In the Documents folder, press Command-Shift-n (Mac) / Ctrl-Shift-n (Windows). Windows users: Open Explorer (Stifinder).Ĭlick on your Documents folder (probably shown under in the sidebar to the left). Mac users: Open Finder (click the Finder icon in the Dock). If you need help on how to define the folders on your computer, click here Having defined the four subfolders in the Rintrocourse folder, using Finder (Mac) (or Explorer on Windows) the folders are shown as:įigure 1.1: The folder structure shown on a Mac. To further structure the contents of the folder, we recommend that you define four subfolders named data, code, report and material for storage of: Folder nameīackground material, lecture notes, explanatory solutions etc.įor this online introduction, you may define a folder named e.g. Rintrocourse in your Documents folder (NB: don’t use spaces in folder names, more details below). To avoid having a mess of files on your computer you should save the files used during the course in one folder. Before you start working with RStudio we recommend that you set up a folder (in Danish: mappe) with subfolders for storage of files on your computer:ĭuring your statistics course and when working on your own data, you will be working with many different files: data files, files containing R code, reports and files containing background material. How to interact with RStudio is explained in Chapter 1.3 below. Visit RStudio’s Download page and click the appropriate link under Installers that correspond to your operation system and version.Click on the link corresponding to your distribution of Linux.The version supports are mentioned under the “Latest Release” pane. Click on R-x.x.x.pkg - choose the link with the highest version number that supports the version of your operation system. ![]() Click on Download R x.x.x for Windows (x.x.x indicates the version of R).Click on install R for the first time placed in the text related to base.The following steps are for Windows users: Click on one of the links: Download R for MacOS, Download R for Windows or Download R for Linux, depending on your operation system.Choose a location near you (Denmark) in the appearing scroll-down menu.Visit R’s webiste and click on CRAN under Download located in the left pane.7.4 Colors, plot symbol codes and line types.7.1.6 Combining several plots in one graph.6.2 Mean, standard deviation and confidence interval.5.4.2 Grouped variables from numeric variables.2.5 Autocorrect and code autocompletion. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |