Re: Fwd: [R] Is a .R script file name available inside the script?

2005-04-09 Thread Uwe Ligges
Please see also ?commandArgs Uwe Ligges Darren Weber wrote: -- Forwarded message -- From: Darren Weber [EMAIL PROTECTED] Date: Apr 8, 2005 1:16 PM Subject: Re: [R] Is a .R script file name available inside the script? To: Gabor Grothendieck [EMAIL PROTECTED] Right, I understand, it

Re: [R] error on install Rmpi packages

2005-04-09 Thread Thomas Schönhoff
Hello Marcello, Am Freitag, 8. April 2005 16:27 schrieb Marcelo Luiz de Laia: Dear Sir/Madam, I need to install Rmpi Package on my linux debian like, but I get some errors. I try to instal it using install.packages or after download and save it on my local dir and run R CMD INSTALL

[R] PostScript scatter plot, losing points at RHS

2005-04-09 Thread Jonathan Campbell
I'm using the following sequence to plot a scatter plot to PostScript. Those familiar with the Iris LDA example in MASS will recognise what I'm at. postscript(hulda.eps, horizontal=FALSE, onefile=TRUE, height=6, width=6, pointsize=8, paper=special) plot(hu.ld, type = n, xlab= first linear

Re: [R] PostScript scatter plot, losing points at RHS

2005-04-09 Thread Uwe Ligges
Jonathan Campbell wrote: I'm using the following sequence to plot a scatter plot to PostScript. Those familiar with the Iris LDA example in MASS will recognise what I'm at. No, I don't recognise: - Which edition of MASS? - I don't see hulda nor hu.ld. Really, do you expect us to read through the

Re: [R] PostScript scatter plot, losing points at RHS

2005-04-09 Thread Jonathan Campbell
On Apr 9, 2005 4:45 PM, Uwe Ligges [EMAIL PROTECTED] wrote: Jonathan Campbell wrote: I'm using the following sequence to plot a scatter plot to PostScript. Those familiar with the Iris LDA example in MASS will recognise what I'm at. No, I don't recognise: - Which edition of MASS?

Re: [R] PostScript scatter plot, losing points at RHS

2005-04-09 Thread Uwe Ligges
Jonathan Campbell wrote: On Apr 9, 2005 4:45 PM, Uwe Ligges [EMAIL PROTECTED] wrote: Jonathan Campbell wrote: I'm using the following sequence to plot a scatter plot to PostScript. Those familiar with the Iris LDA example in MASS will recognise what I'm at. No, I don't recognise: - Which edition

Re: [R] PostScript scatter plot, losing points at RHS

2005-04-09 Thread Prof Brian Ripley
Assuming you did dev.off() or quit the session at the end, I cannot reproduce this (even with 1.9.0). If you did, it is almost surely a faulty viewer (so check the actual file): if not you would have an incomplete plot since you failed to flush the output file buffer. On Sat, 9 Apr 2005,

[R] having problems with constrOptim

2005-04-09 Thread Tolga Uzuner
Hi, Am having problems specifying lower and upper constraints in constrOptim... I have a function(x)-f which takes a 5 vector array the constraints on the elements of x are: x[1],x[2],x[3],x[5]0 x[4]-1 x[1],x[2],x[3],x[4],x[5]1 this works: x [1] 0.400 0.200 0.200 -0.050 0.002

Re: [R] PostScript scatter plot, losing points at RHS

2005-04-09 Thread Jonathan Campbell
On Apr 9, 2005 5:29 PM, Prof Brian Ripley [EMAIL PROTECTED] wrote: Assuming you did dev.off() Nope, I didn't. I assumed (not really thinking at all) that dev.off() was used merely to switch between display devices. And when I do, I get the complete plot! Very many thanks. And to Uwe too,

Re: [R] Violin plot for discrete variables.

2005-04-09 Thread Deepayan Sarkar
On Monday 21 March 2005 11:08, Martin Maechler wrote: AndyL == Liaw, Andy [EMAIL PROTECTED] on Mon, 21 Mar 2005 08:14:20 -0500 writes: AndyL I'd suggest dotcharts, such as: AndyL x1 - sample(letters[1:4], 100, replace=TRUE, prob=c(.2, .3, .4, .1)) AndyL x2 -

[R] Error: too many open devices

2005-04-09 Thread Kate Walton
Hi, R reported the following error and stopped running my code: Error in win.graph(width = 8.5, height = 11) : too many open devices My code calls for R to produce more than 100 plots, but it stops running after about 60 and gives me the error message copied above. I'm sure there's an

[R] error: too many open devices

2005-04-09 Thread Kate Walton
Hi, R stops running my code and gives me the following error message: Error in win.graph(width = 8.5, height = 11) : too many open devices My code calls for R to produce over 100 graphs, but it stops running and gives me this error message after about 60. I'm sure there's an easy fix.

Re: [R] R-generated animation of a polynomiograph

2005-04-09 Thread BORGULYA Gbor
On Saturday 09 April 2005 02.03, Franois Pinard wrote: The resulting animation, and also the sources, are available at: http://pinard.progiciels-bpi.ca/plaisirs/nr-anim-01.html Looks great! __ R-help@stat.math.ethz.ch mailing list

Re: [R] error: too many open devices

2005-04-09 Thread Peter Dalgaard
Kate Walton [EMAIL PROTECTED] writes: Hi, R stops running my code and gives me the following error message: Error in win.graph(width = 8.5, height = 11) : too many open devices My code calls for R to produce over 100 graphs, but it stops running and gives me this error message

RE: [R] error: too many open devices

2005-04-09 Thread John Fox
Dear Kate, Open a graphics window with windows(). From the history menu, turn recording on. You should be able to record 100 graphs, using the Page Up and Down keys to move through the graph history. I hope this helps, John John Fox Department of Sociology

Re: [R] having problems with constrOptim

2005-04-09 Thread Ingmar Visser
ui %*% theta - ci has to be larger than zero, and it is not: ui=rbind(diag(5),-diag(5)) ui [,1] [,2] [,3] [,4] [,5] [1,]10000 [2,]01000 [3,]00100 [4,]00010 [5,]00001 [6,] -10

[R] RE: Document

2005-04-09 Thread receive . alerts
-BEGIN PGP SIGNED MESSAGE- The user that you addressed your message to does not exist on the Nationwide Building Society mail server. The unknown user was:- [EMAIL PROTECTED] Please check the address and resend. Any problems, please email [EMAIL PROTECTED] -BEGIN PGP

Re: [R] having problems with constrOptim

2005-04-09 Thread Tolga Uzuner
subtle... thanks, that works, appreciate it Ingmar Visser wrote: ui %*% theta - ci has to be larger than zero, and it is not: ui=rbind(diag(5),-diag(5)) ui [,1] [,2] [,3] [,4] [,5] [1,]10000 [2,]01000 [3,]00100 [4,]00