[R] Installing a "package" of my own functions

Robert King
Mon, 26 Oct 1998 05:31:45 -0000

I've just moved from R 0.49 to R 0.61 and I'm trying to get the
functions
I've made to work as a package.

I created a directory called ~/mine/R and put all the functions I wanted in
as files called  name.R
I created files DESCRIPTION and TITLE in ~/mine

Then as root I ran R INSTALL mine from ~
This gave :

solzhenitsyn:~king# R INSTALL mine
Installing package `mine' ...
R
DONE

No man pages found in package `mine'

On starting R I get the message
Error in parse(file, n, text, prompt) : syntax error on line 260

and the library doesn't seem to be there

What am I doing wrong?

----
Robert King, || The Society for the Preservation of Tithesis commends your
Environmental|| ebriated and scrutable use of "delible" and
"defatigable",
Science,     || which are gainly, sipid and couth.  We are gruntled and
Griffith Uni,|| consolate that you have the ertia and eptitude to choose such
Australia    || putably pensible tithesis, which we parage. - Evan Kirshenbaum

    Robert.King at ens.gu.edu.au    http://www.ens.gu.edu.au/robertk/index.htm