search for: rtex

Displaying 17 results from an estimated 17 matches for "rtex".

Did you mean: rex
2006 Mar 18
0
RTex Plugin
Announcing the initial release of the RTex Plugin for Rails. This plugin adds support for .rtex templates/partials, which consist of a mixture of LaTeX (http://www.latex-project.org/) markup and Ruby (using ERB). The resulting LaTeX markup is passed through pdflatex to generate a PDF for the user. You can find more information on the plu...
2011 Aug 21
3
Sweave doesn't work
Hi R users. I've got a problem in producing the pdf file from Latex with R code. When I run the code Sweave("example.Rtex") in R it seems working, but when I run the Latex file it doesn't. The code error shown to me is below: *Runaway argument? {echo=FALSE} data<- read.csv("C:\\Users\\Daniele\\Desktop\\dati\\dati_england ! File ended while scanning use of \FV at BeginScanning. <inserted text>...
2006 May 24
4
pdf on the fly
In my rails app I need to create pdf reports on the fly. I have installed railspdf, wich is working fine. But, how can I create tables and paragraphs and stuff? Can I mimic an .rhtml file (using <% for ...%> etc? Or is it wise to use Ruby::PDF directly? Is there anyone out there with experience in this, and who is willing to share his findings? Thx -- Posted via
2009 Jan 13
1
PCA loadings differ vastly!
...routines in R (pca, prcomp, princomp) with results from SPSS. the loadings of the variables differ vastly! in SPSS the variables load constantly higher than in R. I made sure that both progr. use the correlation matrix as basis. I found the same problem with rotated values (varimax rotation and rtex=T rotation). can anyone comment ? second: princomp(data, cor=T, rtex=T)$loadings vs. princomp(data, cor=T, rtex=F)$loadings gives me different loadings (expected because of rotation) with one dataset (11 variables) but returns the SAME values with another dataset (3 variables). comments ?...
2005 Jul 13
0
Building R sources on Windows
...y used to process the tex sources for the Reference manual and these have no problem with the current MikTek defaults. The issue with MikTek finding the Rd.sty file is more easily fixed by minor changes to doc/manual/Makefile.win. Change lines 21 - 24 of doc/manual/Makefile.win to read: > RTEX= > ifeq ($(strip $(MIKTEX)),YES) > # Setup MikTEX search path > RTEX=-include-directory=$(RHOME)/share/texmf > endif > > PDFLATEX = pdflatex $(RTEX) > LATEX = latex $(RTEX) > PDFTEX = pdftex $(RTEX) > TEX = tex $(RTEX) So far this all fairly much as the instructions. Ho...
2006 May 05
2
convert HTML to LaTeX or text
Hi all, I have a RoR app which can output a report in HTML back to the web browser, or (preferably) in PDF using the RTex plugin. I have a number of text fields which are stored as HTML, and am looking for a good way to convert them to something LaTeX-compatible, or plain text if that''s the last resort. I''ve seen a number of html2tex-type converters out there, but they are by no means comprehensive...
2006 Apr 02
1
How to count number of pages in a PDF?
Does any know a simple way to count the number of pages in a PDF file? I''m using teh RTEX plugin to generate a PDF via pdflatex with a defined start page number. I want to determine the final page number so I can start the next PDF in sequence. Thanks in advance for your help! -cal
2004 Sep 06
2
Sweave echoing comments (again)
Hello, I try to document some R scripts for my collegues and observed the problem, that Sweave strips comment lines away. As a small example I write in an Rtex file: \begin{Scode} ## a small example test() # line comment \end{Scode} ... the .tex file generated by Sweave only contains: \begin{Schunk} \begin{Sinput} test() \end{Sinput} \end{Schunk} ... and all the comments are lost. Looking into the archives, I found, that such a question appeared a...
2004 Sep 06
2
Sweave echoing comments (again)
Hello, I try to document some R scripts for my collegues and observed the problem, that Sweave strips comment lines away. As a small example I write in an Rtex file: \begin{Scode} ## a small example test() # line comment \end{Scode} ... the .tex file generated by Sweave only contains: \begin{Schunk} \begin{Sinput} test() \end{Sinput} \end{Schunk} ... and all the comments are lost. Looking into the archives, I found, that such a question appeared a...
2005 Jan 16
1
running Sweave from Windows XP Explorer
I'd like to create a suitable batch file or shortcut so that I can run Sweave on a .Rnw or .Rtex file simply by clicking on the file from Windows Explorer in Windows XP (as I do with latex, bibtex etc). This looks tantalisingly possible using R CMD BATCH or Rterm possibly in combination with a .bat file. Has anyone succeeded is setting it up and would give me a pointer? Thanks Gordon
2013 Jul 18
1
Looking for knitr example for beginner (NO RStudio)
Hi everyone, I am using package knitr, FIRST TIME. I don't have access to RStudio. Read through Yihui's page, didn't find it helpful. Stuck on terms Rnw, GFM (GitHub Flavored Markdown). Never used Sweave, so the reference is not helping. Is there a simple step-by-step example WITHOUT RStudio? My question: What is the procedure? The documentation explains the functions, but does
2010 Apr 08
1
texi2dvi runs but produces no output
...access. I have to admit that I still confused on the --args %1 part, but I can see that it works in the console transcript. The MakeSweave.R contents are: library(tools) args <- commandArgs() filename <- args[length(args)] Sweave(filename) Stangle(filename) basename <- sub("\\.(Rnw|Rtex|nw)$", "", filename) texi2dvi(paste(basename, ".tex", sep=""), pdf=TRUE) I run LyX from a command window and watch what goes on in the background. All goes fine through the whole process, texi2dvi runs and finishes, and then LyX pukes an error that it cannot open...
2006 Mar 20
0
latex plugin
So I figured out my confusion from earlier and am here to offer: http://www.owlnet.rice.edu/~bchase/latex_render/ as the README states, this is highly derivative of the LatexRender php script and was inspired by the rtex rails plugin. If someone has a better place to host it, feel free to do so. Also, since this is my first ruby/rails project, any tips on improvement are greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2004 Feb 26
2
Sweave and Xemacs on Windows2000?
Hallo! Trying to configure Xemacs to work with .snw files on windows 2000. Tried to do it how it is described in the FAQ for Sweaves. When starting xemacs with and Snw file *ESS* buffer contains hundrets of lines and the few last ones. (ess-loop-timeout . 500000) (inferior-ess-primary-prompt . ^) (inferior-ess-secondary-prompt . ^) (comint-use-prompt-regexp-instead-of-fields . t)
2007 Mar 14
3
A place to put common partial templates and RJS files?
Greetings, I have a partial template file (acutally, it is an RJS file but the same principle is in question here) which I wish to "share" between multiple controllers. Does anyone know where in the directory tree I would put these files in order that I can access them from multiple controllers in the same app? I really would prefer not having to copy them all into all of the
2009 Jul 13
3
SweaveListingUtils question
Hello, recently I read about the SweaveListingUtils package and now I want to try it out. However, I can not make it work... Below a minimal example. The problem seems to be the following line (generated by SweaveListingPreparations()?): \ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.6\textwidth}}{}% If I comment out this line, it works. What can I do about this? I am using the
2009 Sep 03
1
Sweavelistingutil: Encoding problems
Hello, I am not sure whether this is a bug or lack of R experience. However, I am using your Sweavelistingutil package, which is very nice. Obviously I use it to create LaTeX files. These are encoded in utf8. However, when I use the Sweavelistingutil is uses some funky character for "`" and "'" that is not recognized. Here is an example from my tex-file: ,---- |