Yeah, i can write some roxygen2 which transformed to .RD files. The pdf of a package in the cran is not a vignette? That's to say some packages have not vignettes? And the pdf version is generated by me or cran ? If by me , how can i generate it from my .RD files. i am writing a package, source R codes are already written but i don't very clear about how to subbmmit to cran.
-- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-12-06 11:12:32, "Jeff Newmiller" <jdnew...@dcn.davis.ca.us> wrote: >You are not talking about a vignette. That is the pdf version of the help >files, automatically generated from the same Rd files as the HTML versions. > >If you are not going to write the Rd file directly, you probably want roxygen. >Markdown is weak on links and template structures, and Rd files use a lot of >them. RStudio makes using roxygen to generate Rd files easy, though raw Rd >files aren't that bad. Keep in mind that you will probably end up learning a >bit of Rd syntax even if you preprocess with roxygen, so don't be shy about >diving in to section 2 of the "Writing R Extensions" documentation. >--------------------------------------------------------------------------- >Jeff Newmiller The ..... ..... Go Live... >DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... > Live: OO#.. Dead: OO#.. Playing >Research Engineer (Solar/Batteries O.O#. #.O#. with >/Software/Embedded Controllers) .OO#. .OO#. rocks...1k >--------------------------------------------------------------------------- >Sent from my phone. Please excuse my brevity. > >On December 5, 2014 1:12:36 PM PST, PO SU <rhelpmaill...@163.com> wrote: >> >>Dear expeRts, >> I know we can build a vignette from .Rmd file, but i find a lot of r >>packages have R topic documented words then followed an index, then >>functions'document which are already described in .RD files. I mean >>that , i don't want to write a vignette , but rather using function >>documents from .Rd files, how can i do? >> TKS. >> >> >> >> >> >>-- >> >>PO SU >>mail: desolato...@163.com >>Majored in Statistics from SJTU >>______________________________________________ >>R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see >>https://stat.ethz.ch/mailman/listinfo/r-help >>PLEASE do read the posting guide >>http://www.R-project.org/posting-guide.html >>and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.