similar to: xtable and sweave: caption placement problem

Displaying 20 results from an estimated 800 matches similar to: "xtable and sweave: caption placement problem"

2012 Mar 11
1
Interfacing between Optimization Software and R
Dear all I was wondering, if there are reasons for R-Users to use (commercial) solver packages like GAMS, AMPL, Matlab, etc. These packages can solve all kind of mathematical optimization problems like (non-) linear problems, mixed complementarity problems, etc. Why I want to know? GAMS corporation developed a R package to send data from GAMS to R (or vice versa). It is called gdxrxw. I use
2008 Nov 03
2
Bug in Version 2.80? (PR#13243)
Hi When I have a plot under Windows and want to save it as a ps or jpg using right click, the window for choosing the directory opens. But if I want to choose a directory R freezes. This happens on my XP notebook as well on my P x64 machine. Renger _______________________ Renger van Nieuwkoop=20 Ecoplan - Thunstrasse 22=20 3005 Bern Switzerland=20 Tel. +41 31 356 61 61 Mail: renger at
2012 Feb 06
1
rscript in cmd window stop
Hi I am trying to run a R-script in the windows command window: e.g. rscript example.R ... It plots some stuff, but using par(ask=T) doesn't let the plotting pause. Any idea how to do this? Thanks Renger __________________________________________________ Renger van Nieuwkoop Goldiwilstrasse 16 F / 3600 Thun Tel +41 33 221 53 05 / +41 79 818 53 73 mailto: renger at vannieuwkoop.ch
2007 Jul 13
1
Saving workspace data
Hi I imported a lot of text-files with R and saved them by using: save(list=ls(),file="Grunddaten.Rdata") After that I wanted to check my saved data and wrote source("Grunddaten.Rdata") This gives me an error: Error in parse(file, n = -1, NULL, "?") : Syntax error at 1: Can somebody tell me what I am doing wrong (I am using R.2.4.1)? Renger
2011 Aug 10
1
xtable - caption missing with float=FALSE
Hi, For some reason I'm finding that my table caption is disappearing if I print xtable output with the floating argument set to FALSE. Below is a very simple Sweave file that produces two tables the first has no caption and the second has a caption (if you want to see it http://www.zevross.com/temp/test.pdf). Does anyone know what I can do to fix this? Zev (I'm using Windows 7, 64
2007 Oct 04
1
Sweave and LaTeX
Hi I started using Sweave and LaTeX but have a (smaller) problem. As I am not yet very fluent in LaTeX I do the following: I texify my snw-file to look for errors in my LaTeX and correct them. However, if I have the following chunk, I get an error when texifying: ... \usepackage{Sweave} ... <<echo=F, results=tex>>=
2012 Feb 01
2
Problem with xtable- rescaling a table
Dear R users, I am new to Latex and I am using the R package xtable to generate tables. I want to produce a table that is very long. in the landscape format, but I would need to rescale the table so that it fits in the page. xtable enables me to have the landscape format, but I cannot rescale it, and there seems to be a problem, if I use scalebox in Latex on my output produced with stable and the
2010 Jun 29
1
Sweave, xtable plus/minus sign
Dear R-users, please consider the following minimal example: \documentclass[a4paper,titlepage,onecolumn,12pt]{article} \usepackage[italian]{babel} \usepackage{amssymb} \usepackage[utf8x]{inputenc} \usepackage[pdftex]{graphicx} \begin{document} <<label=test, echo=FALSE, results=tex>>= df.data1 <- cbind.data.frame(A = rnorm(18), B =factor(rep(LETTERS[1:6],
2012 Apr 03
3
Sweave xtable
Hola Tengo un problema con Sweave y xtable, concretamente quiero cambiar el color según un criterio, creo que es más fácil explicar con los siguientes ejemplos, uno puede correr directamente porque es R, al siguiente código hay que guardarlo como Rnw, y luego puede ser corrido en R, donde seguramente al correr este se darán cuenta de mis dos problemas porque saltan al abrir el pdf que se obtiene
2009 Apr 28
1
plot.lm cex.caption
Hello dear R users, My objective is to change the size of this graphic : plot(lm(a~b), 4) (Cook's distance) I have found the help on the internet saying to change the size of a title on a graphic plot(lm(a ~ b), 4), I should use the graphic parameter cex.caption http://stat.ethz.ch/R-manual/R-patched/library/stats/html/plot.lm.html But in my install of R, it answers cex.caption isn't a
2012 Aug 21
2
Sweave: R chunk inside caption?
Hi Folks, I'm surprised, but I didn't find this question addressed anywhere. I'd like to generate a LaTeX caption with R code. I've tried the code below, but I get the following TeX error: ! Argument of \@caption has an extra }. <inserted text> \par l.21 } Any thoughts? Perhaps I'll have to write the "\caption{}" text with R? thanks!
2004 Mar 03
1
R2HTML adding caption to data-frame
Hi, I was wondering if there was an easy way to add a caption to a data frame when it is being sent to a html page using R2HTML. currently the following command will produce a reasonably formatted table in a html file HTML(mydataframe) It would be good if you could send caption with the table something like HTML(lCaption="my table caption",mydataframe) # this works but leaves a blank
2011 May 29
1
One main caption for an mfrow=c(2,1) plot window
Hello, I'm trying to plot a series of pages in a pdf with one main caption for each page. Each page should then have two plots in one row, preferably with an own caption. I can't plot the main caption in a window, and subsequently plot the two graphics (next to each other) below it. Here is what I've tried. This one almost does the job, but when plotting the two graphics, R
2012 Jun 22
6
Definition list as image caption
recently though about image captions, then i realized that this could be achiebed by Markdown Extra's definition list feature: ![alttext](http://exampl.com/img.jpg) : here goes the *caption* What do you think? -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 May 13
5
Conflict between xtable and Hmisc when using Sweave?
Dear R users, The Sweave code below runs fine, as it is. However, an error occurs when the line 'library(xtable)' is uncommented: Error: chunk 1 Error in "label<-"(`*tmp*`, value = "month") : no applicable method for "label<-" Is anybody aware of this and knows a workaround? Thanks, Sander. *******************
2010 Dec 04
1
scale caption on levelplot
hi, i am trying to figure out how to put a caption on the colour scale of a levelplot. there does not seem to be an option for this in levelplot(). i tried using mtext() but as soon as you put the text far out enough on the right of the plot, it goes beyond the plot boundary. so i tried to extend the margin on the right of the plot using par(mar) but this did not have any effect on the plot area.
2009 Jan 10
1
Hmisc-xtable label
Dear all: Does anybody know about label conflicts between xtable and Hmisc? I found a couple of e-mails similar to this problem but is not clear to me how to get around the label problem. The first table(longtable below) is generated with the latex function from Hmisc but for some reason when I try to hyperlink to it,it takes me to the top of the document. The second table created with the xtable
2009 Mar 13
1
How to combine xtable and minipage with Sweave ?
Hello, I'm trying to put a dynamic table and a dynamic graph side by side in a pdf document using Sweave. The data.frame used to generate the table is called rg (rg.txt): "Date"; "Code"; "Data1"; "Data2" "2009-03-10";"1";1958;147 "2009-03-10";"2";302;144 "2009-03-10";"3";4;141
2009 Feb 04
2
Sweave and \Sexpr{}
Hi: I am trying to create a dynamic latex table using \Sexpr{} but it's not evaluating it. I also tried the example below without Sweave and also fails. I have also copied the Sweave.sty to my working directory but nothing seems to work. Do I need to have certain package in order to run \Sexpr{}? \documentclass[a4paper]{article} \usepackage{C:/R/R-2.8.1/share/texmf/Sweave} \begin{document}
2006 Feb 10
0
Solution for multilanguage caption lookup speed improvement?
Hello. In my Rails app i have a helper method called "translate": def translate(name) tran = Translation.find_by_name(name) ... ... end As you can see, the method does a lookup in the table "Translation", where i have an index in the field "name". This is working well, but in a single page i can have dozens of captions to translate, and there are several