Displaying 20 results from an estimated 40000 matches similar to: "Don't test my example; list of Rd macros?"
2005 Sep 15
4
Rd and guillemots
First of all, thanks to those who've set up R to work so smoothly with
Miktex-- even a total Latex bunny like me got it to work instantly, so
that for the first time I'm able to run my Rd files through the Latex
side of RCMD CHECK.
Now the question/buglet. One of my Rd files contains the following:
\code{mlazy( <<objname1>>, <<objname2>>, <<etc>>)}
2003 Dec 23
1
Rd.sty not found -
Hi
I am still trying to wrap up a package using Rcmd (in windows 2000 professional with R 1.8.1). I have made some progress - and now at least Rcmd check works - it still giving me an error message when it creates latex help files though. Thus I get:
c:\rpack> Rcmd check test
* checking for working latex ... OK
* using log directory 'C:/rpacks/test.Rcheck'
* checking for file
2003 Jun 02
6
Building an R package under Windows NT
I am trying to build a R 1.7 package under Windows NT. I created the
DESCRIPTION file, the RD file and added the code to the R folder. I also
downloaded and installed the Rtools package and have Perl 5.0. I know that
Perl, Miktex, and gcc are working. I also have my PATH variable set
correctly. I can fake install my package by removing the *.R from the code
file, using Rcmd Rdconv to create
2001 Oct 08
2
Rcmd
Hola!
I have problems running Rcmd check (windows 98, R1.3.0)
It ckoks on an example running a function which calla bringToTop().
This makes an error because Rcmd check runs the examples with the
postscript device, and bringToTop does not make sense with that device.
Howevere, my function is for interactive use, and needs bringToTop.
How can this be used in examples and still have the
2001 Apr 12
2
Re: stop() and Rcmd (PR#910)
On Thu, 12 Apr 2001, Prof Brian Ripley wrote:
> On Thu, 12 Apr 2001 ligges@statistik.uni-dortmund.de wrote:
>
> > "Rcmd check" on NT does not catch errors generated by stop() in files
> > in the tests directory. Thus the fact that all the tests complete does
> > not mean they completed succesfully.
In my experiments it *does* put out an error but continues.
2002 Feb 11
1
Code in Rd help files other than in \examples{}
I am stumped in determining the proper syntax for including displayed S code within an R .Rd documentation file, in places other than \examples{}. I have tried
\code{
line 1
line 2
}
but the lines get run together. When I terminate the lines by \cr, the "\cr" actually appears in the resulting html file. This is all inside a customized \section{}.
On a related note, what is
2011 Jun 05
1
tag \href not recognised in rd doc
Hi,
I have a trouble trying to use \href in a rd doc. See example below:
\references{
\href{http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2702787/}{Vaniscotte
A., Pleydell D., Raoul F., Quere J.P., Coeurdassier M., Delattre P., Li
T., Qian W., Takahashi K., Weidmann J.C., Qiu J., Giraudoux P. 2009
Modelling and spatial discrimination of small mammal assemblages: an
example from western
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
2009 Nov 08
1
rd doc truncated with R 2.10.0
Hi,
I am routinely compiling a package and since I have moved to R 2.10.0,
it troncates some section texts in the doc:
With the following section in the rd file:
\details{
The function calls gpsbabel via the system. The gpsbabel program must
be present and on the user's PATH for the function to work see
<http://www.gpsbabel.org/>. The function has been tested on the
following
2004 Jun 15
2
To run or not to run examples, CTFS package
Hi again;
I have placed many examples in the CTFS Rd pages because my audience really really likes lots of examples in order to understand the options available in a functions. At this time I have set them all to \dontrun{}.
however, this isn't because the example command line with its function and options won't work, but rather that CTFS specific datasets must exist to have the
2003 Oct 12
6
Rd problems
Hola!
I have the following in a .Rd file:
\eqn{\mbox{coef} = c(\mbox{coef}[1],\ldots, \mbox{coef}[n]) }
{coef = c(coef[1], coef[2], \dots, coef[n])}
However, both arguments come out in the latex file!
Whats happening?
Kjetil Halvorsen
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
> This can be considered good news. You have just successfully performed
> the job that is normally done by R CMD SHLIB when installing source
> packages or running inline C++ code. The environment variables, at
> least inside your running R session, are completely fine.
>
> Now we need to find out why R CMD SHLIB itself fails without producing
> any output. Do you get any
2003 Jul 09
2
Packages, generics, S3 and S4
My question has two parts.
The first is with regard to the frame or environment in which generic
functions are defined in packages. It seems as though they are defined
(i.e. exist as objects) in frame 1, even when defined in a package.
The following is a short example:
setClass("track",representation(x="numeric",y="numeric"))
plotTrack <- function(x,y,...)
2003 Jul 29
2
Problems with Rcmd build --- windows
Hola!
I am using Rcmd build --binary ... on a windows XP system, and am
encountering a strange problem. Rcmd claims there are syntax errors
in one of mine .Rd files
******* Syntax error: mismatched or missing brackets in
I take "brackets" to mean [], and I have none of them in the file,
and don't think they are needed. Rcmd prints out the offending file,
and in the printout I
2005 Feb 10
2
Problem with "R CMD Rd2dvi": Rd.sty not found
Hi,
I run into a problem with "R CMD Rd2dvi" command: it gives me "File `Rd.sty'
not found" error (See the output message on the bottom). I get the same
error when running "RCMD check". My system is: Windows 2000, R version
2.0.1, MiKTeX version 2.4. I do have a Rd.sty file in R_HOME/share/texm
directory.
I looked through newsgroups for any related discussions
2004 May 27
2
Rcmd check, windows xp, perl (2)
Thank you for your help. I??m sorry that I found not the right
entries in the R-devel. Now, I have again a problem.
After installing all needed things I have run
Rcmd INSTALL -l ../mypkg and respectively
make mypkg
By running Rcmd check I get following message:
* checking for working latex ...Error: environment
variable TMPDIR not set (or set to unusable value) and no
default
2004 May 27
2
Rcmd check, windows xp, perl
Dear R users,
With package.skeleton() i have produced successfully my .Rd??s, ...
Now i will run Rcmd check on ..\R\bin\
But Rcmd check (and build) on my Windows XP does not work.
It`s a problem with "perl".
(Translated i get the message:
The instruction Perl is either wrongly written or could not not be found.)
In help("check") I found this:
"These may not work
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
? Thu, 31 Aug 2023 14:01:54 +0000
Christophe Bousquet <chr_bousquet at protonmail.com> ?????:
> So when I run the commands, I get this output. I honestly have no
> clue whether this can be considered as something useful or not :-/
>
> ```
> > tools:::.shlib_internal(c('-n', 'hello.c'))
> make cmd is
> make -f
2003 Feb 19
3
Rcmd check does not recognize formal generic function as code object
Dear all,
I am trying to write a package using formal methods and classes from the
methods package. I have not been able to get the package to pass rcmd check
without warnings, because rcmd check does not recognize my generic
functions as code objects and therefore queries why they have documentation
entries.
I have isolated the problem in a very small trivial example which I give
below. I
2005 Jan 08
2
translate nroff .d or .sgml files to .rd files
Dear list,
I have some help file for S-Plus 2000 in .d and .sgml format. Is there a
way to translate these files to .Rd files to use in an R package?
Thanks Fredrik Lundgren