This is the Linux app named ProgrammingAssignment2 whose latest release can be downloaded as ProgrammingAssignment2sourcecode.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named ProgrammingAssignment2 with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
ProgrammingAssignment2
DESCRIPTION
This second programming assignment will require you to write an R function that is able to cache potentially time-consuming computations. For example, taking the mean of a numeric vector is typically a fast operation. However, for a very long vector, it may take too long to compute the mean, especially if it has to be computed repeatedly (e.g. in a loop). If the contents of a vector are not changing, it may make sense to cache the value of the mean so that when we need it again, it can be looked up in the cache rather than recomputed. In this Programming Assignment you will take advantage of the scoping rules of the R language and how they can be manipulated to preserve state inside of an R object.
Features
- Provides R script templates for a programming assignment
- Demonstrates lexical scoping concepts in R
- Implements caching to avoid redundant matrix inversion
- Includes instructions for modifying provided functions
- Helps learners practice functional programming in R
- Serves as coursework material for the Coursera specialization
Programming Language
R
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/programmingassignment2.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.