![]() ![]() If you're working on a long analysis, this makes it easy to execute the entire code all at once or run specific sections of it as you go along. When you execute code in the editor, the code automatically appears in the console. The source editor and the console also work together in RStudio. If you save your script in the editor, you can access your work again at any time and show others how you did it. As we've discussed, it's important to be able to reproduce and share all the steps of your analysis. You can type commands directly into the console, but they'll be forgotten when you close your current session. There are two main ways of writing code in RStudio: using the console or using the source editor. You'll use the source editor when working with R Scripts. Above the console in the upper left is the source editor pane. You'll need to install and load the palmer penguins dataset if you haven't done so already. For example, we can tell R to show us a summary of the penguins data that we used in an earlier video to create visuals. As a quick refresher, the console is the place where you give commands to R. You might recognize the R console from an earlier reading. We'll start on the lower left and move clockwise from there. Now that we've got all four panes open, let's explore each of them. Click on the Panes button for more feature options. You can also click and drag the borders of the panes to adjust their size. You can make the panes smaller or larger by clicking on the minimize or maximize buttons at the upper right of each pane. To learn more check out Keyboard Shortcuts Help. Just click on File in the menu, then select New File and R Script. ![]() A fourth pane is hidden by default, but it's easy to open. The first time you open RStudio, you'll see three panes. Each pane helps you perform different functions. The RStudio environment has four main windows called panes. So let's log into RStudio now and explore. In an earlier reading, you learned how to access RStudio. Just as a speedometer and navigation system make driving much easier, RStudio's environment makes using R much easier. It lets you tell the engine what to do and helps you get to where you want to go. RStudio is kind of like the accelerator, the steering wheel, and dashboard all-in-one. You can think of R and RStudio as different parts of this car. It'll help maximize your productivity as a data analyst. RStudio is built specifically for use with R. RStudio also includes an editor for writing code, and tools for managing your data and creating visuals. The R console which we explored earlier is one part of this environment. This means that RStudio brings together all the tools you might want to use in a single place. RStudio's an IDE or integrated development environment. Later on if you want to learn more, you'll find resources on how to download and install RStudio on your own device. Feel free to use the platform that works best for you. The examples we'll look at are from RStudio Cloud, but RStudio works in a similar way across all platforms. Mempelajari tentang R Markdown untuk mendokumentasikan pemrograman R. Menemukan opsi untuk menghasilkan visualisasi di R. Mendapatkan pemahaman tentang dataframe dan penggunaannya di R. Mengeksplorasi konten dan komponen paket R termasuk paket Tidyverse. Mengeksplorasi konsep dasar yang terkait dengan pemrograman di R. Menemukan cara menggunakan RStudio untuk menerapkan R ke analisis Anda. Mengkaji manfaat menggunakan bahasa pemrograman R. Pembelajar yang menyelesaikan program sertifikasi ini akan memiliki bekal yang cukup untuk melamar kerja sebagai analis data tingkat pemula. Para analis data Google akan mengajarkan dan memberi tahu Anda berbagai cara untuk menyelesaikan tugas umum analis data dengan menggunakan peralatan dan sumber daya terbaik. Anda akan menemukan bagaimana R memungkinkan Anda membersihkan, mengatur, menganalisis, memvisualisasikan, dan melaporkan data dengan cara baru dan lebih ampuh. Materi ini juga akan membahas aplikasi perangkat lunak dan alat yang unik untuk R, seperti beberapa paket R (R packages). Anda akan mengetahui cara menggunakan RStudio, lingkungan yang memungkinkan Anda bekerja dengan R. Dalam materi ini, Anda akan belajar tentang bahasa pemrograman yang dikenal sebagai R. Materi ini akan membekali Anda dengan keterampilan yang dibutuhkan untuk melamar pekerjaan analis data tingkat pemula. Ini adalah materi ketujuh dalam program Google Data Analytics Certificate (Sertifikat Analisis Data Google).
0 Comments
Leave a Reply. |