Displaying 20 results from an estimated 38 matches for "rd2html".
Did you mean:
r2html
2010 Aug 05
1
problem with dl tag in tools::Rd2HTML
I think tools::Rd2HTML has a problem with the dl tag.
Under some conditions, <p> and </p>, and <dl> and </dl> are not nested
correctly.
Here is an example from the "options" doc file:
--
<p>
<dl>
<dt><code>save.defaults</code>, <code>save.image.default...
2009 Oct 22
1
Error in link in Rd file stops package installation
...users/bill/packages/Rlib3/zoo'
* restoring previous
'/a/seafiler01.na.tibco.com/vol/vol2/users/bill/packages/Rlib3/zoo'
and I can grep around for 'if (nzchar(file))'. (Redefining q() in
.Rprofile to give a traceback can help in the search also.)
After the attached change to Rd2HTML I get
...
index html
is.regular html
lag.zoo html
Rd warning: ./man/lag.zoo.Rd:54: missing file link 'diff'
make.par.list html
me...
2009 Jan 28
3
putting match.call to good use
[This email is either empty or too large to be displayed at this time]
2011 Oct 17
1
What does \Sexpr[results=rd]{} exactly mean in Rd?
...hought I could
use an R code fragment to create an Rd fragment dynamically. Here is
an example, in which I was expected the output to be a describe list
<DL> in HTML, but it turns out not to be true.
(I was actually building a package with Rd's containing \Sexpr{}
instead of really using Rd2HTML(); the content was not rendered after
I run R CMD build.)
des <- "\\describe{\\item{def}{ghi}}"
con <- textConnection(c("\\title{abc}\\name{abc}",
"\\details{\\Sexpr[results=rd,stage=build]{des}}"))
z <- parse_Rd(con)
Rd2HTML(z, stages...
2009 Jun 19
2
Changes to Rd handling in R-devel
...st of your errors in one pass, rather than one
at a time. (Don't ignore the warnings -- you've lost some of your file
if you get them!) (Romain: yes, this is done using the special "error"
token in bison.)
- There are also a number of bug fixes to the rendering code (e.g.
Rd2HTML). I'm hoping to switch over soon to the new parser being used
to produce all man pages.
I need to write up more about \Sexpr, but the basic idea is that the
format is
\Sexpr{R code}
or
\Sexpr[options]{R code}
Currently the R code is not executed unless you do it manually, but once
we...
2009 Jul 15
1
Dynamic help pages
...ers are rendered at install time. Hopefully HTML rendering
will also be in place before the 2.10.x release. I can't see how CHM
and Latex help pages would ever be dynamic. Build time evaluation of
\Sexpr macros is not yet supported.
The only man page currently containing \Sexpr is ?tools::Rd2HTML.
Duncan Murdoch
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
...across with a bug while parsing Rd files.
Given is the following minimal Rd file:
----
\name{foo}
\title{foo}
\description{
#ifdef windows
win
#endifd
#ifdef unix
unix
#endif
}
----
By accident I have a typo at line 6, instead of having #endif I typed #endifd.
If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R will freeze and the only chance I have is to kill R.
As far as I can tell for checkRd() the problem is the internal function prepare_Rd() which runs for ever.
Is there a way to avoid having that freezing behaviour?
I'm on a Ma...
2011 Jan 28
1
generating HTML help pages
...docs in single page" and also index page + one html page per Rd
file.
Looking through documentation the only clues I could find were
* R CMD Rdconv --type=html FILE, which does not produce cross-links,
does not process multiple files, and does not produce index file
and
*
tools::Rd2HTML("pathtopackage/file.Rd",Links=findHTMLlinks("pathtopackage"));
this will do a better job by producing cross-links, but again, no
multiple files processing, and no index
This is not a big deal to make a loop over all files in my "man", and I
can copy "00Ind...
2016 Apr 06
0
HTML help -- as a single document for the entire package
...ouldn't be restricted by formatting
> based on the notion that it has to be printable to a page on paper.
>
> I was wondering if something like this exists ... and Duncan very
> quickly answered that for me.
If you wanted to write it yourself, you would need to modify the
tools::Rd2HTML function, and write a wrapper that called it for every Rd
page. This would be mostly straightforward: instead of working for
just one file, it would need to loop over all of them; it would also
need to handle links between topics differently than it currently does,
because some of them would...
2011 Feb 02
2
Using MathJax in R's help system
...rl:
http://picasaweb.google.com/gongyi.liao/RDevel#5568989227748103346
(the corresponding R.css in this srceenshot is obtained from
Yihui Xie
http://yihui.name/en/2011/01/customizing-the-theme-of-your-r-html-help/ )
I made a simple modification on
R-2.12.1/src/library/tools/R/Rd2HTML.R
with diff:
435c435
< of1('$')
---
> of1("<i>")
439c439
< of1('$')
---
> of1("</i>")
444c444
< of1('</p>\\[')
---
>...
2023 Feb 05
1
R2HTML doesn't split paragraphs originating from \Sexpr[results=rd]
Hello,
Here's an example that renders correctly using Rd2txt / Rd2latex / R
CMD Rd2pdf, but has problems under Rd2HTML:
\name{foo}
\title{foo}
\section{foo}{
This should be on a separate paragraph
This should be on a separate paragraph
This should be on a separate paragraph
\Sexpr[stage=render,results=rd]{
paste(
rep('Sexpr: This should be on a separate paragraph', 3),
collapse =...
2016 Apr 06
2
HTML help -- as a single document for the entire package
> On Apr 6, 2016, at 2:37 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> On 06/04/2016 4:17 AM, Holger Hoefling wrote:
>> Hi,
>>
>> I was wondering if there was an equivalent to the pdf-manual for
>> R-packages, but rendered as a single html page? I am looking for this as it
>> would make reading easier as
>> - no restriction to the
2010 Aug 04
1
printing html help to the terminal
I'm trying to get help to print the help pages in html format to the
terminal. This is in order to be able to see the html help files remotely.
If I do
printURL = function(file) {a=readLines(url(file));cat(a,sep="\n")}
options(browser=printURL)
options(help_type="html")
then invoking help with
?print
gets stuck. I think what happens is that the web server run by R that
2010 Mar 29
3
how to update R files included as"source" ?
Hi all,
I have a main file main.R in which I include some other R files. For
example, in main.R I have: source("functions.R").
When I modify the file "functions.R", I'd like R to take into account the
changes and to reload the file functions.R when I run main.R
Is it possible?
Thanks,
Arnaud
[[alternative HTML version deleted]]
2011 Feb 25
1
Sexpr problem
Hi.
I am having difficulty making \Sexpr work as desired.
Specifically, the pdf and the text versions of the help system
differ, and I can't reproduce the example on page 63 of
the R Journal article by Murdoch and Urbanek (Vol 1/2,
December 2009).
Is there an example package that I could examine for Best Practice?
thanks
--
Robin Hankin
Uncertainty Analyst
hankin.robin at gmail.com
2009 Mar 05
1
Chunk of text won't show up when compiling Rd file
Greetings -
I am trying to document the "value" section of a function. The function
returns a list, but the list itself also has attributes. I would like to
itemize the list entries, and itemize the attributes, but in between I would
like to have a sentence or two about the attributes in general. However,
for some reason this intermediate sentence won't show up in the compiled
2010 Feb 25
6
Building R packages in Windows 7
Dear useRs,
I'm having trouble building R packages in Windows 7 regarding HTML help
Workshop.
Pointing PATH to c:\Program Files\HTML help Workshop does work in Windows
(e.g. Vista) and does not in Windows 7.
Some tips??
Kind regards,
--
Dr Eric B Ferreira
Exact Sciences Department
Federal University of Alfenas
Brazil
[[alternative HTML version deleted]]
2011 Sep 30
0
R 2.13.2 is released
...ting pch = '.' now guarantees at least a one-pixel dot if cex
> 0.
o The very-rarely-used command-line option --max-vsize was
incorrectly interpreted as a number of Vcells and not in bytes as
documented. (Spotted by Christophe Rhodes.)
o The HTML generated by Rd2HTML() comes closer to being standards
compliant.
o filter(x, recursive = TRUE) gave incorrect results on a series
containing NAs. (Spotted by Bill Dunlap.)
o Profiling stats::mle() fits with a fixed parameter was not
supported.
(https://bugs.R-project.org/bugzilla3/sh...
2011 Sep 30
0
R 2.13.2 is released
...ting pch = '.' now guarantees at least a one-pixel dot if cex
> 0.
o The very-rarely-used command-line option --max-vsize was
incorrectly interpreted as a number of Vcells and not in bytes as
documented. (Spotted by Christophe Rhodes.)
o The HTML generated by Rd2HTML() comes closer to being standards
compliant.
o filter(x, recursive = TRUE) gave incorrect results on a series
containing NAs. (Spotted by Bill Dunlap.)
o Profiling stats::mle() fits with a fixed parameter was not
supported.
(https://bugs.R-project.org/bugzilla3/sh...
2013 Mar 01
0
R 2.15.3 is released
....)
o Under Windows, file.link() and file.symlink() used the link name
twice, so would always fail. (Reported by Rui Barradas/Oliver
Soong).
o summaryRprof(memory = "both") mixed up the units of Vcells and
Ncells: it now works in bytes. (PR#15138)
o tools::Rd2HTML() would sometimes delete text. (PR#15134)
o plot() failed for "table" objects containing just one entry.
(PR#15118)
o embedFonts() needed to quote some filepaths. (PR#15149)
o parallel::mccollect() handled NULL returns incorrectly (removing
the element rather t...