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

Robert King king at ens.gu.edu.au
Mon Oct 26 06:31:45 CET 1998


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

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list