Peter,
To set the width of included graphics in your LaTeX document, see the Sweave
manual: http://www.ci.tuwien.ac.at/~leisch/Sweave/Sweave-manual-20030624.pdf
'It also sets the default LATEX figure width (which is
independent of the size of the generated EPS and PDF files).
The current default
Please note (because you keep saying it): this is not Rcmd.
Rcmd runs Perl to run the Perl script build.
The perl script build --binary runs INSTALL to install your package.
INSTALL runs Rdconv, and it is Rdconv which is complaining.
So the problem is installing your package: did you try instal
Hi all
I'm using Sweave and find it a treat. But one
question:
I use Sweave to create my pictures which are
automatically included into LaTeX. For example,
in the file test.Snw, I may have:
% LaTeX stuff
\begin{figure}
<>=
x1 <- seq(1,5, length=10)
x2 <- sin(x1)
plot(x1,x2)
@
\caption{Plot}
Hola!
I am using Rcmd build --binary ... on a windows XP system, and am
encountering a strange problem. Rcmd claims there are syntax errors
in one of mine .Rd files
*** Syntax error: mismatched or missing brackets in
I take "brackets" to mean [], and I have none of them in the file,
and d
Thomas Sudler <[EMAIL PROTECTED]> wrote:
> And my last question: How can I change the value of a cell? (I
mean not by
> clicking into the cell... I mean how I can change the value
with a
> command).
Thomas,
Currently there is no official interface between R arrays and
Tcl arrays, so you have t
Thomas Sudler <[EMAIL PROTECTED]> wrote:
> Is it possible to "block" a cell (I mean, that you can't make
an entry)?
> How can I program this? And how can I deactivate a cell when
the cell is
> activated? (command?)
Thomas,
Try this. (Note that pasting in Tcl commands to set arrays is
not very
Thomas Sudler <[EMAIL PROTECTED]> wrote:
> color of all the cells, that's no problem. But is it also
possible to define
> another color for different cells? (example: Cell at position
[1,1]:red,
Thomas,
Try this:
require(tcltk)
tclRequire("Tktable")
tt <- tktoplevel()
table1 <- tkwidget(tt,"ta
Thomas Sudler <[EMAIL PROTECTED]> wrote:
> I want to start an action when i click into a cell. Example:
When I click
> into a cell, a message box should open with the information of
the
> location of the cell where I clicked in. So I only
> need to know how to get the possition of the active cel
Dear All,
thanks for exceptional and speedy help. In particular, thanks to J. R.
Lockwood, Sue Paul, Spencer Graves, Dennis J. Murphy and Tony Plate.
regards,
Federico Calboli
=
Federico C.F. Calboli
Department of Biology
University College London
Room 327
Darwin Bui
> x <- read.table(file("clipboard"), header=T)
> # add an extra field to define groups of 5 sequential rows
> x[,"code"] <- rep(seq(len=nrow(x)/5), each=5)
> x
temp line cage number code
118 181 6678.6301
218 181 7774.4581
318 181 7845.9021
418 1
Have you considered "aggregate" [documented in help(aggregate) or
"www.r-project.org" -> search -> "R site search" or Venables and Ripley,
Modern Applied Statistics with S]?
hope this helps. spencer graves
Federico Calboli wrote:
Dear All,
I would like to ask you how to accomplish a little tr
Dear All,
I would like to ask you how to accomplish a little tricky data
manipulation. I have a large dataset, looking something like:
templinecagenumber
18 18 1 6678.63
18 18 1 7774.458
18 18 1 7845.902
18 18 1 9483.578
Is data being appended to the file, or is the file being overwritten
with the new data?
For the former case, I use the $size element returned by file.info()
to watch for changes in size, and when the size has changed, use
pipe() and the unix tail command to get the latest data. My data,
howeve
Did you try "www.r-project.org" -> search -> "R site search" for
"varcomp"? If yes, could you please explain why that does not answer
your question? Please include in your reply a toy example including a
"data.frame" statement, preferably with something closer to 6 numbers
than 40 AND some R
Is anyone aware of an R plug-in for the Eclipse IDE?
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Dear R users:
I am having problem with following datasets:
4 true measurement: 2 10 15 20
10 repeated measurements for each true measurement
1.9 9.8 14.5 20.2
2.1 10 1520.1
In the following session, the output vector has an NA in the last position even though
intervals are supposed to be
open-closed in cut:
> dat <- seq(ISOdate(2003,6,28),length=5,by="days")
> cut(dat,dat[c(2,5)])
[1] 2003-06-29 08:00:00 2003-06-29 08:00:00
[4] 2003-06-29 08:00:00
Dear all,
I'm writing a small program to read a file that receives data every time
(e.g. every 1second ). During the execution of my program I get the
message:
" Error in read.table("file.txt", header = T, sep = ";") :
no lines available in input "
I suppose that it happens when I try to re
Jonathan Baron <[EMAIL PROTECTED]> writes:
> On 07/28/03 12:12, Frank E Harrell Jr wrote:
>>I would like to also have a way to collaborate
>>with remote clients using a phone and a web server.
>
> One idea - which I have yet to convince any of my many remote
> collaborators to try - is to use Vnc
On 07/28/03 12:12, Frank E Harrell Jr wrote:
>I would like to also have a way to collaborate
>with remote clients using a phone and a web server.
One idea - which I have yet to convince any of my many remote
collaborators to try - is to use Vnc to allow you and the
client/collaborator to view the
I plan to use Sweave for most of the statistical reports I write for general
statistical consulting projects. I would like to also have a way to collaborate with
remote clients using a phone and a web server. This might involve a more incremental
output process than Sweave uses. One could, fo
On Mon, 28 Jul 2003 08:18:09 -0400
Jonathan Baron <[EMAIL PROTECTED]> wrote:
> Thanks for the quick reply! One more question, below.
>
> On 07/27/03 22:20, Frank E Harrell Jr wrote:
> >On Sun, 27 Jul 2003 14:47:30 -0400
> >Jonathan Baron <[EMAIL PROTECTED]> wrote:
> >
> >> I have always avoided
On Mon, 28 Jul 2003, Joerg Schaber wrote:
> I wonder if there is a possibility to avoid that R sets one level of a
> factor equal zero in a model fit.
>
> More precisely, I want to fit a two-way unbalanced linear model: o ~ 0 +
> x + y
> x is a factor with 10 levels, y is a factor with 9 levels
Looks like a gcc/as mismatch. You are using a version of gcc compiled on
that machine with those exact paths (and not one using GNU as or a
different version of Solaris)?
BTW, qtl does compile on a properly installed Solaris 8 system using gcc
3.3: I've just checked.
On Mon, 28 Jul 2003, Saun
Hi,
I wonder if there is a possibility to avoid that R sets one level of a
factor equal zero in a model fit.
More precisely, I want to fit a two-way unbalanced linear model: o ~ 0 +
x + y
x is a factor with 10 levels, y is a factor with 9 levels. In order to
get a unique solution
i set the int
Saunak Sen <[EMAIL PROTECTED]> writes:
> Hello...
>
> I tried to compile an R addon package, R/qtl on a Solaris machine and
> I get this error. I know that R/qtl complies correctly on other
> platforms (Windows, Mac, Linuxes, etc), so I am wondering what the
> problem might be.
>
> Any ideas?
Hello...
I tried to compile an R addon package, R/qtl on a Solaris machine and
I get this error. I know that R/qtl complies correctly on other
platforms (Windows, Mac, Linuxes, etc), so I am wondering what the
problem might be.
Any ideas?
Thanks,
Saunak
---
I don't think that is the right density: haven't you forgotten I(x > a)?
So you need a constraint on a in the optimization, or at least to return
density 0 if a >= min(x_i) (but I suspect the mle may well occur at the
boundary).
Without that constraint you don't have a valid optimization problem
Dear All;
I tried to use fitdistr() in the MASS library to fit a mixture
distribution of the 3-parameter Weibull, but the optimization failed.
Looking at the source code, it seems to indicate the error occurs at
if (res$convergence > 0)
stop("optimization failed")
We had two power failures Saturday morning that brought down the
machine that serves as cran.us.r-project.org and as www.omegahat.org.
The automatic reboot was unsuccessful because one of the file systems
required a manual file system check.
I was blissfully unaware of this until this morning. Th
Version 1.9 of the survey package, now percolating through CRAN, adds a
beta implementation of replication weights. These can either be created
from a survey design (using BRR, JK1, or JKn schemes) or provided by the
user. These have been tested on only a few examples so far: there seem to
be re
John Chambers <[EMAIL PROTECTED]> writes:
> - not evaluating the left side of the operator. This is no problem in
> principle, since generic functions can have a signature (see
> ?setGeneric); if the signature omits the first argument, methods can be
> dispatched without evaluating that argument.
The problem with having methods for "<-" is a practical one, not one of
principle.
1. The current code does not evaluate the <- operator as a function
(This is less serious than it sounds, since certain "functions" are
intercepted specially in the C code for method dispatch already.)
2. Assign
Marc Mamin wrote:
Hi,
As the server www.omegahat.org seems to be down since quite a while,
could someone send me the RSXML library for Windows2000 ?
Many thanks,
Marc Mamin
According to Prof. Brian D. Ripley, earlier today...
> There's a mirror of the software in the Omegahat area on CRAN.
I j
Thank you for your information
(R is very new for me...)
I've got the package installed by now.
Marc Mamin
-Original Message-
From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 3:23 PM
To: Marc Mamin
Cc: [EMAIL PROTECTED]
Subject: Re: [R] http://www.omegahat.
The cdf of the Gumbel distribution is exp(-exp(-x)), not the density.
The easiest way to plot the density is probably to download package evd
and use
library(evd)
plot(dgumbel, -2, 5)
Alec Stephensontel +44 (0) 1524 593950
Department of Mathematics and Statistics
On Mon, 28 Jul 2003, Marc Mamin wrote:
> As the server www.omegahat.org seems to be down since quite a while,
only since Sat morning: don't be impatient. (And this is not the omegahat
list.)
> could someone send me the RSXML library for Windows2000 ?
It's not there anyway. If you want it for
[EMAIL PROTECTED] wrote:
hi,
i'm trying to learn how to use aregImpute by doing the examples provided with
the package, and after installing Hmisc.1.6-1.zip (for Windows),
Hmisc_2.0-0 is current.
use e.g. update.packages() to update to the recent version.
and running the very first example on R
Hi R lovers!
Are there any means to define and plot a function given the equation that
specifies the function?
For example I'd like to plot and work with the Gumbel Distribution density
defined by
Lambda(x)=exp(-exp(-x))
My question may appear very simple but I haven't got an idea yet about how
On Mon, 28 Jul 2003 [EMAIL PROTECTED] wrote:
> i'm trying to learn how to use aregImpute by doing the examples provided with
> the package, and after installing Hmisc.1.6-1.zip (for Windows),
> and running the very first example on R 1.7.1, i get an error message warning
> me about "mace" (see b
Hi,
As the server www.omegahat.org seems to be down since quite a while,
could someone send me the RSXML library for Windows2000 ?
Many thanks,
Marc Mamin
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
On Mon, 28 Jul 2003, kjetil brinchmann halvorsen wrote:
> Hola!
>
> When running
> Rcmd build --binary ,
>
> the run always end with
>
> zip warning: name not matched: DESCRIPTION
>
> The package seems to work fine. This happens whith all packages, mine
> as well as CRAN ones.
>
>
Hola!
When running
Rcmd build --binary ,
the run always end with
zip warning: name not matched: DESCRIPTION
The package seems to work fine. This happens whith all packages, mine
as well as CRAN ones.
Whats happening?
Kjetil Halvorsen
hi,
i'm trying to learn how to use aregImpute by doing the examples provided with
the package, and after installing Hmisc.1.6-1.zip (for Windows),
and running the very first example on R 1.7.1, i get an error message warning
me about "mace" (see below) and acepack.
i found the acepack package
Thanks for the quick reply! One more question, below.
On 07/27/03 22:20, Frank E Harrell Jr wrote:
>On Sun, 27 Jul 2003 14:47:30 -0400
>Jonathan Baron <[EMAIL PROTECTED]> wrote:
>
>> I have always avoided missing data by keeping my distance from
>> the real world. But I have a student who is doi
If you are the impatient type, you might want to have a
look at "A Guide for the Unwilling S User". It is in the
contributed documentation on the R website and on my
company website.
Patrick Burns
Burns Statistics
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry a
Hi!
> I have no clue what i am doing/ meant to do with R. i have just begun
> statistics for uni and all commands don't seem to work, they say
> syntax error, we are meant to put a hist.r in but ?
I guess you should have a look at the manuals. You can find them at the
R-Project w
On Mon, 28 Jul 2003, Jason Turner wrote:
> Pierre-Olivier Chasset wrote:
> > Dear Helpers,
> >
> > I would like to know if I can call other use R-method within Perl scripts.
> > I have not found any module in CPAN (Perl Archive).
> > Thanks,
> >
>
> The server's not responding right now, but ch
On 28 Jul 2003, Peter Dunn wrote:
> I have a question about plotting line types and
> legends. Here's a short piece of code to
> demonstrate:
>
> x <- y <- seq(1,10)
> plot(x,y, type ="l", lty="33")
> lines(x,y+1, lty=1)
> legend( 8,2,legend=c("lty=1","lty=\"33\""), lty=c(1,"33") )
>
> On my s
At 16:08 28/07/03 +1000, you wrote:
Guess what
I have no clue what i am doing/ meant to do with R. i have just begun
statistics for uni and all commands don't seem to work, they say syntax
error, we are meant to put a hist.r in but ? please help, step by step, to
use this program i would turn it
Pierre-Olivier Chasset wrote:
Dear Helpers,
I would like to know if I can call other use R-method within Perl scripts.
I have not found any module in CPAN (Perl Archive).
Thanks,
The server's not responding right now, but check out RSPerl on Omegahat:
http://www.omegahat.org
Cheers
Jason
--
Indig
jill irwin wrote:
Guess what
I have no clue what i am doing/ meant to do with R.
Ask your teacher (he/she certainly already told you!), we don't know
either
Please use a relevant subject line!
Please tell your mailtool to break lines!
i have just begun statistics for uni and all commands
Hi all
I have a question about plotting line types and
legends. Here's a short piece of code to
demonstrate:
x <- y <- seq(1,10)
plot(x,y, type ="l", lty="33")
lines(x,y+1, lty=1)
legend( 8,2,legend=c("lty=1","lty=\"33\""), lty=c(1,"33") )
On my system (see below), the line types in the legend
Dear Jill,
Assuming you have installed R correctly, several manuals in
PDF will have been installed. Perhaps the most useful for
you is "An Introduction to R" which answers all of your
questions (and more). If you've installed the Windows
version, you can view this by following the menus
Help->Man
Erin Hodgess wrote:
Dear R People:
What is the correct way to cite help files for a function
in R, please?
The R Reference Index manual "The R Environment for Statistical
Computing and Graphics" seems to be the appropriate document.
I'm using
@MANUAL{r-ref,
author = {{R Development Core
55 matches
Mail list logo