Displaying 20 results from an estimated 500 matches similar to: "Rd.sty error"
2005 Apr 28
1
help files and vignettes
Hi all,
I'm writing a vignette for my package, and I would like to include some of
the package help files in there as well. Is there an easy way of doing so?
I tried using R CMD Rdconv to generate latex files from .Rd files but I am
not sure how to include these into a .Rnw file (ie the vignette source). The
resulting file from Rdconv do not readily compile using latex ...
The other option I
2002 Nov 13
1
Package documentation and rd.sty
Hi all,
I've got a basic question regarding package documentation and rd.sty. I
wrote my first own package, and now I would like to place the documentation
into the appendix of another LaTex document. Seemingly I cannot simply
\usepackage{Rd}, as this will modify the page-settings of my document. Is
there a minimum style file which will just define the environments and
commands needed for
2005 May 22
3
constraints
Is there a package in R that handles general linear (in-)equality + box
constrained optimization?
If it is not there, could anyone advise me which way to go?
And/or point me to packages that solve these problems partially?
best, ingmar
--
Ingmar Visser
Department of Psychology, University of Amsterdam
Roetersstraat 15, 1018 WB Amsterdam
The Netherlands
http://users.fmg.uva.nl/ivisser/
tel:
2005 Mar 22
5
Convert timeseries to transition matrix
Hi All,
Does someone have an idea of how to cleverly convert a categorical
timeseries into a transition matrix?
Ie, I have something like:
x<- c(1,1,2,1,1,2,2,2,1,2),
And I want a matrix with counts and/or probabilities:
> tr <- matrix(c(2,3,2,2),2,2)
> tr
[,1] [,2]
[1,] 2 2
[2,] 3 2
Meaning that there are two transitions from 1 to 1, two from 1 to 2, three
from 2 to 1
2008 Feb 29
8
Running LaTeX dvi previewer on MacOS X
Several people have given great advice on how to successfully use X11 on
Mac to so we can use the dvi previewer to view latex() output from
Hmisc. Now after a version upgrade of X11 and X11sdk we are getting
lots of crashes. I noticed a Mac dvi previewer with an executable
stored as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop
Can we bypass X11 problems and point Hmisc to this
2004 Jul 26
0
choosing constraints for function optim method="L-BFGS-B" whenthey are in terms of other parameter values
Hi Tom,
I am not entirely sure what the problem, you haven't been very specific.
If you want general linear constraints on your parameters, ie linear combinations of
parameters summing to some value, constrOptim may be of help.
hth, ingmar
Ingmar Visser
Developmental Processes Research Group
Department of Psychology
University of Amsterdam
http://users.fmg.uva.nl/ivisser/
-----Original
2013 Nov 30
1
Setting locale to support UTF-8
In Sweave, if the locale is set to C, non-ASCII characters are not
handled nicely even if I declare the encoding of the file to be "UTF-8".
I'm trying to find a workaround for this, because I'm using Sweave
from within TeXShop. TeXShop runs its typesetting engines in the C
locale, and non-ascii characters are messed up.
Is there a way to declare that I am in a
2006 May 09
1
Calling R from C
Dear R-helpers,
I'm trying to transfer a loop from R code to C to improve performance using
the .Call interface. However, I ran into problems before even getting
started, and I hope (fear) I'm missing something completely obvious here.
I use the following C function (passing an integer to the C function and
printing it):
#include <R.h>
#include <Rinternals.h>
SEXP
2004 Oct 11
1
install failure Ruuid package on OS X
Dear All,
When installing the Ruuid package (from Bioconductor) from sources on my
MAC (OS X 10.3.5, R version 2.0.0) I get the following errors:
m00245:~ ivisser$ R CMD INSTALL -l /Users/ivisser/Library/R/library/
/Users/ivisser/Desktop/Ruuid
* Installing *source* package 'Ruuid' ...
loading cache ./config.cache
checking for glib-config... no
checking how to run the C preprocessor...
2013 Jan 09
3
Sweave, Texshop, and sync with included Rnw file
Hello everyone.
I am in the process of writing a book in Latex with Texshop, on Mac.
This book contains a lot of R code, hence the need to use Sweave.
I was able to compile Rnw files, and to sync back and forth from the pdf to the source Rnw.
My problem now is that the book is divided in Chapters, and every chapter is in its own Rnw file.
I can compile them from the main one (book.Rnw) using the
2008 Sep 24
1
paste in xtable
Dear R help:
I am trying to use paste(), within an ifelse() statement to insert latex
commands into an object that has been created using xtable(). I cannot
make the strings behave as I would like, the '\t' is creating a tab, the
usual method of '\\t' is not working either - nor is any series of
backslashes. The xtable object, I think, automatically alters the
strings. How
2012 Mar 20
3
R (Bold font) and Latex
Hi,
I am using R and latex for generating report. I need R result to be in bold
face.
For instance.
x<-c(1,0,2,4)
I need to print its output in bold face.
x
*1
2
3
4*
I attempted to use textbf{} but can not write R output inside it. How can i
implement it. Thanks in advance.
Regards
--
View this message in context:
2007 Apr 27
1
Problem with formatted xtable in R 2.5.0
Dear R-Devel subscriber,
I encountered the following problem for tex-formatted table with xtable(). Suppose I do want the following matrix as a table in LaTeX:
library(xtable)
a11 <- "\\color{green}\\textbf{big green}"
a21 <- "\\color{red}\\textbf{big red}"
a12 <- "\\color{green}green"
a22 <- "\\color{red}red"
A <- matrix(c(a11, a21, a12,
2011 Aug 21
1
Multiple R linear models into one Latex table
Dear community,
I had been looking for an easy way to produce latex tables from R
output. xtable() and the package apsrtable produce good outputs but they are not
exactly what I was looking for.
I wrote this code that generates regression tables from multiple R
linear models. I want to share it because it might be
useful for someone else, and because I would appreciate comments on how to
2008 Mar 08
1
R cmd check error reg namespace
Hi,
When running R CMD check I'm getting a number of errors that I don't
quite follow and don't know where to start looking for an answer, any
hints appreciated.
R CMD check trunk
* checking for working latex ... OK
* using log directory '/Users/ivisser/Documents/projects/
depmixProject/depmixNew/rforge/depmix/trunk.Rcheck'
* using R version 2.6.2 (2008-02-08)
* checking
2010 Mar 13
2
Un poco de ayuda con xtable
Hola, buenas tardes:
Necesitaba un poco de socorro con xtable, si fuese posible.
Mi problema es que quiero 'formatear' específicamente algunas celdas de
una tabla generada con xtable y no soy capaz.
Detallo el problema de ejemplo:
vv<-rbind(c(1,1,0,1),c(0,0,1,1))
vv[2,3]<-<-paste("\\textbf{",vv[2,3],"}",sep="")
xtable(vv)
> xtable(vv)
% latex
2009 Dec 09
2
Recent TeX changes and R/package manuals
As some of you will be aware, TeXLive 2009 was released last month
having blocked updates on earlier versions since May. This has lead
to a flood of updates of LaTeX packages, as a result of which the
PDF manuals of R 2.10.0 and earlier will no longer build, for two
separate reasons.
For MiKTeX users: at least version 2.8 (the current one) has the same
updates (a week or so later) and has
2006 Dec 25
1
Hmisc - some latex problems
If I use latex with describe:
(faithful is the Old faithful data)
latex(describe(faithful),file="describe.tex")
then the first few lines of describe.tex are
\begin{spacing}{0.7}
\begin{center} \bf faithful \\ 2 Variables~~~~~ 272 ~Observations
\end{center}
I have two problems. First, I don't know what package
the environment "spacing" comes from. (There is also a
2013 Mar 13
0
sync+Rnw+TeXShop, again
Hi All --
I'm not sure this is the natural place for this question, but this list is
the place with the best Sweave-TeXShop-sync discussion so far.
My problem is that sync+Sweave+TeXShop works sometimes and not others, and
it's not consistent. The failure, in which sync from PDF opens the .tex
file instead of the .Rnw file, always comes after a code chunk.
If I start from a simple
2007 Apr 16
1
flexmix glm warning
Dear R-helpers & Friedrich Leisch,
I'm trying to fit a mixture of regression models on attached data set
by doing the following:
agl <- read.table("agl.txt")
mod1 <- flexmix(resp~gng+csc|Subject,data=agl,
model=FLXglm(family="binomial"),k=2)
The result is a (varying) number of the following warnings:
Warning messages:
1: non-integer #successes in a