If I download an \"package-name\".tar.gz file from CRAN website, gunzip and untar it into a custom directory, how do I load that package from within R? I cannot extract the
You need to install the package to a directory to which you have permission to read and write. First, download the package to an easily accessible directory. If you're on Linux/Mac, try creating a directory called 'rlib' in your home directory.
cd ~; mkdir rlib
R CMD INSTALL MSBVAR.tar.gz --library=rlib
If you would prefer to install the package from R, do this:
## From CRAN
install.packages("MSBVAR", lib="~/rlib")