Menu

totally basic question - using packages

Help
Mark
2011-05-17
2013-01-15
  • Mark

    Mark - 2011-05-17

    I'm sorry if this comes across as extremely basic.  I was trying to analyze some data using the extremevalues package (and other related packages).  i originally tried it in R, then realized it was going to take me forever to understand how to even get my dataset in and enter commands using the base R program.

    Then I came across Rkward and thought my problems were solved.  Got Rkward running and was able to install extremevalues from within Rkward (or at least I think it installed).  I thought the the new package would then show up in the Analysis menu, but it didn't.  I am clueless as to how to "invoke" extremevalues (or any other analysis/package that is not in the main Analysis menu).  I checked almost every help and documentation source I could find, but nowhere could anything helpful.

    Any assistance much appreciated.
    Many thanks!
    -Mark

     
  • m.eik

    m.eik - 2011-05-17

    hi mark,

    well, unfortunately it takes more for something to appear in any menu in RKWard than to just install a plain R package. actually it's more the other way round: some developer must provide RKWard with a so called plugin, which adds new dialogs to the menu; and if that plugin depends on a certain R package, it will automatically guide you through the package installation. as long as there's no extremevalues plugin, it can't appear in RKWard, no matter how many packages you have installed.

    there is simply no way for any software to magically create a comprehensive GUI out of just a bunch of R functions… if you are an R beginner, you will have to learn the R basics first, anyways. there's a lot of how-tos and beginner's manuals out there. RKWard can still make your working with R much more comfotable (e.g., regarding your problem with data management, it has a powerful spreadsheet-like data editor and import dialogs for varous data formats), but you'll always have to know what you're doing!

     
  • Marc Schmid

    Marc Schmid - 2011-05-17

    Hi

    there are two things you should be aware of:

    1. to use a library you need to load it into the workspace before you use it:
    Console: library("libraryname")
    RKward: click workspace -> load/unload packages …

    2. I doubt that there will be an additional menu or menu-entry appearing in the RKward after you do so. RKward does not offer a graphical user interface for any package. The interface was designed for a certain set of packages (basic packages in R). If you use something special, you'll have to read about using R via commands. Don't worry ^^ to get some things working, this isn't that much of an effort - you'll find some tutorials on http://www.r-project.org/

    all the best,

    Marc

     
  • Mark

    Mark - 2011-05-17

    thank you very much for the replies.  at least i know i didn't do something wrong (or was oblivious to the obvious).

    i guess i'll start to wade into the wonder world of R …

    -mark