Displaying 12 results from an estimated 12 matches for "ot1".
Did you mean:
ot
2012 Mar 09
2
Create a list object in a loop
Dear all,
I'm trying to create a list of point patterns ppp.object {spatstat} in a loop.
My dataset looks like this:
> names(OT1);head(OT1);dim(OT1)
[1] "EID" "latitude" "longitude" "month" "year" "CPUE" "TSUM"
[8] "fTSUM"
EID latitude longitude month year CPUE TSUM fTSUM
1 167-1-199...
2011 Sep 03
2
problem in applying function in data subset (with a level) - using plyr or other alternative are also welcome
...at <- matrix
(c("M1a","M2a","M3a","M1b","M2b","M3b","M1aP1","M2aP1","M3aP1",
"M1bP2","M2bP2","M3bP2"), ncol = 4)
# first function
myfun <- function(x) {
x<- as.vector(x)
ot1 <- ifelse(mydf[x[1]] == mydf[x[3]], 1, -1)
ot2 <- ifelse(mydf[x[2]] == mydf[x[4]], 1, -1)
qt <- ot1 + ot2
return(qt)
}
qt <- apply(mmat, 1, myfun)
ydv <- c((y - mean(y))^2)
qtd <- data.frame(ped, ydv, qt)
# second function
myfun2 <- function(dataframe) {
vydv <- sum(ydv)*0....
2008 Oct 24
0
Problem with "plflatex wrapper.tex"
...es\MiKTeX 2.7\tex\latex\base\fonttext.ltx"
=== Don't modify this file, use a .cfg file instead ===
("d:\Program Files\MiKTeX 2.7\tex\latex\base\omlenc.def")
("d:\Program Files\MiKTeX 2.7\tex\latex\base\t1enc.def")
("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1enc.def")
("d:\Program Files\MiKTeX 2.7\tex\latex\base\omsenc.def")
("d:\Program Files\MiKTeX 2.7\tex\latex\base\t1cmr.fd")
("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1cmr.fd")
("d:\Program Files\MiKTeX 2.7\tex\latex\base\ot1cmss.fd")
("d:\P...
2015 Jan 08
2
latex warning
.../R-bin/texlive/texmf-dist/tex/latex/base/fonttext.ltx
=== Don't modify this file, use a .cfg file instead ===
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/omlenc.def)
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1enc.def)
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1enc.def)
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/omsenc.def)
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1cmr.fd)
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmr.fd)
(/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmss.fd)
(/home/travis/R-bin/texlive/te...
2010 May 28
1
Does Sweave run in the global environment ?
...llo
It seems that sweave always runs in the global environment. I want to
run sweave from within a function, and pass a variable into sweave,
however when I do this, sweave doesn't see the variable.
Here's my example test_sweave.Rnw file
|%
\documentclass[a4paper]{article}
\usepackage[OT1]{fontenc}
\usepackage{Sweave}
\begin{document}
\title{Test Sweave Document}
\author{Paul Hurley}
\maketitle
<<>>=
if(exists("foo")){print(foo)}
ls()
Sys.time()
@
\end{document}
|
If I run this code;
|testFoo<-function(){
foo<-"My Test String"...
2015 Jan 09
0
latex warning
...base/fonttext.ltx
> === Don't modify this file, use a .cfg file instead ===
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/omlenc.def)
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1enc.def)
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1enc.def)
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/omsenc.def)
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/t1cmr.fd)
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cmr.fd)
> (/home/travis/R-bin/texlive/texmf-dist/tex/latex/base/ot1cms...
2011 Oct 20
0
StatET & Sweave cannot compile pdf files
...essful at
compiling a .pdf file from .tex file.
However, the moment I introduce pdf() function into the .Rnw file, I get a
"fatal" error.
When trying to compile this simple .Rnw file:
=======================================================
%
\documentclass[a4paper]{article}
\usepackage[OT1]{fontenc}
\usepackage{Sweave}
\begin{document}
\title{pdftest.Rnw}
\author{Egor}
\maketitle
<<echo=F, results=hide>>=
pdf(file='figure1.pdf')
plot(1:10,1:10)
dev.off()
@
\end{document}
=======================================================
I get the following error message...
2004 Jan 29
2
Finding Sweave.sty and other problems
...LaTeX Error: File `C:/PROGRA\unhbox\voidb at x \penalty \@M \
{}1/R/rw1081/share
/texmf/Sweave.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name: x
Overfull \hbox (689.89102pt too wide) in paragraph at lines 4--4
[][] \OT1/cmr/m/n/10 1/R/rw1081/share/texmf/Sweave.sty-h@@k
1/R/rw1081/share/te
xmf/Sweave.sty1/R/rw1081/share/texmf/Sweave.sty1/R/rw1081/share/texmf/Sweave.st
y, 1/R/rw1081/share/texmf/Sweave.sty 1/R/rw1081/share/texmf/Sweave.sty
[]
)
(\end occurred when \ifx on line 4 was incomplete)
(\end occurred w...
2012 Sep 24
1
Question lattice SplomT
...--
Christian W. Hoffmann,
CH - 8915 Hausen am Albis, Switzerland
Rigiblickstrasse 15 b, Tel.+41-44-7640853
c-w.hoffmann at sunrise.ch,
christian at echoffmann.ch,
www.echoffmann.ch
-------------- next part --------------
%% Test SplomT
\documentclass[a4paper,11pt,leqno]{scrbook}
\usepackage[OT2,OT1]{fontenc}
\usepackage[russian,ngerman,english]{babel}
%% \usepackage[displaymath]{lineno}
\usepackage{graphicx}
\usepackage{textcomp} % special symbols
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=2.4cm,bmargin=2.5cm,lmargin=2.5cm,rmargin=2cm}
\usepackage{amsmath}
\usepackage{amssymb}
\...
2020 Feb 14
3
R-3.6.2 make check fails
...X2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo
! Font OT1/cmr/m/n/10=cmr10 at 10.0pt not loadable: Metric (TFM) file not found
.
<to be read again>
relax
l.64 \normalsize
)) (/usr/local/src/stats/R-3.6.2/CentOS/share/texmf/tex/latex/Rd.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/tex...
2004 Feb 19
1
latex problem with Sweave output file under Debian
...= `example-1.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info: ... okay on input line 7.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info: ... okay on input...
2005 Jun 16
1
Sweave and sideways
...(DPC,SPQR)
) (test.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8.
LaTeX Font Info: ... okay on input line 8.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8.
LaTeX Font Info: ... okay on input...