Displaying 20 results from an estimated 2000 matches similar to: "loops in Sweave"
2007 Oct 05
3
Tart charts
It being friday, I would like to call your attention to an innovative
data analysis by Leslie Lamport available from:
http://research.microsoft.com/users/lamport/pubs/hair.pdf
I particularly liked the graphics.
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558 University of Illinois
2004 Jan 08
2
Sweave & xtable
I am just starting to learn Sweave (really neat tool). I am pretty
early in the learning curve (I had to think a moment ago whether a # or
% was the appropriate comment character).
I have successfully incorporated simple graphics and outputs, but am
having trouble getting a latex (xtable) table to function properly.
Latex is seemingly treating the xtable code as input or verbatim text.
That
2012 Nov 08
1
sweave xtable and driver RweaveHTML
Hi,
So far I used Sweave to create pdf reports. I used xtable to create some
tables in the report.
But now I would like to use the same snw file to generate an HTML version.
The xtable output breaks the RweaveHTML driver.
library(R2HTML)
Sweave('analyseLFQ.Snw', driver = RweaveHTML)
Error in match.arg(options$results, c("Robj", "html", "hide")) :
2010 Nov 11
4
Troubleshooting sweave
Hi All,
I've reproduced the example from Prof. Friedrich Leisch's webpage. When I
write sweave("Example-1.Snw") OR sweave("Example-1.Rnw"), (yes, I renamed
them). I get the following error:
Writing to file example-1.tex
Processing code chunks ...
1 : echo term verbatim
Error: chunk 1
Error in library(ctest) : there is no package called 'ctest'
Also while
2008 Mar 24
2
Newbie help with Sweave
I think I've gotten my Emacs/Sweave/R system set up correctly, thanks to
Vincent and Jim, but I haven't been successful getting my first document
produced. I'm trying to use one of Friedrich Leisch's examples,
http://www.ci.tuwien.ac.at/~leisch/Sweave/example-1.Snw. I cut and
pasted the text into a document sweaveexample.Rnw in Emacs. It seemed to
be processed successfully with R:
2006 Feb 16
3
Sweave - problems with underscores in variable names...
Hi all,
I've just started using the Friedrich Leisch's Sweave package to
generate LaTeX reports with results of my analyses embedded as
required.
I've encountered a bit of a problem though in the processing of the
resulting *.tex file that is as far as I can tell, down to the fact
that my variable names have underscores ('_') in their names.
The relevant section of code
2003 Oct 23
0
estimating probit models
Dear all,
I am looking for a convenient way to model a binary choice variable in R.
Would you suggest glm() with family=binomial(link=probit))? Is there something more focused on that kind of analysis? Or am I plainly wrong?
Cheers and thanx for your answers
Giovanni
Giovanni Millo
R&D Dept.
Assicurazioni Generali SpA
Ai sensi della Legge 675/96 si precisa che le informazioni contenute in
2004 Mar 24
0
LM omitted variables test
Dear all,
Does anybody know whether the (general) Lagrange Multiplier testing
framework for restrictions on linear models has been implemented in some
package?
My goal is to test for omitted variables, i.e. restrictions of the kind
beta_i=0, in the specification of an econometric model.
There are some particular implementations in this fashion in the lmtest
package (e,g, the bgtest() function,
2004 Jul 06
0
Model frame manipulation
Dear all,
I am implementing a redundant variables F-test. For that I need to
compute 2 models, restricted and unrestricted, then extracting the
residuals to calculate the test statistic.
I borrowed this elegant solution from the LMtest package to rebuild the
first of the matrices involved (the unrestricted one) on the basis of
model spec. and data
>red.var.test<-function(formula,
2004 Feb 16
2
Data for use in maps()
Dear all,
I am interested in plotting maps visualizing spatial statistics in an
aggregated fashion, according to administrative boundaries.
More specifically, I have fitted a cross-section model on data regarding
Italian "counties" (province, for Italian readers) and I would like to
visualize residual behavior on a map, in order to have a first
assessment of their spatial
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}
2018 Jul 05
5
two 2-node clusters or one 4-node cluster?
Hello,
I'm planning migration of current two clusters based on CentOS 6.x with
Cman/Rgmanager going to CentOS 7.x and Corosync/Pacemaker.
As the clusters and their services are on the same subnet, and there no
particular security concerns differentiating them, I'm also evaluating the
option to transform the two clusters into a unique 4-node one during the
upgrade.
Currently I'm
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi,
I think there is still a major vulnerability exists in the latest Rails 1.1.5.
The problem is in the routing.rb file and safe_load_paths method.
Because of the erroneous regexp it is possible to perform a DOS attack
on any rails application.
To reproduce:
1. start your application
2. use this url: http://localhost:3000/debug
Routing module will load standard debug.rb script which stops a
2017 Aug 10
2
New powercom device?
In a separate discussion, on 6/26/17 4:04 AM, Arnaud Quette wrote:
> Hi
>
> If you're sure it's a HID device, add an entry in drivers/powercom-hid.c
> { USB_DEVICE(POWERCOM_VENDORID, 0x0002), NULL },
>
> Then autogen.sh + configure...
> Please also report back so that I can update the code
>
> Cheers
> Arno
Thanks!
I don't *know* whether or not
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)
2004 Dec 07
1
connection to the other vpn-gateway, change originating ip
Hello !
I have two lans (LAN A & LAN B) connected via freeswan vpn gateways
(VPNGW-A & VPNGW-B) over DSL.
Logged in at VPNGW-A, I can only connect to the clients *behind* the
VPNGW-B but not the VPNGW-B itself.
---- example
VPNGW-A# ssh -l remoteuser 172.20.7.1
[IP 80.133.197.130.40523 > 172.20.7.1.ssh: SWE 343226483:343226483(0)
win 32440 <mss 16220>]
---- no connection
I
2003 Apr 23
1
Setting up Xemacs + Sweave
Dear list,
I have tried to setup my Xemacs for use with Sweave, which I indend to learn.
I have followed the instructions in the Sweave FAQ, that is to say, I put
(defun Rnw-mode ()
(require 'ess-noweb)
(noweb-mode)
(if (fboundp 'R-mode)
(setq noweb-default-code-mode 'R-mode)))
(add-to-list 'auto-mode-alist '("\\.Rnw\\'" . Rnw-mode))
(add-to-list
2008 Feb 03
2
Sends files when I don't think it should
Hi,
I've got one thats really stumping me... rsync 2.6.9 from FreeBSD
ports on both ends.
/usr/local/tmp/rsync --dry-run -v -v -v -v -v -v -v -v -v -v -v -v --dry-run -vrlptHDgozxS --partial --force --delete --numeric-ids --exclude='A/*' --include='*/' /usr/local/etc/machines/ rsync@A:/usr/local/etc/machines/
It seems to be sending over files that I can't understand
2009 Jun 09
2
Sweave and accents
Hello.
I want to write my notes in Sweave in my own language (spanish). But
my language has accents and when I run Sweave in R to translate my Snw
file into the tex file the accents are translated into unrecognizable
characters.
For example, the word "cami?n" (truck) is translated into "cami??n"
Somebody knows how can I do it?
One solution I don't like is using a
2003 Nov 13
1
Can't get Sweave syntax highlighting with Emacs
I can't get Emacs to automatically do syntax highlighting of
Sweave files. I have followed Friedrich's suggestion for code
to insert into my .emacs file. The complete section from my .emacs
file is given below. When I load a *.Snw file, font is white until I press
M-x, then the first code and document chunks get highlighted, but not
the rest of the file. Latex and Noweb menus are