How to get, install, and use the mh1823 POD Software,
... for Macintosh users
read all the instructions before continuing.)
First, get things ready:
Since the mh1823 POD algorithms use R for all data manipulation, statistical analysis, and graphics ...
- Download and install R from https://www.r-project.org
- Download and install XQuartz-2.7.9.dmg that R uses for graphics on Macs (https://www.xquartz.org)
- Download and install javaforosx.dmg for Java support of R packages (Google it)
- Next, send me an e-mail
request for the
mh1823 POD package and example datasets. (I try to
respond as soon as the request arrives.)
The rest is easy:
Using the Finder, Documents menu, create a new folder called
Rename the attached file from ngzip to .zip, and unzip it in
your R-Projects folder. That will create a folder called
"mh11823 v5.2.1 STANDARD. DO NOT UNZIP the zip file or the
tarball within. R will do that.
Move the mh1823_5.2.1.tar.gz tarball to the R-Projects folder.
Start R from the Macintosh Finder, Applications menu, invoke R.
... from within R, download and install packages
tcltk, tcltk2, survival, xlsx from a CRAN (Comprehensive R Archive Network)
mirror near you. To do that, choose the Packages & Data menu in R and then the Package installer.
This will open a window showing the Packages Repository.
Choose CRAN (binaries)
as the source, Get the list of packages, and install tcltk, tcltk2, survival, xlsx
using the blue "Install" button. Be sure to check the Install Dependencies box.
.... from within R, from the Packages AND Data menu in R and then the Package installer, now point
to the Local Source Package and install mh1823_5.2.1
Now you have everything set up. To run a package you must first load it.
- From the R console, load mh1823. To do that, choose Packages & Data, Package Manager
and check the box for mh1823, and after it is loaded the mh1823 stand-alone TclTk menu will appear.
If it hides, you can always find it with the XQuartz button.
- Also, it's a good idea to close the
Packages window when you've finished starting mh1823, and always keep the R console visible because
that's where the program tells you what's going on.
Now you are ready to work through the Example Datasets. (Please do that.)
I am very (very) new to Mac (I used a 6 year old borrowed laptop
to check this out) so I would appreciate any feedback, positive or
negative, concerning the Mac setup. Mac user tips would be useful
too, if you have any.
Note on firewalls:
- Downloading software on the company computer may run afoul of
enterprise policy. One remedy is to install R and
the mh1823 POD package on a 1 gig memory stick.
(It takes about 1/4 gig total.) Then you can analyze NDE data, and
produce POD vs. size curves, on any computer - plug in the stick and
you're good to go. All the analysis, results and plots will be on
Please send bug reports, comments,
and suggestions to me: