The miniR installation should be sufficient.
R should install into a folder called something like C:\Program Files\R\rw1030
(The version number may differ from 1030).
Open this folder, and copy into it the text files projman, setdates, and portfolio,
keeping these names.
The files can be opened with Notepad if required.
Start R, by clicking on the blue capital R symbol in this folder or on the desktop.
Type
> source("projman")
> source("setdates")
> portfolio <- read.table("portfolio", header=T)
The system is now ready for use. Try it out with
> projman(portfolio, E=4, Ntimes=10000, distname="gamma", dispersion=0.4)
(this may take a few seconds).
See the demonstration here for full use and description.
R can be exited with the command
> q()
Respond "yes" to "Save workspace image?"
to ensure that the functions projman and setdates remain installed in R.
If you answer "no", the commands source("projman")
and source("setdates")
will be needed again the next time you start R.
To run the system on new portfolios, copy the layout in the file
"portfolio".
E.g. copy the file "portfolio" in C:\Program Files\R\rw1030
to a new file called "newportfol", then edit the file newportfol
with the new information, using Notepad.
Start R, then type
> newportfol <- read.table("newportfol", header=T)
The PROJMAN system can be run on the new data with:
> projman(newportfol, E=..., Ntimes=..., distname=..., dispersion=...)
where the fields are completed as required.
R for Unix and Linux can be downloaded from: http://cran.r-project.org/.
Create a directory for project management (e.g.
mkdir projects).
Copy the text files projman, setdates, and portfolio into this directory,
keeping these names.
Start R from this directory, by typing R.
Type
> source("projman")
> source("setdates")
> portfolio <- read.table("portfolio", header=T)
The system is now ready for use. Try it out with
> projman(portfolio, E=4, Ntimes=10000, distname="gamma", dispersion=0.4)
(this may take a few seconds).
See the demonstration here for full use and description.
R can be exited with the command
> q()
Respond "y" to "Save workspace image? [y/n/c]:"
to ensure that the functions projman and setdates remain installed in R.
If you answer "n", the commands source("projman") and
source("setdates")
will be needed again the next time you start R.
To run the system on new portfolios, copy the layout in the file
"portfolio".
E.g. (at Unix / Linux prompt): cp portfolio newportfol
then edit the file newportfol with the new information.
Start R, then type
> newportfol <- read.table("newportfol", header=T)
The PROJMAN system can be run on the new data with:
> projman(newportfol, E=..., Ntimes=..., distname=..., dispersion=...)
where the fields are completed as required.