> Reframe the problem. Rethink why you need to keep dimensions. I never ever
> had to use drop.
The problem is that the type of the return value changes if you happen
to forget to use drop = FALSE, which can easily turn into a nightmare:
m <- matrix(1:20, ncol=4)
for (i in seq(3, 1, -1)) {
p
> Hi, Does anyone know of an existing package that will output to rtf?
> Something along the lines of pdf(ds,'file.pdf') or write.csv(ds,'file.csv').
You could use odfWeave and then use OpenOffice to generate an RTF
file.
Regards,
Tom
__
R-help@r-pr
> I am following an example from online and am getting the following error:
> ."Error unizipping fileunzip not found".
Are zip and unzip in your path? If not you could use odfWeaveControl.
Example:
odfctrl <- odfWeaveControl(
zipCmd = c("h:/bin/zip.exe -r $$file$$ .", "h:/bin/unzip.e
> I could not find any documentation of how dot-dot-dot works when used
> as an argument in a function call (rather than as a formal argument in
> a definition).
You might also be interested in other thread regarding this problem:
http://groups.google.com/group/r-help-archive/msg/5c6ea5eb593337b4
Does nobody have an advice concerning that problem? If it is a FAQ,
I'd appreciate a pointer to a discussion of this issue. With the docs
accessible to me, I wasn't able to solve that problem.
> require(lattice)
> f.barchart <- function(...) {
> barchart(...,
> panel =
Hi,
I have the following code snippet:
require(lattice)
f.barchart <- function(...) {
barchart(...,
panel = function(x, y, ...) {
panel.barchart(x, y, ...)
}
)
}
x <- data.frame(a = c(1,1,2,2), b = c(1,2,3,4), c = c(1,2,2,1)
On 25 Jan., 20:26, GL wrote:
> Actually, better sql would likely be:
>
> dbs.final <- sqldf("select * from dbs.possible.combos left join
> dbs.aggregate using (Date,Place)")
>
> but this still doesn't work
I'd suspect name mangling to cause the problem:
http://code.google.com/p/sqldf/#2._Why_does
> Yes. You can get back the tick marks with scaless$col:
Thanks for the hint. May I kindly ask what would be the easiest way to
draw a line on the left side?
Thanks,
Tom
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
> 1.) How do I make lattice (e.g. barchart) to not draw a box but only a
> y-axis on the left hand side so that the plot looks like barplot with
> default settings?
Does nobody have an idea? Or is the solution that obvious?
__
R-help@r-project.org maili
Hi,
I have two somewhat embarassing questions about the lattice-related
plot functions:
1.) How do I make lattice (e.g. barchart) to not draw a box but only a
y-axis on the left hand side so that the plot looks like barplot with
default settings? So that the following two code snippets look more
10 matches
Mail list logo