Displaying 20 results from an estimated 9000 matches similar to: "Error in Sweave but not underlying script"
2013 Mar 14
2
Grep with wildcards across multiple columns
I have a fairly large data set with six variables set up like the following dummy:
# Create fake data
df <- data.frame(code = c(rep(1001, 8), rep(1002, 8)),
year = rep(c(rep(2011, 4), rep(2012, 4)), 2),
fund = rep(c("10E", "10E", "10E", "27E"), 4),
func = rep(c("110000",
2012 Apr 20
1
ggplot2: Legend title
I'm designing a set of plots intended for a general audience; here's the code for one of them, using the latest version of ggplot:
plot.enr.all <-
ggplot(data=df1, aes(x=HS_GRAD_YEAR, y=Percentage, group=Enrolled_by,
color=Enrolled_by, shape=Enrolled_by, fill=Enrolled_by)) +
geom_line() + geom_point(size=3.5) +
scale_y_continuous(breaks=seq(0, 100, 10),
2008 Aug 04
1
Sweave and ggplot2
Hi all,
I've been trying to run Sweave with R code embedded - using the ggplot2
package and in particular the qplot command. There appears to be a problem
in Sweave not picking up that qplot is a function. Has anybody else tried
to use qplot in Sweave and have you been successful? Any help would be
very much appreciated.
Kind Regards,
Sorn
Notice:
This email and any attachments may
2004 Jul 05
3
Randy Bush is a destructive force with a hidden professional agenda
. Monday, July 5, 2004
15:50:06 (-08:00hrs UTC)
Hello asterisk-users,
From the following post:
On Mon, 5 Jul 2004, Joe Baptista wrote:
> On Mon, 5 Jul 2004, Randy Bush wrote:
>> i did not criticize the protocol. remember, my question started
>> with
>>
>> >> i am looking at iax to
2001 Sep 14
2
[Fwd: Bush's Press Conference: Into the Abyss]
Emperors1000@aol.com wrote:
>
> Dear reader,
> The emperorsclothes list does not seem to be working. Please forgive us if
> you receive this post twice. - Jared Israel, www.tenc.net
> **************************
> URL for this article: http://emperors-clothes.com/articles/rozoff/abyss.htm
>
> To join the Emperor's Clothes email list, go to
>
2005 May 31
4
Karl
This is the guy that has a ton of email addresses.
Almost as many as he has phone numbers.
google "kvj"
He doesn't like our president either:
Here's look at a MISERABLE FAILURE and I use facts:
George W. Bush (herein referred to as 'bushwhack') is the village idiot and he pushed a series of Trojan horses at Americans:
1) The Overtime Pay act is nothing more than a
2011 Apr 21
3
R CMD Sweave versus Sweave() on Windows
Dear list subscriber,
I am quite puzzled by the behaviour of processing Sweave files within an R session, i.e.
Sweave("foo.Rnw") versus R CMD Sweave foo.Rnw
In the former the environmental variable 'SWEAVE_STYLEPATH_DEFAULT = TRUE' is obeyed (this is set in etc/Renviron.site as well as under the users home directory in .Renviron). That is the hard-coded path to Sweave.sty is
2009 Jan 31
1
Question on Sweave-Latex and examples in the Sweave Manual
Hi List,
I have a problem with using Latex and Sweave for creating a document.
So I downloaded the Sweave manual from
http://www.statistik.lmu.de/~leisch/Sweave/Sweave-manual.pdf
and i have tried to replicate the example on pages 4-5, but i encounter the following problem: IT DOES NOT WORK. I can run Sweave, create the .tex file and then when building the .tex file in TeXnikCenter i get all
2008 Jun 17
3
Sweave: problem with usepackage{C:/PROGRA~1/R/R-27~1.0/share/texmf/Sweave}
R users,
I'm at a loss with a problem considering running .tex files produced
by Sweave. When I run (R 2.7.0):
---------------------------------------------------
#Taken from ?Sweave
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
## enforce par(ask=FALSE)
options(device.ask.default=FALSE)
## create a LaTeX file
Sweave(testfile)
2010 Sep 14
4
Sweave and Miktex (Sweave.sty not found)
Hi all,
I know from googling that this is a common problem; I've just tried what I
understand to be the common solutions to know avail -- maybe I'm just
confused.
I installed Miktex 2.8 -- it seems to be working fine.
I'm using this demo document: http://www.stat.berkeley.edu/~houston/demo.Rnw
I've copied the Sweave.sty file into at this point multiple places on the
Miktex
2008 Oct 16
1
package Utils Sweave Example Error
Hi:
I'm still trying to figure out how use Sweave. Trying the example below I get the error message when texi2dvi is executed. Any ideas about how to make texi2dvi work?
library(tools)
> testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
> options(device.ask.default=FALSE)
> Sweave(testfile)
Writing to file Sweave-test-1.tex
2008 Jun 06
1
simple data question
if I wanted to use a name for a column with two words say Dick Cheney and
George Bush
can I put these in quotes "Dick Cheney" and "George Bush" to get them to
read into R using both read.table and read.zoo to recognize this.
thanks
Stephen
--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff
2011 Mar 21
1
Sweave, white space and code blocks
Sweave is very useful, and I'm gradually getting used to it.
I've just been battling Sweave over the re-use of code chunks. As I am
pretty ignorant in the byways of both Sweave and R, this took a chunk of
time to sort out. Here is what I learned:
If one re-uses a code chunk, then Sweave (but not Stangle) will insist that
<>
start in column 1. In particular, white space to its left
2008 Nov 18
1
Sweave
Dear All,
I have both R 2.80 and Scientific Workplace 5.5 installed on my computer.
I copied the following commands from HTML help provided by R:
testfile <- system.file("Sweave", "Sweave-test-1.Rnw", package = "utils")
Sweave(testfile)
I then compile Sweave-test-1.tex file using Scientific Workplace 5.5. Apparently, Scienfic Workplace 5.5 does not recognize
2007 Aug 22
1
Processing Sweave documents without Sweave
Hi,
I am very intrigued by the idea of integrating
statistical analysis directly with a paper as Sweave
does it. But as I am collaborating with several people
and they won't have set up R and also they're very
unlikely interested in learning it, I am concerned
about how such an Latex/Sweave document will work on
their side.
Can they Latex-compile the document without having R /
Sweave
2010 Aug 24
5
Sweave.sty
Does anyone know where I can download the latest version of Sweave.sty? I have looked all over the site http://www.stat.umn.edu/~charlie/Sweave/ with no luck.
2006 Nov 23
2
Sweave question
I try Sweave
and get Sweave-test-1.tex
but hot to run LaTeX on 'Sweave-test-1.tex'?
I am using WinEdt.
thanks,
Aimin
> Sweave(testfile)
Writing to file Sweave-test-1.tex
Processing code chunks ...
1 : print term verbatim
2 : term hide
3 : echo print term verbatim
4 : term verbatim
5 : echo term verbatim
6 : echo term verbatim eps pdf
7 : echo term verbatim eps pdf
2004 Aug 31
2
FileLockEx Problem
Hi,
I'm a developer working on an application for Windows XP and have been
using the Win32 API call FileLockEx() on shared files (writing or
reading). This has been working fine, but we now have a customer where
this causes the following error when trying to lock a file on a samba
network drive (it works fine if the file is local or on a windows shared
drive):
LockFileEx returns false.
2011 Mar 26
1
Sweave and Textwrangler
Hi,
I am trying to get TextWrangler to work with LaTeX and Sweave. Ideally
I would call a script from TextWrangler that would run Sweave on a
document, then LaTeX (using SyncTeX), and finally
open the corresponding pdf in Skim. Of course I don't always need to
run Sweave and would be looking for the option of LaTeX -> Open. I
found this http://www.xs4all.nl/~msneep/latex/ but it
2010 Apr 12
1
Sweave and multiple figures from an R source file
Hi,
I am trying to get figures from multiple source files in Sweave. My test
file is as follows
\documentclass{article}
\usepackage{Sweave}
\begin{document}
\begin{section}{notitle}
This is a simple Sweave test
<<gethypergraphs_rhea,fig=TRUE,echo=F>>=
source("./testfig.r")
@
\\
End of the simple sweave test
\end{section}
\end{document}
where testfig.r is as simple as