[R] Default par() options

2007-03-01 Thread Thomas Friedrichsmeier
The following question/idea came up on the RKWard development mailing list, but might be of general interest: Is there a nice way to customize the default look of all graphs on all devices? I.e. a way to - for instance - set the following options before each plot: par(bg=light gray, las=2,

Re: [R] Default par() options

2007-03-01 Thread Petr Klasterecky
I am no expert on these topics but currently I am solving a similar issue using the .Rprofile file and the .First function. So maybe it's enough to put .First - function(){ par(whatever you want) further instructions if neccessary } Petr Thomas Friedrichsmeier napsal(a): The following

Re: [R] Default par() options

2007-03-01 Thread Bert Gunter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petr Klasterecky Sent: Thursday, March 01, 2007 12:51 PM To: Thomas Friedrichsmeier Cc: [EMAIL PROTECTED] Subject: Re: [R] Default par() options I am no expert on these topics but currently I am solving

Re: [R] Default par() options

2007-03-01 Thread Thomas Friedrichsmeier
Hi Bert, On Thursday 01 March 2007 23:59, Bert Gunter wrote: I am not sure exactly what you are asking for below, I guess I'm really asking for some advanced comfort / elegance. See below. but I wonder if your query could be satisfied by the judicious use of the ... argument in a wrapper

[R] Default first argument in assignment function possible?

2006-08-03 Thread Heinz Tuechler
Dear All, is there a possibility to provide a default for the first argument in an assignment function? I could not find out if and how. You see in the example below that not explicitly stating the first argument leads to errors. Thanks, Heinz Tüchler ### example of assignment function

[R] default help system (was Re: Basic package structure question)

2006-06-23 Thread Paul Roebuck
Many parts of original thread [SNIP]'d On Fri, 23 Jun 2006, Duncan Murdoch wrote: On Fri, 23 Jun 2006, Joerg van den Hoff wrote: our Windows machines lack proper development environments (mainly missing perl is the problem for pure R-code packages, I believe?) and we bypass this (for

Re: [R] default value for cutoff in gstat variogram()

2006-06-05 Thread Patrick Giraudoux
Edzer J Pebesma a écrit : Patrick Giraudoux wrote: I wonder what is the default value for the argument 'cutoff' when not specified in the variogram.formula function of gstat. Computing variogram envelops within gstat, I am comparing the results obtained with variog in geoR and variogram

[R] default value for cutoff in gstat variogram()

2006-06-03 Thread Patrick Giraudoux
I wonder what is the default value for the argument 'cutoff' when not specified in the variogram.formula function of gstat. Computing variogram envelops within gstat, I am comparing the results obtained with variog in geoR and variogram in gstat, and it took me a while before understanding

Re: [R] Default lag.max in ACF

2006-03-28 Thread Spencer Graves
I don't know why the default lag.max is 10*log10(N/m) for m series. The acf help page includes the following: Author(s): Original: Paul Gilbert, Martyn Plummer. Extensive modifications and univariate case of 'pacf' by B.D. Ripley. I've copied these three

Re: [R] Default lag.max in ACF

2006-03-27 Thread Prof Brian Ripley
The default is taken from S-PLUS, so the reference is the S-PLUS manual. It is pretty similar to the recommendation of Brockwell Davis. On Mon, 27 Mar 2006, Spencer Graves wrote: I don't know why the default lag.max is 10*log10(N/m) for m series. The acf help page includes the

[R] Default lag.max in ACF

2006-03-23 Thread Rafal Stankiewicz
Hi, The default value for lag.max in ACF implementation is 10*log10(N) There several publications recommending setting lag.max to: - N/4 (Box and Jenkins, 1970; Chatfield, 1975; Anderson, 1976; Pankratz, 1983; Davis, 1986; etc.) - sqrt(N)+10 (Cryer, 1986) - 20=N=40 (Brockwell and Davis) Why

[R] Default keyboard shortcuts in JGR

2005-11-04 Thread Zev Ross
Hi R List, A very minor item, but I was just wondering if there is a way to change the default keyboard shortcuts in the JGR GUI. By default, the Run command is CTRL-R which requires more finger gymnastics than the F-10 in S-PLUS. Any suggestions? Thank you, Zev --

[R] default height width of graphs

2005-09-01 Thread [EMAIL PROTECTED]
hy all, When i plot under R it generates a 440x440px image, is it possible to modify and increase this ? thks all guillaume. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] default height width of graphs

2005-09-01 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: hy all, When i plot under R it generates a 440x440px image, is it possible to modify and increase this ? What device are we talking about? See the corresponding help file, maybe starting at ?Devices Uwe Ligges thks all guillaume.

[R] default family object in glm

2005-07-27 Thread luk
hi what is the default family object in glm? I cannot find it from the doc. It would be great if you could tell me where I should look into. thanks, lu - Stay connected, organized, and protected. Take the tour [[alternative HTML

Re: [R] default family object in glm

2005-07-27 Thread Dimitris Rizopoulos
/~m0390867/dimitris.htm - Original Message - From: luk [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Wednesday, July 27, 2005 1:10 PM Subject: [R] default family object in glm hi what is the default family object in glm? I cannot find it from the doc. It would be great if you

Re: [R] default family object in glm

2005-07-27 Thread Prof Brian Ripley
On Wed, 27 Jul 2005, luk wrote: what is the default family object in glm? I cannot find it from the doc. It would be great if you could tell me where I should look into. Try the help page: glm(formula, family = gaussian, data, weights, subset, It

[R] Default Format for Dates?

2005-06-10 Thread khobson
want the date to be June 24, 2003. I could take care of the problem in a WordPerfect macro but I'd rather do it as an R default date format if possible. I researched some of this in the archives, FAQ's and manuals but didn't find anything that met my need. I would imagine that this type

Re: [R] Default Format for Dates?

2005-06-10 Thread Gabor Grothendieck
the properly formatted date. When I put this in a WordPerfect merge, I want the date to be June 24, 2003. I could take care of the problem in a WordPerfect macro but I'd rather do it as an R default date format if possible. I am not entirely sure I understand what you are asking but I assume

Re: [R] Default Format for Dates?

2005-06-10 Thread Roger D. Peng
The numeric value in cover$FINALREPOR is 12227. I'd rather not create another vector to hold the properly formatted date. When I put this in a WordPerfect merge, I want the date to be June 24, 2003. I could take care of the problem in a WordPerfect macro but I'd rather do it as an R

Re: [R] Default Format for Dates?

2005-06-10 Thread Gabor Grothendieck
is 12227. I'd rather not create another vector to hold the properly formatted date. When I put this in a WordPerfect merge, I want the date to be June 24, 2003. I could take care of the problem in a WordPerfect macro but I'd rather do it as an R default date format if possible. I

Re: [R] Default Format for Dates?

2005-06-10 Thread Gabor Grothendieck
macro but I'd rather do it as an R default date format if possible. I am not entirely sure I understand what you are asking but I assume you want a Date variable such that print, format and as.character, when applied to it, produce default output of a prespecified format. Although I do

[R] [[-,[[ default?

2003-10-02 Thread Wolski
Hi! I have implemented class specific behaviour of [[-.myclass-function(). How it is posible to call the [[.default on an object of myclass? Eryk Dipl. bio-chem. Eryk Witold Wolski@MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285

RE: [R] [[-,[[ default?

2003-10-02 Thread Henrik Bengtsson
oktober 2003 13:30 To: [EMAIL PROTECTED] Subject: [R] [[-,[[ default? Hi! I have implemented class specific behaviour of [[-.myclass-function(). How it is posible to call the [[.default on an object of myclass? Eryk Dipl. bio-chem. Eryk Witold Wolski@MPI-MG Dep. Vertebrate

[R] default directory RGui for windows NT

2003-08-14 Thread Roy Werkman
Hello, Can anyone tell me how to change the default directory in RGui for windows NT? Thanx, Roy __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] default directory RGui for windows NT

2003-08-14 Thread Ko-Kang Kevin Wang
On Mon, 11 Aug 2003, Roy Werkman wrote: Can anyone tell me how to change the default directory in RGui for windows NT? I take it you mean the working directory? At least two ways: 1) Right click on the Rgui shortcut, click on Properties. Enter the path into the Starting Location (or

Re: [R] default directory RGui for windows NT

2003-08-11 Thread Prof Brian Ripley
See the rw-FAQ Q2.2. What happened when you looked in the FAQs before posting? On Mon, 11 Aug 2003, Roy Werkman wrote: Can anyone tell me how to change the default directory in RGui for windows NT? -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics,

[R] Default title for hist assumes name is short

2003-07-27 Thread Stephen Eglen
On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))})) the title is three lines long and so has Histogram of at the start of each line of the title. This is because the definition of main in hist.default is main = paste(Histogram of, xname). Is

Re: [R] Default title for hist assumes name is short

2003-07-27 Thread Uwe Ligges
Stephen Eglen wrote: On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))})) the title is three lines long and so has Histogram of at the start of each line of the title. This is because the definition of main in hist.default is main =

Re: [R] Default title for hist assumes name is short

2003-07-27 Thread Spencer Graves
Did you try: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x) {sqrt(sum(x^2))}), main=adsf) This worked for me in both S-Plus 6.1 and R 1.7.1. hope this helps. spencer graves Stephen Eglen wrote: On the following plot: hist(apply(cbind( runif(1000), runif(1000)), 1, function(x)