[R] Rd Files?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Mon Dec 1 14:26:36 CET 2003


On Mon, 1 Dec 2003, Wolski wrote:

> Hi!
>
>
> Seems to me that package.skeleton(...) does not like assignment functions.
> System: Windows 2000

And that's your problem!  It's a problem with your OS, not
package.skeleton. And it is known.

>
>
> package.skeleton(name="testpack",list=ls(),path="c:/home/wolski/devel",force=T)
> Creating directories ...
> Creating DESCRIPTION ...
> Creating READMEs ...
> Saving functions and data ...
> Error in file(file, ifelse(append, "a", "w")) :
> 	unable to open connection
> In addition: Warning message:
> cannot open file `c:/home/wolski/devel/testpack/R/[[<-.caliblist.R'
>
> Eryk
>
>
> *********** REPLY SEPARATOR  ***********
>
> On 12/1/2003 at 1:08 PM Prof Brian Ripley wrote:
>
> >?prompt
> >?package.skeleton
> >
> >and do read `Writing R Extensions'
> >
> >
> >On Mon, 1 Dec 2003, Wolski wrote:
> >
> >> Hi Kjetil!
> >>
> >> I have an *.R file with a lot of functions and I am looking for a script
> >> which would generate the skeleton of an Rd file for all functions found
> >> in the R file. It will be nice if the can already generate the
> >> "name","usage" and the "arguments" field from the source so that i have
> >> to edit only the description and examples....
> >>
> >> Eryk
> >>
> >>
> >>
> >> *********** REPLY SEPARATOR  ***********
> >>
> >> On 12/1/2003 at 8:44 AM kjetil at entelnet.bo wrote:
> >>
> >> >On 1 Dec 2003 at 13:21, Wolski wrote:
> >> >
> >> >It is not entirely clear what you want, but if you want to translate
> >> >S[-Plus] help files to Rd format, there is [windows]
> >> >Rcmd Sd2Rd
> >> >[unix]
> >> >R cmd Sd2Rd
> >> >
> >> >Kjetil Halvorsen
> >> >
> >> >> Hi!
> >> >>
> >> >> Are there scripts or packages for generating Rd files out of "S3" code
> >> >> on cran? Has any one written such scripts (e.g. in Perl?) and are
> >> >> willing to share them?
> >> >>
> >> >> Thanks in advance.
> >> >>
> >> >> Eryk.
> >> >>
> >> >> Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate
> >> >> Genomics Ihnestrasse 73 14195 Berlin          'v' tel:
> >> >> 0049-30-84131285               /   \ mail: wolski at molgen.mpg.de
> >> >> ---W-W----
> >> >>
> >> >>
> >> >>  [[alternative HTML version deleted]]
> >> >>
> >> >> ______________________________________________
> >> >> R-help at stat.math.ethz.ch mailing list
> >> >> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >>
> >>
> >>
> >> Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate
> >Genomics
> >> Ihnestrasse 73 14195 Berlin          'v'
> >> tel: 0049-30-84131285               /   \
> >> mail: wolski at molgen.mpg.de        ---W-W----
> >http://www.molgen.mpg.de/~wolski
> >>
> >> ______________________________________________
> >> R-help at stat.math.ethz.ch mailing list
> >> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >>
> >>
> >
> >--
> >Brian D. Ripley,                  ripley at stats.ox.ac.uk
> >Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> >University of Oxford,             Tel:  +44 1865 272861 (self)
> >1 South Parks Road,                     +44 1865 272866 (PA)
> >Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
>
>
> Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate Genomics
> Ihnestrasse 73 14195 Berlin          'v'
> tel: 0049-30-84131285               /   \
> mail: wolski at molgen.mpg.de        ---W-W----    http://www.molgen.mpg.de/~wolski
>
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list