Displaying 20 results from an estimated 1000 matches similar to: "Writing Rd files dor package"
2008 Feb 05
1
Compile Rd file
Hello,
I am trying to compile a file .Rd into .html using R CMD Rdconv -t=html
/file.rd/>/file.html./ It seems that the process works ok but instead of
having for example loo.cv(NMRTools) at the top of the html file I have
loo.cv{unknown}. Any ideas on how to solve this?
Best,
Dani
//
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la
2002 Jul 13
2
Fail to convert any .Rd file
Hello, experts!
I've tried to convert MASS.Rd, for instance:
R CMD Rdconv -t txt MASS.Rd -o MASS.txt 2>MASS.log
Comp was thinking for a long, about 30s on Linux 600MHz/128M,
but after that R didn't produce the result MASS.txt file, but
very large log. Here is its header:
******* Syntax error: mismatched or missing brackets in
/-----
\name{Aids2}
\alias{Aids2}
\title{
2003 Sep 09
4
How to convert a Rd file into multi html files?
Hi,
I wrote all documents for each objects in my package in one .Rd file. Now I can't convert the .Rd file into multi html files such that a html file corresponds a object in package.
The command I used was ' R CMD Rdconv -t html foo.Rd'. It just converted the document of first object in .Rd into html format.
I had to write a perl script to satisfy myself. But is there a more direct
2011 Oct 12
3
trace an Rd conversion error in R cmd check
Hi All,
Apologies if this is a very naive question. Is there a way to see the
particular Rd file being processed right before a warning/error
occurs? As far as I can tell, all my .Rd files use have names and
titles and they are unique between Rd files (sometimes in a file I use
something like \name{foo} \title{Foo}). I seem to be able to convert
files to latex using: R CMD Rdconv --type=latex
2007 May 01
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9649)
On Mon, 30 Apr 2007 bill at insightful.com wrote:
> On Tue, 10 Apr 2007 timh at insightful.com wrote:
>
> > I've created a .Rd file (below), then converted that to .sgml using
> > R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
> > The output (shown below) is missing some of the sections:
> > arguments
> > seealso
> > examples
> > If
2001 Feb 23
3
Stuck in the Rd
Having almost written a Tcl program to convert S help to Rd format, I
have one problem that I have failed to solve after reading 'R-exts'. Is
there a tag something like '\item' that works in a similar way but
doesn't have to be after an '\arguments' or '\value' tag? I'm trying to
include sections on 'MODEL PARAMETERS' and 'DESIGN
2005 Jul 11
2
ActiveState Perl, cygwin and R (was: cygwin tar?)
Hello!
I have just read mails in thread
<http://tolstoy.newcastle.edu.au/R/devel/04a/0583.html>
about problems with Cygwin and Rtools. I had the same problems and kept
just the newest cygwin1.dll and things seem OK now. However I
currently hit the problem with Perl (I have ActiveState and Cygwin Perl
installed). When I tried to work with 'Rdconv' in Cygwin I get the following:
$
2005 Jul 27
1
how to generate 00Index.html from Rd or html
I'd like to generate 00Index.html for a bunch of libraries for my
R search page. I have now almost all the html help files for
individual functions, even for packages that won't install on my
computer (e.g., because they are specific to Windows). I made
these using Rdconv. But that won't make the 00Index file, and
neither will Rdindex, which makes a text file. I'm probably
2000 Oct 20
1
How to convert .Rd format in windows
Thanks for everyone who answered my query.
I put an extra line in AUTOEXEC.BAT to specify the R_HOME variable.
And the Rdconv command works perfectly if I execute the AUTOEXEC
from DOS prompt. However, if I execute the AUTOEXEC from inside windows
system the command does not work.
Thanks,
Agus
------------------------
Agus Salim
PhD student
Dept. of Statistics
University College Cork,
Ireland
2003 Dec 11
1
Using \leq for <= in Rd files
Hi,
When writing formulae in Rd files I use \leq to get a less-than-or-equal-to
sign, as this is what the LaTeX references I consulted suggested. This works
correctly for the PDF output (Rcmd Rd2dvi.sh --pdf), however when the Rd
file is converted to text or html this command is converted to "<=q".
A workaround is to use \le instead of \leq which works with my LaTeX
distribution
2002 Jan 09
3
Build R Packages (man)
Hi there,
I'm trying to get the manual for an R package (that I'm creating) to
work...
Firstly, I created the *.Rd files (by following the instructions in
"Writing R Extensions" and using prompt() in R, then edit the *.Rd
files. I then copy them into the "pkg/man" directory as suggested by the
manual. However when I load the library (successfully) in R, I cannot
2006 Jul 01
1
Rdconv --type=Ssgm drops singleton keywords (PR#9051)
If an Rd file has only one keyword entry then
the Splus sgm file made with Rdconv --type=SSgm
has no keyword entries.
To reproduce:
Use prompt() to make a skeleton help file
R> f<-function(x)log(1+x)-log1p(x)
R> prompt(f)
Created file named 'f.Rd'.
Edit the file and move it to the appropriate directory.
R> q()
It has 2 \keyword entries in it
2003 Jul 15
2
Undefined subroutine &R::Rdconv::fill (PR#3485)
Full_Name: michael klinglemsith
Version: R-1.7.1
OS: linux
Submission from: (NULL) (134.134.136.4)
I run: (note: ] is my unix prompt)
]./configure
It seems to work, here are the messages I get from the end of configure:
R is now configured for i686-pc-linux-gnu
Source directory: .
Installation directory: /usr/local
C compiler: gcc -D__NO_MATH_INLINES
2010 Jun 09
1
makign help files by hand
Can someone tell me how to make up (eg) a library's html help files
by hand? I think I ought to be able to use RCMD Rdconv for this but
(R-2.10.0, MS-win) when I type (in a dos session) "rdcmd rdconv
--help" I get a message to the effect that a perl script rdconv can't
be opened.
Can I do this from within R itself? And if so, how (in particular,
what is the target file to
2003 Dec 09
3
latex problem with \preformatted (PR#5645)
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C3BE9C.3FB5BC1A
Content-Type: text/plain; charset="iso-8859-1"
There is a small bug in the implementation of \preformatted in R 1.8.0:
The closing "\end{verbatim}" needs to be followed by a newline, since my
latex
2007 Apr 30
1
R CMD Rdconv drops sections: arguments, seealso, examples (PR#9645)
On Tue, 10 Apr 2007 timh at insightful.com wrote:
> I've created a .Rd file (below), then converted that to .sgml using
> R CMD Rdconv --type=Ssgm combn.Rd > combn.sgml
> The output (shown below) is missing some of the sections:
> arguments
> seealso
> examples
> If instead I convert to .d (below), the same sections are missing,
> and the "note"
2003 Oct 29
0
Rdconv Rd->Ssgm doesn't convert aliases (PR#4838)
Hi,
When using Rdconv to convert R documentation to S-PLUS SGML documentation,
the \name{} is converted to <s-topic> but the \alias{}es are not. Below is a
(crude) patch to fix this problem:
Compare: (<)D:\Apps\R\R-1.8.0\share\perl\R\Rdconv.pm.orig (88302 bytes)
with: (>)D:\Apps\R\R-1.8.0\share\perl\R\Rdconv.pm (88481 bytes)
3188c3188,3197
< $retval .=
2007 Aug 15
1
Error in building R
Hello,
I am upgrading to the current R 2.5.1 under Sun Solaris 8. I call the
configure script with the --without-readline flag, and it works
fine. Then, when I invoke make, I get this kind of error messages:
make[2]: Entering directory `/usr/local/R/R-2.5.1-inst/src/library'
>>> Building/Updating help pages for package 'base'
Formats: text html latex example
2001 Mar 09
1
bringing up R documentation for my functions
Colleagues
----------------------------------
System info:
R version rw1022 on NT
ESS v. 5.1.18 using emacs ver. 20.4
----------------------------------
I want to documnet a function I've written. I used
prompt(function.name)
to create an ascii R documentation file. I moved the .Rd file into a
subdirectory called
rw1022/library/my.functions/man
Now I want to load the help using
2003 Jul 04
2
(PR#3400)
Martin Maechler asked me to restate my problem.
Compiling the file (slightly modified w.r.t. the formerly
attached file) that can be found at
http://www.geo.uni-bayreuth.de/~martin/filetransfer/xswms2d.Rd
terminates with the error message
******* Syntax error: mismatched or missing brackets in
/-----
.....
\-----
when compiled by
R CMD Rdconv -t txt xswms2d.Rd
However, the file does