Lecture 02 - 102A_2_oh - UCLA Department of Statistics...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Jan de Leeuw Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Getting out and Getting Help Out ! Two things are extremely important for any software system. They are usually taken care of with menus items in a GUI (or in RStudio), but you may choose for the stark beauty of the command line. First, how do we get out ? In R just type q () or quit () at the prompt. Of course if R is running in a native GUI, there will be a “quit” menu item, which sends the q () command to R . Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 2
Getting out and Getting Help Help ! The preferred way to get help is to say, at the beginning of your session, help . start () . This will open a web browser with an interface to the complete R help system (including the manual and the FAQ). Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Getting out and Getting Help Help ! The preferred way to get help is to say, at the beginning of your session, help . start () . This will open a web browser with an interface to the complete R help system (including the manual and the FAQ). If you want information about a particular R command, say the command foo , you simply say help (foo) or abbreviated ?foo . Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 4
Getting out and Getting Help Help ! The preferred way to get help is to say, at the beginning of your session, help . start () . This will open a web browser with an interface to the complete R help system (including the manual and the FAQ). If you want information about a particular R command, say the command foo , you simply say help (foo) or abbreviated ?foo . The command help . search (‘‘foo ’’ ) will give a page will all names and keywords containing foo , either in the terminal or the browser if started. Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Foo, Bar, Baz, ... By the way, the somewhat mysterious looking use of the words foo, bar, and foobar throughout these slides is explained in considerable detail at http://www.faqs.org/rfcs/rfc3092.html Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 6
If we use RStudio or one of the native GUI’s, then opening the interface will already start an R interpreter in a dedicated window, or it will continue the previous session where we left off. In the terminal we start R by typing “R”. Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
If we use RStudio or one of the native GUI’s, then opening the interface will already start an R interpreter in a dedicated window, or it will continue the previous session where we left off. In the terminal we start R by typing “R”. The R interpreter then goes into its Read-Evaluate-Print loop and sits there waiting for you to type a command after the prompt “>”. Jan de Leeuw 102A_2 UCLA Department of Statistics
Image of page 8
If we use RStudio or one of the native GUI’s, then opening the interface will already start an R interpreter in a dedicated window, or it will continue the previous session where we left off. In the terminal we start R by typing “R”.
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern