Re: [R] Bug in R 2.4.1 ?

2007-04-23 Thread Sebastian Weber
lable at cran works again as I want it to. So cancel this R bug and and account it for a user bug :-). Greetings, Sebastian On Mon, 2007-04-23 at 11:20 -0400, Duncan Murdoch wrote: > On 4/23/2007 10:56 AM, Sebastian Weber wrote: > > Hello everybody, > > > > I'm using h

[R] Bug in R 2.4.1 ?

2007-04-23 Thread Sebastian Weber
Hello everybody, I'm using hdf5 files to store results from intermediate calculations. These are usually part of a list, called "res". As I want the hdf-files to contain all the members of res in its top "directory", I used to do attach(res) do.call("hdf5save", args=c(fileout=file.path(dir, ofile

[R] landscape pdf

2007-03-23 Thread Sebastian Weber
Hello together! How can I plot a landscape letter-format plot? With postscript, I just use the horizontal option and I get what I want, but it seems that the pdf lacks this option. Well, I could do a ps2pdf conversion of the generated ps-file. But is there a way to directly produce landscape pdf-p

[R] [lattice] levelplot for 2D density plots

2007-02-01 Thread Sebastian Weber
Hello all, I'm trying to use the levelplot lattice function and can not adapt it to my tastes concering colors: dens <- data.frame(x=c(), y=c(), z=c(), run=c()) for(l in levels(degCorrel$run)) { ind <- degCorrel$run == l dk <- kde2d(log10(degCorrel$correlFunc[ind]), log10(degCorrel $correlFun

[R] can not load my workspace any more

2007-01-29 Thread Sebastian Weber
envoirment with no sucsess. So how can I now access my envoirment??? Greetings, Sebastian Weber __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] mathematical symbols in plots

2007-01-03 Thread Sebastian Weber
g and so on. Any solution to this problem? Any hint? As I'm not too much into font-encoding, I have actually no real clue where to even start searching. Thank you very much for any help. Greetings, Sebastian Weber __ R-help@stat.math.ethz.ch mailin

Re: [R] 2 questions

2006-12-12 Thread Sebastian Weber
Hi! > I'm new here. Want to ask two possibly quite basic questions: > > 1. How can I clear all objects in one stroke? how about rm(ls()) > 2. How can I perform a regression with independent variables specified by > an object? Äh, no spontaneous idea. Greetings, Sebastian > > Thanks,

Re: [R] Quicker way of combining vectors into a data.frame

2006-11-30 Thread Sebastian Weber
Hi! I don't know for sure - and I have not tried it yet, but how about allocating a matrix which will hold all stuff, then put all vectors in it and at last assign some dimnames to it: data <- matrix(0, ncol=5, nrow=length(vec1)) data[1,] <- vec1 ... dimnames(data) <- list(c(1,2,3,4,5), ) as.dat

[R] [ggplot] some questions

2006-11-01 Thread Sebastian Weber
Hello everyone! Sorry, for asking all the time, but I still have some questions which I just can not find in the docs: - Suppose I have a factor with quite a lot of levels. How do I split this factor not only along x or y axis, but rather split about both axis. I'm looking for the lattice layout-

Re: [R] [ggplot] controlling axis and major/minor tick marks

2006-10-31 Thread Sebastian Weber
plot has no notion of major and minor tick marks (mainly > because I don't have a good algorithim to generate them), but it is on > my to do list. I definetly need minor tick marks and will hack my way through ggplot to acheive this if it does not seem to difficult to me. May you give me

[R] [ggplot] controlling axis and major/minor tick marks

2006-10-31 Thread Sebastian Weber
Hello there! I'm starting with ggplot and was wondering how I could control the axis of a plot. I would like the axis of the plot to be drawn black which I thought to acheive with the option axis.colour="black". However, this had no real effect on the plot. Then I found grid.colour which I changed

Re: [R] [ggplot] trouble with ggabline and log-log-plots

2006-10-25 Thread Sebastian Weber
members with according ticks. If you > > like, I sent them to you along with an example plot. > > Yes, I'd like to see them. If the algorithm is good, I'm happy to > clean up the code and include it. Ok, I will send you my code directly. Greetings, Sebastian Weber &g

Re: [R] [ggplot] trouble with ggabline and log-log-plots

2006-10-24 Thread Sebastian Weber
which do produce nice tick-marks with lattice-plots, but the syntax is really messy. However, my functions can produce lists with at and label members with according ticks. If you like, I sent them to you along with an example plot. Greetings, Sebastian Weber > > Hadley

[R] [ggplot] trouble with ggabline and log-log-plots

2006-10-24 Thread Sebastian Weber
untu edgy. Thanks a lot in advance for your help. Greetings, Sebastian Weber __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provi