Displaying 20 results from an estimated 9000 matches similar to: "package documentation"
2008 Nov 10
1
Rd2dvi problem.
If I execute
R CMD Rd2dvi foo.Rd
I get messages of the form:
Converting Rd files to LaTeX ...
foo.Rd
Creating dvi output from LaTeX ...
Saving output to 'foo.dvi' ...
cp: .Rd2dvi4366/Rd2.dvi: No such file or directory
Done
xdvi-xaw: Fatal error: foo.dvi: No such file.
Indeed if I add the --no-clean flag and then cd to the .Rd2dvi<whatever>
directory, I find that there is no
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
2000 Jun 22
2
Intermediate LaTeX output generated by R CMD Rd2dvi
Is there any way of getting just the LaTex output which
R CMD Rd2dvi
generates on the way to produces a .dvi file,
which could then be incoorporated into another
document?
Thanks,
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330372
Institute of Public Health FAX 01223 330388
University Forvie Site
2011 Sep 15
1
how to install a locally built package
Hello useRs,
I am trying to put my funcs in a package to avoid clutter in my workspace as the funcs are now in .Rprofile.
All plain R code no compilations. Using win XP with a full cygwin install and R2.12
I first did
package.skeleton("mypack",list="getdfv", namespace=T) # just a single func
which created a folder with the required stuff in it.
Calling R CMD build creates a
2008 Mar 30
2
tests Rin Rout
Hi the list,
Some rumour (!) say that is it possible to prepare some tests for
checking our code using .Rin and .Rout. It seems to be a very good
practice, but I did not manage to find information on it.
So does someone know how it works ? What are we suppose to write in Rin ?
More precisely :
- I have a package myPack.r in directories ~/myR/myPack/R/
- I create the directory
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>>)}
2004 Jul 16
3
rd2dvi bug on windoze?
hi,
can anyone confirm the following problem? when i do
dos> rcmd rd2dvi --pdf my-package-name
i get
dos> Can't open perl script "c:\PROGRA~1\r\rw1091/bin/rd2dvi": No such file or directory
might the problem be in (double back slashes rather than forward slashes)
R-1.9.1\src\gnuwin32\front-ends\rcmdfn.c(251): strcat(cmd, RHome); strcat(cmd, "/bin/Rd2dvi.sh");
2005 Sep 06
1
bash help please
I'd like to make MikTeX the default TeX package in 2.2.0, but we still
need to let people use other packages. The problem is that MikTeX wants
a command line option --include-directory $R_HOME/share/texmf, while
other packages specify includes via environment variables, and barf when
they see the unexpected option.
The choice should be controlled by the user's settings in the MkRules
2006 Jun 13
2
Building R package: make pdf & _masked_by_GlobalEnv
Hi....
I am assembling an R package (under Windows XP, R v.2.3) and have a very
basic question. Running R CMD build does not generate a pdf. R CMD check
generates a .dvi, but I cannot figure out how to automatically create the
pdf. I thought from reading the "writing r extensions' manual that R CMD
build was supposed to generate the pdf. I am having no success using
various
2012 Dec 21
1
Rterm does not load personal library
Greetings,
I am trying to run a short script from a shell:
c:\projects\hell>Rscript --default-packages=mypack X:/4Stephen/commit/curve.R > X:/4Stephen/commit/run1.out
Loading required package: utils
Warning message:
package 'RODBC' was built under R version 2.12.2
Error: could not find function "normalize"
Execution halted
Warning message:
closing unused RODBC handle 1
2005 Jun 15
1
umlauts in Rd files
Hi
I'm having difficulty following the advice in section 2.7 of R-exts.
In one of my packages, there is a function called mobius().
I want to refer to it in the Rd file as the M??bius function, and to
illustrate the
M??bius inversion formula (just to be explicit: this is "Mobius" but
with two dots over the second letter).
R-exts section 2.7 gives
\enc{J??reskog}{Joreskog}
2004 Nov 19
1
Rd and document formatting
I am trying to compose some documentation for a package I hope to release
soon.
However when I do the following:
R CMD Rd2dvi --pdf mypackage.Rd
I get two mainly blank pages prepended to the top of the document - the only
text on either (at the top of the first page) is as follows:
hyperindex,colorlinks,pagebackref,linktocpage,plainpages=false,linkcolor=Blue
2003 Apr 17
4
A function as argument of another function
Dear all,
I would like to write a function like:
myfun<-function(x,fn) {xx<-exp(x); x*fn(xx)}
where fn is a symbolic description of any function with its argument to be
specified. Therefore
myfun(5,"2+0.3*y^2")
should return 5*(2+0.3*exp(5)^2),
myfun(5,"log(y)") should return 5*log(exp(5)) and so on.
I tried with "expression" and others, but without success.
2003 Dec 16
3
`bivariate apply'
dear all,
Given a matrix A, say, I would like to apply a bivariate function to each
combination of its colums. That is if
myfun<-function(x,y)cor(x,y) #computes simple correlation of two vectors x
and y
then the results should be something similar to cor(A).
I tried with mapply, outer,...but without success
Can anybody help me?
many thanks in advance,
vito
2005 Jan 04
1
Difference between "R CMD build --binary" and "R CMD INSTALL --build"
As the title suggests, when building R packages on Windows, what is the
difference between:
R CMD build --binary mypack
And
R CMD INSTALL --build mypack
?? The former is suggested by my previous notes and seems to work, and
the latter is suggested by
http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html, and also
seems to work.
Thanks in advance
Mick
2004 Dec 22
2
Creating packages in windoze: *** [indices] Error 1
Dear R community,
I am running R 2.0.1 on a Windoze XP OS. I recently upgraded from R 1.9x to
2.0.1 and I am currently
upgrading a my personal function packages. My other packages compiled
without
a hitch but I am having a difficult time with my largest package.
Can someone please help me with the following error message
"Error in parse(file, n, text, prompt) : syntax error on line
2004 Oct 26
2
vcov method for 'coxph' objects
Dear all,
The help file for the generic function vcov states
"Classes with methods for this function include: 'lm', 'glm', 'nls', 'lme',
'gls', 'coxph' and 'survreg' (the last two in package 'survival')."
Since, I am not able to use vcov.coxph(), I am wondering whether I am
missing something (as I suspect..)
regards,
vito
2007 Jul 26
2
Rd2dvi (PR#9812)
Is this a bug--
-------------------------------------------------------------------------------
<234>% R CMD Rd2dvi base.Rd
Converting Rd files to LaTeX ...
base.Rd
Can't use an undefined value as filehandle reference at
/opt/R-2.5.1/lib/R/share/perl/R/Rdconv.pm line 78.
ENCS is
Creating dvi output from LaTeX ...
Saving output to 'base.dvi' ...
cp: cannot access
2006 Apr 18
2
Wishlist for promptPackage / index
Hi R-devels,
would it be possible to enhance either promptPackage()
or the default indexing mechanism for packages
so that -- if it exists -- (the contents of) file
<pkgname>-package.Rd is sorted first in
* the .dvi / .pdf documentation file
* the .chm documentation file
* the package 00index.html documentation file
?
So far I found the following "hand-made" solution
2007 Apr 16
1
Sweave.sh shell script on CRAN
Dear developeRs,
Martin Maechler has suggested that I resend this email to R-devel
instead to R-packages for further comments and potential availability
for Windows.
----------------------------------------------------------------------
I have uploaded my Sweave (bash) shell script on CRAN. It is available at
http://cran.r-project.org/contrib/extra/scripts/
In short this script runs Sweave on