Displaying 20 results from an estimated 600 matches similar to: "texi2dvi problem when compiling incorrect Latex code"
2006 Mar 01
2
error: uninitialized constant
total rails nuby here. I have a table "thumbnails", hence the model
Thumbnail. I''m extending the Thumbnail class with a few constants
needed for thumbnail cropping:
class Thumbnail < ActiveRecord::Base
SOURCE_FILE_PATH = "path/to/source"
TARGET_FILE_PATH = "path/to/target"
TARGET_WIDTH = 100
TARGET_HEIGHT = 100
end
Now, in my controller
2010 Jun 28
2
How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Hello,
I'm running R2.10, Eclipse, StatEt and MikTex 2.8 to create Sweave
documents, and everything seems to work great, until today...
I was trying to add citations from a Bibtex file, but I just got [?]
citations. However, if I open the .tex file that StatEt created in
MikTex and run the latex+bibtex+pdflatex command, the citations are present.
Does anyone know how to either configure
2016 Jun 18
5
Error in texi2dvi
Hello:
Changes in R seem to have broken the sos vignette, and I don't
know how to fix it. The build on R-forge,
"https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched",
ends as follows:
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'sos.tex' failed.
LaTeX
2016 Jun 18
0
Error in texi2dvi
On 17/06/2016 10:21 PM, Spencer Graves wrote:
> Hello:
>
>
> Changes in R seem to have broken the sos vignette, and I don't
> know how to fix it. The build on R-forge,
> "https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched",
> ends as follows:
>
>
> Error in texi2dvi(file = file, pdf = TRUE, clean =
2015 Jan 13
2
R CMD build looking for texi2dvi in the wrong place (R-devel)
R CMD build fails with recent R-devel because it is looking for texi2dvi in /usr/local/bin, but on this system, MacTex has installed it in /usr/bin.
$ R CMD build IRanges
* checking for file 'IRanges/DESCRIPTION' ... OK
* preparing 'IRanges':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
* creating vignettes ... ERROR
2015 Jan 13
0
R CMD build looking for texi2dvi in the wrong place (R-devel)
Dan,
On Jan 12, 2015, at 7:50 PM, Dan Tenenbaum <dtenenba at fredhutch.org> wrote:
> R CMD build fails with recent R-devel because it is looking for texi2dvi in /usr/local/bin, but on this system, MacTex has installed it in /usr/bin.
>
No, you're looking at the wrong package - texi2dvi comes from texinfo which is now mandatory in version 5.2+ located in /usr/local since OS X
2015 Jan 13
2
R CMD build looking for texi2dvi in the wrong place (R-devel)
----- Original Message -----
> From: "Simon Urbanek" <simon.urbanek at r-project.org>
> To: "Dan Tenenbaum" <dtenenba at fredhutch.org>
> Cc: "R-devel" <r-devel at r-project.org>
> Sent: Monday, January 12, 2015 5:50:35 PM
> Subject: Re: [Rd] R CMD build looking for texi2dvi in the wrong place (R-devel)
>
> Dan,
>
> On
2011 Oct 13
8
Remove specific rows in a matrix/data.frame
Hi,
imagine the following matrix/data.frame
Letter Number
a 1
a 1
b 1
b 0
c 0
c 1
d 0
d 0
If the numbers for two identical letters are also identical then I want to
remove either the first or the
second row of that letter. If for a letter the numbers are 1 and 0 I want to
remove the row with the 0.
That means if the code works I would and up with the following
matrix/data.frame
Letter
2011 Oct 06
3
Duplicate elements of a vector
Hi,
let's assume I have the following vector a:
1 5 23
How can I use R to duplicate the elements so that my new vector looks like:
1 1 5 5 23 23
Many thanks,
Syrvn
--
View this message in context: http://r.789695.n4.nabble.com/Duplicate-elements-of-a-vector-tp3879561p3879561.html
Sent from the R help mailing list archive at Nabble.com.
2010 Sep 03
5
how to get row name of matrix when result is a vector
Hi,
the R code:
a <- matrix(c(1,5,4,3,7,10,34,4,3,8,6,5,12,17,45,3,2,45,46,47,3,4,22,12,21),
nrow=5)
rownames(a) <- c("a","b","c","d","e")
a
a[which(a[,3] < 8), ]
a[which(a[,3] < 6), ]
produces the following output:
> a
[,1] [,2] [,3] [,4] [,5]
a 1 10 6 3 3
b 5 34 5 2 4
c 4 4 12 45 22
d
2011 Oct 13
3
Create order of numbers based on a given vector
Hello!
If I have a vector vec <- c(FALSE, FALSE, TRUE, FALSE, TRUE, TRUE, FALSE
FALSE)
I can I create the following order of numbers based on vector vec:
1, 2, 2, 3, 3, 3, 4, 5
Whenever there is a FALSE I increase the number (starting with 1).
Whenever there is a TRUE I set the same number as the previous FALSE has
been assigned to.
I would be happy for any input
Cheers,
Syrvn
--
View
2011 Mar 25
1
Rd2pdf and Rd2dvi don't find texi2dvi
Hello everybody
I'm am trying to build a pdf out of the Rd files that i wrote for a package, so that I can attach it to my thesis.
if i Run Rd2pdf (or Rd2dvi) I get this error massage:
Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, :
Running
2015 Oct 10
1
MiKTeX's withdrawal of texi2dvi.exe
MiKTeX has abruptly removed texi2dvi.exe from its distribution. (MiKTeX
broke its updating process earlier and an attempted update trashed the
updater on my installation so I was forced to make a fresh install of
the current distribution. I do not know if updates remove a currently
installed texi2dvi.exe.)
This has two consequences:
1) It is used by tools::texi2dvi() if found. As far as I
2014 Jun 04
2
R latex ubuntu
Buenas noches
Instale ubuntu 14.04, corro un archivo que me funcionaba en windows, pero
no se que librería debería cargar (instalar) para solucionar el problema.
El codigo R dice:
function(x)
tools::texi2pdf
El error dice:
Error en texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,
:
Running 'texi2dvi' on '
Otro archivo se compilo sin problemas (lyx con sreave).
2011 Mar 21
1
texi2dvi / egrep issue shows (a.o.) up in R-alpha
L.S.
I noticed weird tools::texi2dvi behaviour on R-alpha
when specifying an absolute path to the .tex
file.
The same phenomenon also appears to occur on
R-2.12.2, so maybe the issue is independent
of R.
I hope I did not overlook any important information.
Best,
Tobias
> require(tools)
Loading required package: tools
> getwd()
[1] "/home/tobias"
>
2010 Aug 19
1
texi2dvi: option "clean" also deletes the generated pdf file
Dear expeRts,
below are two examples of using texi2dvi. The problem becomes clear from the
second example: on cleaning, texi2dvi also deletes the generated .pdf file.
Is there a solution?
Cheers,
Marius
## Example 1: texi2dvi cleans fine, without deleting the generated .pdf
require(tools)
sink(file="myLaTeXFile1.tex")
cat("\\documentclass{article}\n")
2011 Dec 07
1
running texi2dvi without running bibtex
Dear all,
I was hoping someone may know a way of running texi2dvi while ignoring
bibtex errors, or any other work around (such as not running bibtex at
all, if possible).
The context is that I have an R program that does some calculations
and writes a table into various folders, one per country for several
countries. I have a latex file that takes the table as an input, and
this latex file is
2011 Mar 23
0
Passing tex parameter via texi2dvi
I am trying to pass a additional argument to texi2dvi, for example to use
the aux-directory. Looks like this is not possible via options:
options(texi2dvi='texi2dvi --tex-option="-aux-directory=auxdir"')
texi2dvi(file = "GBPL3.tex", pdf = TRUE)
#Error in system(paste(shQuote(texi2dvi), "--version"), intern = TRUE) :
# '"texi2dvi
2012 Aug 18
1
texi2dvi error "Sweave" and "exams"
I have installed Sweave as recommended. http://lifeasclay.wordpress.com/tag/sweave/. Placing a test.Rnw file, for instance, in "/Library/Frameworks/R.framework/Versions/2.15/Resources/library/utils/Sweave" generates test.tex files that generate pdf files with LaTeX. To be honest, placing Rnw files seem to make sense. The "exams" package does require not this step. It uses
2015 Oct 09
2
Building manuals are failing now that MikTex 2.9 has removed texi2dvi.exe
According to the MikTex bug reports [1], MikTex 2.9 has removed
texi2dvi.exe last week (on 2015-09-29) as "it was not compatible
(anymore) with the original shell script texi2dvi (GNU Texinfo)." I
found this out the hard way as I just (unknowingly) updated MikTex
this evening, and then, while building R-devel_2015-10-08 on Windows7
64bit using the Rtools 3.3 toolchain (4.9.3 branch), had