Re: [R] line widths of plotting symbols in the lattice

2007-08-02 Thread Stephen Tucker
Thanks to all for the response - the grid.points() solution works well. Stephen (oddly I missed when this thread and its response actually got posted... was starting to get worried) --- Deepayan Sarkar <[EMAIL PROTECTED]> wrote: > On 7/31/07, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > > > > > St

Re: [R] line widths of plotting symbols in the lattice

2007-07-31 Thread Deepayan Sarkar
On 7/31/07, Uwe Ligges <[EMAIL PROTECTED]> wrote: > > > Stephen Tucker wrote: > > Dear List, > > > > Sorry, this is very simple but I can't seem to find any information > > regarding > > line widths of plotting symbols in the lattice package. > > > > For instance, in traditional graphics: > > > >>

Re: [R] line widths of plotting symbols in the lattice

2007-07-31 Thread Prof Brian Ripley
On Tue, 31 Jul 2007, Uwe Ligges wrote: > > > Stephen Tucker wrote: >> Dear List, >> >> Sorry, this is very simple but I can't seem to find any information regarding >> line widths of plotting symbols in the lattice package. >> >> For instance, in traditional graphics: >> >>> plot(1:10,lwd=3) >>> p

Re: [R] line widths of plotting symbols in the lattice

2007-07-31 Thread Uwe Ligges
Stephen Tucker wrote: > Dear List, > > Sorry, this is very simple but I can't seem to find any information regarding > line widths of plotting symbols in the lattice package. > > For instance, in traditional graphics: > >> plot(1:10,lwd=3) >> points(10:1,lwd=2,col=3) > > 'lwd' allows control

[R] line widths of plotting symbols in the lattice

2007-07-30 Thread Stephen Tucker
Dear List, Sorry, this is very simple but I can't seem to find any information regarding line widths of plotting symbols in the lattice package. For instance, in traditional graphics: > plot(1:10,lwd=3) > points(10:1,lwd=2,col=3) 'lwd' allows control of plotting symbol line widths. I've tried

Re: [R] line endings in lattice plots: square vs. round

2007-04-01 Thread John Bullock
Grothendieck" <[EMAIL PROTECTED]> To: "John Bullock" <[EMAIL PROTECTED]> Cc: Sent: Sunday, April 01, 2007 12:14 PM Subject: Re: [R] line endings in lattice plots: square vs. round > See gpar in grid: > > library(grid) > ?gpar > > library(lattice) >

Re: [R] line endings in lattice plots: square vs. round

2007-04-01 Thread Gabor Grothendieck
See gpar in grid: library(grid) ?gpar library(lattice) xyplot(rivers ~ rivers, type = "l", lwd = 10, lineend = 1) On 4/1/07, John Bullock <[EMAIL PROTECTED]> wrote: > > I would like to use llines() to draw lines with > square endings in lattice plots. But the default > behavior seems to be to d

[R] line endings in lattice plots: square vs. round

2007-04-01 Thread John Bullock
I would like to use llines() to draw lines with square endings in lattice plots. But the default behavior seems to be to draw lines with round endings. How can I change this? I'm looking for a parameter like par('lend') or get.gpar('lineend'), but trellis.par.get() doesn't seem to have any

Re: [R] line style outliers in boxplot

2007-03-28 Thread AA
Thank you Gabor. This works. And you are right, bxp is actually on the boxplot help page. I am sorry I missed it. Thanks again. A. - Original Message - From: "Gabor Grothendieck" <[EMAIL PROTECTED]> To: "AA" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, March

Re: [R] line style outliers in boxplot

2007-03-27 Thread Gabor Grothendieck
As indicated in ?boxplot it passes certain arguments to bxp so check out ?bxp where you will find various out... arguments: boxplot(c(1:10, 20), outlty = 2, outcex = 0 ) On 3/27/07, AA <[EMAIL PROTECTED]> wrote: > Dear Users > > Is there any way to generate lines instead of points for outliers i

[R] line style outliers in boxplot

2007-03-27 Thread AA
Dear Users Is there any way to generate lines instead of points for outliers in the boxplot function? Thanks AA. [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

Re: [R] line plot

2007-02-01 Thread Rense Nieuwenhuis
m: "XinMeng" <[EMAIL PROTECTED]> > To: r-help@stat.math.ethz.ch > Date sent: Thu, 01 Feb 2007 14:21:34 +0800 > Subject: [R] line plot > Send reply to:XinMeng <[EMAIL PROTECTED]> > <mailto:[EM

Re: [R] line plot

2007-01-31 Thread Petr Pikal
Hi see ?segments segments(1,10,5,10) HTH Petr On 1 Feb 2007 at 14:21, XinMeng wrote: From: "XinMeng" <[EMAIL PROTECTED]> To: r-help@stat.math.ethz.ch Date sent: Thu, 01 Feb 2007 14:21:34 +0800 Subject: [R] line

[R] line plot

2007-01-31 Thread XinMeng
Hello sir: I wanna get such kind of plot: a line whose start point is(1,10),end point is(5,10) In other words: How can I draw a line if I only know the coordinate of the start point and end point? Thanks! My best __ R-help@stat.math.ethz.ch mailin

Re: [R] line width (all elements) in Trellis

2006-11-06 Thread Daniel E. Bunker
Great! Thanks to both Paul and Deepayan for these efficient approaches! -Dan Deepayan Sarkar wrote: > On 11/6/06, Paul Murrell <[EMAIL PROTECTED]> wrote: >> Hi >> >> >> Deepayan Sarkar wrote: >> > On 11/6/06, Daniel E. Bunker <[EMAIL PROTECTED]> wrote: >> >> Dear All, >> >> >> >> I am hoping t

Re: [R] line width (all elements) in Trellis

2006-11-06 Thread Deepayan Sarkar
On 11/6/06, Paul Murrell <[EMAIL PROTECTED]> wrote: > Hi > > > Deepayan Sarkar wrote: > > On 11/6/06, Daniel E. Bunker <[EMAIL PROTECTED]> wrote: > >> Dear All, > >> > >> I am hoping to implement a barchart using trellis graphics where all > >> elements have a line width of 2. > >> > >> Using trell

Re: [R] line width (all elements) in Trellis

2006-11-06 Thread Paul Murrell
Hi Deepayan Sarkar wrote: > On 11/6/06, Daniel E. Bunker <[EMAIL PROTECTED]> wrote: >> Dear All, >> >> I am hoping to implement a barchart using trellis graphics where all >> elements have a line width of 2. >> >> Using trellis.par.set(), I am able to make most elements lwd=2, but not >> all. In

Re: [R] line width (all elements) in Trellis

2006-11-06 Thread Deepayan Sarkar
On 11/6/06, Daniel E. Bunker <[EMAIL PROTECTED]> wrote: > Dear All, > > I am hoping to implement a barchart using trellis graphics where all > elements have a line width of 2. > > Using trellis.par.set(), I am able to make most elements lwd=2, but not > all. In particular, the top of the box (abov

[R] line width (all elements) in Trellis

2006-11-06 Thread Daniel E. Bunker
Dear All, I am hoping to implement a barchart using trellis graphics where all elements have a line width of 2. Using trellis.par.set(), I am able to make most elements lwd=2, but not all. In particular, the top of the box (above the upper most strip) and the left y-axis remain one point. Co

Re: [R] line plot through NA

2006-10-02 Thread Doran, Harold
Do you mean something like this: plot(approx(Day,V), type='l') > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Monday, October 02, 2006 10:32 AM > To: r-help@stat.math.ethz.ch > Su

Re: [R] line plot through NA

2006-10-02 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Dear R-help list, > > I hope I did not miss something obvious, because my question seems very > simple, but I couln't figure out how to do it. > > If I have the following data: > Day<-c(1,2,3,4,5,6,7) > V<-c(5,NA,10,30,45,NA,10) > than the line in plot > > plot(V~Da

Re: [R] line plot through NA

2006-10-02 Thread David Barron
I assume you mean that you want the first point to be connected by a straight line to the third, etc. because fisrt and sixth points are shown on the plot. If so, you can use the approx function: plot(approx(Day,V,n=length(Day)), type="l") points(Day,V) On 02 Oct 2006 15:31:59 +0100, [EMAIL PRO

[R] line plot through NA

2006-10-02 Thread rggefrm
Dear R-help list, I hope I did not miss something obvious, because my question seems very simple, but I couln't figure out how to do it. If I have the following data: Day<-c(1,2,3,4,5,6,7) V<-c(5,NA,10,30,45,NA,10) than the line in plot plot(V~Day, type="b") will start with the 3rd value and s

Re: [R] line break in pie chart labels

2006-09-28 Thread Benjamin Otto
Hi Peter, Jim, Thanks a lot, that solved the problem. Regards Benjamin __ 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 provide commen

Re: [R] line break in pie chart labels

2006-09-28 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > > pie(c(2,3),labels=expression(pi_1,pi_2)) > Error in lab != "" : comparison is not allowed for expressions > In addition: Warning message: > is.na() applied to non-(list or vector) in: is.na(lab <- labels[i]) Argh. The curse of the non-functional exam

Re: [R] line break in pie chart labels

2006-09-28 Thread Peter Dalgaard
Jim Lemon <[EMAIL PROTECTED]> writes: > > Given a pie chart with some really long labels can R insert line breaks > > here? Why I imagine is getting a label displayed as > pie(1:4,labels=c("The first\nlong label", > "The second, even\nlonger label", > "The third, quite\nboring and\nstill lon

Re: [R] line break in pie chart labels

2006-09-28 Thread Jim Lemon
Benjamin Otto wrote: > Hi, > > > > Given a pie chart with some really long labels can R insert line breaks > here? Why I imagine is getting a label displayed as > > > > >>some really extraordinary > > >>long and non-ending label > > > > > Instead of > > > > >>some really extra

[R] line break in pie chart labels

2006-09-28 Thread Benjamin Otto
Hi, Given a pie chart with some really long labels can R insert line breaks here? Why I imagine is getting a label displayed as > some really extraordinary > long and non-ending label Instead of > some really extraordinary long and non-ending label Regards Benjamin --

Re: [R] line over multiplot

2006-05-29 Thread Greg Snow
PROTECTED] on behalf of Thomas Hoffmann Sent: Mon 5/29/2006 10:10 AM To: r-help@stat.math.ethz.ch Subject: [R] line over multiplot Dear Listmembers, I do have a multiplot with 1 row and 4 columns (4 scatter plots with same x- and y-axe plotted in one row). I would like to draw a horizontal line

Re: [R] line over multiplot

2006-05-29 Thread Uwe Ligges
Thomas Hoffmann wrote: > Dear Listmembers, > > I do have a multiplot with 1 row and 4 columns (4 scatter plots with > same x- and y-axe plotted in one row). I would like to draw a horizontal > line across the whole multiplot at a certain y-value. Unfortunately the > normal abline command stops

[R] line over multiplot

2006-05-29 Thread Thomas Hoffmann
Dear Listmembers, I do have a multiplot with 1 row and 4 columns (4 scatter plots with same x- and y-axe plotted in one row). I would like to draw a horizontal line across the whole multiplot at a certain y-value. Unfortunately the normal abline command stops between the plot. I hope my proble

Re: [R] line numbers

2006-01-29 Thread Gabor Grothendieck
Check out ?sprintf, ?cat, ?noquote, ?format, ?formatC, ?print. Also maybe ?sub, ?gsub, ?chartr, ?grep. To view the code that prints summary(lm(...whatever...)), put this on a line by itself: stats:::print.summary.lm The summary statement mentioned above outputs an object of class "summary.lm"

[R] line numbers

2006-01-29 Thread Pogoda, Wendy
I am using the sink function to save several results (i.e. values of many different variables) to an output file. However, the output looks unattractive because it displays line numbers next to each new variable, it is difficult to remove the R variable name from the output, and I cannot print

Re: [R] line vector plots

2005-11-01 Thread Jim Lemon
Eduardo Klein wrote: > Hi Jim, > > Thanks for the tip, but I really need the same polar chart but over a line no in a circle. I didn't find it on the plotrix package. > Hmmm, are you looking for something like this? feather.plot<-function(x,y,xpos,yref=0,use.arrows=FALSE,...) { if(missing(

Re: [R] line vector plots

2005-10-31 Thread Gabor Grothendieck
Not sure if this is what you are looking for but check out: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=80 On 10/31/05, Eduardo Klein <[EMAIL PROTECTED]> wrote: > Hi Jim, > > Thanks for the tip, but I really need the same polar chart but over a > line no in a circle. I didn't fin

Re: [R] line vector plots

2005-10-31 Thread Eduardo Klein
Hi Jim, Thanks for the tip, but I really need the same polar chart but over a line no in a circle. I didn't find it on the plotrix package. Regards, EKS Jim Lemon wrote: > Eduardo Klein wrote: > >> Hi, >> >> I'm looking for the way to make vector plot over a time line. This >> plot, similar

Re: [R] line vector plots

2005-10-29 Thread Jim Lemon
Eduardo Klein wrote: > Hi, > > I'm looking for the way to make vector plot over a time line. This plot, > similar to the "feather plot" in Matlab, is a line in which every thick > (a time value) one vector is drawn with its length proportional to one > variable (wind speed, for example) and its

[R] line vector plots

2005-10-28 Thread Eduardo Klein
Hi, I'm looking for the way to make vector plot over a time line. This plot, similar to the "feather plot" in Matlab, is a line in which every thick (a time value) one vector is drawn with its length proportional to one variable (wind speed, for example) and its direction to another (wind dire

Re: [R] line

2005-10-09 Thread Sam R. Smith
Sorry for the typo, ask for R code. "Sam R. Smith" <[EMAIL PROTECTED]> wrote:There are four points with coordinates: 2,3;4,9;1,6;3,10. How to use Python to draw one perpendicular bisector between (2,3) and (4,9); the other perpendicular bisector between (1,6)ºÍ(3,10); then, makes the output like:

[R] line

2005-10-09 Thread Sam R. Smith
There are four points with coordinates: 2,3;4,9;1,6;3,10. How to use Python to draw one perpendicular bisector between (2,3) and (4,9); the other perpendicular bisector between (1,6)ºÍ(3,10); then, makes the output like: l1 a b c l2 a b c (Note: l indicates the perpendicular bisector with equation

Re: [R] line/bar through median in lattice's

2005-08-18 Thread M.K.
Dieter Menne menne-biomed.de> writes: > Check the code for something like points (which is the default). > Find a mysterious '|' and pch > > Dieter Yes, that was it! Thanks Dieter! The mysterious code is right near the bottom of the function. Too bad this is not documented, at least not in ?p

Re: [R] line/bar through median in lattice's "bwplot"?

2005-08-18 Thread Deepayan Sarkar
On 8/18/05, Dieter Menne <[EMAIL PROTECTED]> wrote: > M. K. yahoo.ca> writes: > > > > > Is there a way to render a line through the median point in the boxplot > > generated by the Lattice command "bwplot"? The line basically bisects > > the bar at the median point... > > > bwplot(height~voice

Re: [R] line/bar through median in lattice's "bwplot"?

2005-08-18 Thread Dieter Menne
M. K. yahoo.ca> writes: > > Is there a way to render a line through the median point in the boxplot > generated by the Lattice command "bwplot"? The line basically bisects > the bar at the median point... bwplot(height~voice.part , pch='|', data=singer, xlab="Height (inches)") How to find th

[R] line/bar through median in lattice's "bwplot"?

2005-08-17 Thread M. K.
Is there a way to render a line through the median point in the boxplot generated by the Lattice command "bwplot"? The line basically bisects the bar at the median point... __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Line width through plot size reduction

2005-05-18 Thread Paul Murrell
Hi Jacques VESLOT wrote: Dear R-users, Someone, who uses R under Mac, wants to insert a couple of small plots (each with several lines) in an article, but he has to reduce plots' size significantly. He did it (in pdf or enc. ps) but, unfortunately, everything is reduced but lines' width. Besides

[R] Line width through plot size reduction

2005-05-17 Thread Jacques VESLOT
Dear R-users, Someone, who uses R under Mac, wants to insert a couple of small plots (each with several lines) in an article, but he has to reduce plots' size significantly. He did it (in pdf or enc. ps) but, unfortunately, everything is reduced but lines' width. Besides, 'lwd' argument in par()

Re: [R] line numbers and file names in error messages

2005-04-15 Thread Jan T. Kim
On Fri, Apr 15, 2005 at 12:37:46PM -0400, Gabor Grothendieck wrote: > On 4/15/05, Jan T. Kim <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 15, 2005 at 11:27:13AM -0400, Gabor Grothendieck wrote: > > > On 4/15/05, Vivek Rao <[EMAIL PROTECTED]> wrote: > > > > Many of my R scripts call other R scripts us

Re: [R] line numbers and file names in error messages

2005-04-15 Thread Gabor Grothendieck
On 4/15/05, Jan T. Kim <[EMAIL PROTECTED]> wrote: > On Fri, Apr 15, 2005 at 11:27:13AM -0400, Gabor Grothendieck wrote: > > On 4/15/05, Vivek Rao <[EMAIL PROTECTED]> wrote: > > > Many of my R scripts call other R scripts using the > > > source function. If there is a syntax error in one of > > > th

Re: [R] line numbers and file names in error messages

2005-04-15 Thread Jan T. Kim
On Fri, Apr 15, 2005 at 11:27:13AM -0400, Gabor Grothendieck wrote: > On 4/15/05, Vivek Rao <[EMAIL PROTECTED]> wrote: > > Many of my R scripts call other R scripts using the > > source function. If there is a syntax error in one of > > the scripts, I get an error message such as > > > > Error in

Re: [R] line numbers and file names in error messages

2005-04-15 Thread Gabor Grothendieck
On 4/15/05, Vivek Rao <[EMAIL PROTECTED]> wrote: > Many of my R scripts call other R scripts using the > source function. If there is a syntax error in one of > the scripts, I get an error message such as > > Error in parse(file, n, text, prompt) : syntax error > on line 1 > > but the name of the

[R] line numbers and file names in error messages

2005-04-15 Thread Vivek Rao
Many of my R scripts call other R scripts using the source function. If there is a syntax error in one of the scripts, I get an error message such as Error in parse(file, n, text, prompt) : syntax error on line 1 but the name of the file where the error occurs is not given. Other error messages s

Re: [R] Line plot using xyplot function in lattice package

2005-03-17 Thread Sundar Dorai-Raj
Sundar Dorai-Raj wrote on 3/17/2005 2:27 PM: Ghosh, Sandeep wrote on 3/17/2005 1:25 PM: Hi All, For the following data when I use xyplot in package lattice the intervals are in the order of 2, 24, 8, but instead I want them to be in the order 2, 8, 24. Treatment Interval value A

Re: [R] Line plot using xyplot function in lattice package

2005-03-17 Thread Sundar Dorai-Raj
Ghosh, Sandeep wrote on 3/17/2005 1:25 PM: Hi All, For the following data when I use xyplot in package lattice the intervals are in the order of 2, 24, 8, but instead I want them to be in the order 2, 8, 24. Treatment Interval value A 2 0.448 A24

[R] Line plot using xyplot function in lattice package

2005-03-17 Thread Ghosh, Sandeep
Hi All, For the following data when I use xyplot in package lattice the intervals are in the order of 2, 24, 8, but instead I want them to be in the order 2, 8, 24. Treatment Interval value A 2 0.448 A24 1.85 A 8

[R] Line types in the legend function

2005-01-28 Thread Louisell, Paul T.
Hi, I'm using version 2.0.1 of R on a Windows 2000 platform. The legend function has parameters _lty_ and _pch_ for drawing line types and point types in the legend box, but I can't find any way of getting the patterns corresponding to _type='b'_ in the _plot_ function. When you enter _type='b'_ a

Re: [R] line transect method

2004-04-29 Thread Simon Wood
It might be worth looking at: http://www.ruwpa.st-and.ac.uk/estimating.abundance/ best, Simon On Thu, 29 Apr 2004, Villirillo wrote: > Hello, I'm a final-year student in statistics and I deal with as subject of thesis > "rare and elusive populations". I want make a simulation, in which I want

[R] line transect method

2004-04-29 Thread Villirillo
Hello, I'm a final-year student in statistics and I deal with as subject of thesis "rare and elusive populations". I want make a simulation, in which I want generate a population and estimate its density with "line transect method" using R language. Is there someone that can send me the program

Re: [R] Line numbers in error messages

2004-04-12 Thread Thomas Lumley
On Mon, 12 Apr 2004, Tony Plate wrote: > Isn't source file information often recorded in the "source" attribute on > functions (or calls)? Could either the execution engine or the debugger > refer to that information? (Though, in the debugger it might be impossible > to uniquely identify express

Re: [R] Line numbers in error messages

2004-04-12 Thread Patrick Connolly
On Mon, 12-Apr-2004 at 03:20PM -0700, Webb Sprague wrote: |> Hi Patrick, |> |> >It's very simple using a browser() line in your function somewhere you |> >know your code's OK, then run line by line. |> > |> The problem is that sometimes you have code of a few hundred lines, to |> which you hav

Re: [R] Line numbers in error messages

2004-04-12 Thread Tony Plate
Isn't source file information often recorded in the "source" attribute on functions (or calls)? Could either the execution engine or the debugger refer to that information? (Though, in the debugger it might be impossible to uniquely identify expressions that appear multiple times in the functi

Re: [R] Line numbers in error messages

2004-04-12 Thread Duncan Murdoch
On Mon, 12 Apr 2004 15:20:58 -0700, you wrote: >Hi Patrick, > >>It's very simple using a browser() line in your function somewhere you >>know your code's OK, then run line by line. >> >The problem is that sometimes you have code of a few hundred lines, to >which you have added a strange little

Re: [R] Line numbers in error messages

2004-04-12 Thread Thomas Lumley
On Tue, 13 Apr 2004, Jason Turner wrote: > Webb Sprague wrote: > > I already use ESS. If it would give line numbers, my life would be > > perfect! > > It does, if you don't use source(). Have your R code in one buffer, and > the R session running, and (from the code buffer), type C-c C-l. > Yes

Re: [R] Line numbers in error messages

2004-04-12 Thread Jason Turner
Webb Sprague wrote: I already use ESS. If it would give line numbers, my life would be perfect! It does, if you don't use source(). Have your R code in one buffer, and the R session running, and (from the code buffer), type C-c C-l. Cheers Jason __

Re: [R] Line numbers in error messages

2004-04-12 Thread A.J. Rossini
Uwe Ligges <[EMAIL PROTECTED]> writes: > Webb Sprague wrote: >> >> Hi all, >> >> I have searched but to know avail. Is there a way to get a line number >> when a function crashes? I am doing an edit->source->run cycle. > > I don't think so, but traceback(), debug() and options(error = recover)

Re: [R] Line numbers in error messages

2004-04-12 Thread Webb Sprague
Hi Patrick, It's very simple using a browser() line in your function somewhere you know your code's OK, then run line by line. The problem is that sometimes you have code of a few hundred lines, to which you have added a strange little line that craps out because of some silly mistake that wo

Re: [R] Line numbers in error messages

2004-04-12 Thread Uwe Ligges
Webb Sprague wrote: > > Hi all, > > I have searched but to know avail. Is there a way to get a line number > when a function crashes? I am doing an edit->source->run cycle. I don't think so, but traceback(), debug() and options(error = recover) are your friends. Also, you might want to check

[R] Line numbers in error messages

2004-04-12 Thread Webb Sprague
Hi all, I have searched but to know avail. Is there a way to get a line number when a function crashes? I am doing an edit->source->run cycle. Feel free to cc me as I subscribe to the list in digest. Thanks W __ [EMAIL PROTECTED] mailing list https:

Re: [R] line number of errors?

2004-03-24 Thread Martin Maechler
> "ivo" == ivo welch <[EMAIL PROTECTED]> > on Wed, 24 Mar 2004 10:49:55 -0500 writes: ivo> Is it possible to instruct R to output a line number ivo> Is it possible to instruct R to output a line number ivo> when an error or warning is encountered in a source() ivo> file

[R] line number of errors?

2004-03-24 Thread ivo welch
Is it possible to instruct R to output a line number when an error or warning is encountered in a source() file? sincerely, /iaw __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

[R] line going across several graphs

2004-03-19 Thread David Andel
Hi Is there a way to draw a line across several graphs? Say I have a few histograms one upon the other with "0" exactly on one line. Now when I do abline(v=0, lty=2) I have only the short lines corresponding to each graph. How can I draw one line through? Thanks, David __

Re: [R] Line length in legend

2004-03-05 Thread Uwe Ligges
Sven Garbade wrote: Hi all, is it posible to alter the length of the lines in the legend() function? I think they are a little bit to short, so I changed the default value of seg.len from 2 to 6. But maybe it would be nice to have an argument, so users can change the default computed line length

[R] Line length in legend

2004-03-05 Thread Sven Garbade
Hi all, is it posible to alter the length of the lines in the legend() function? I think they are a little bit to short, so I changed the default value of seg.len from 2 to 6. But maybe it would be nice to have an argument, so users can change the default computed line length as they like. Sven

Re: [R] line breaks in recode

2003-11-04 Thread John Fox
Dear Bernd, As Brian Ripley points out, the problem is that you can't break a quoted string over input lines. It is nevertheless awkward that you have to provide the recode directives in one long line. I'll think about alternatives for the next version of the car package. One simple possibilit

Re: [R] line breaks in recode

2003-11-04 Thread Prof Brian Ripley
Nothing to do with recode: you cannot have line breaks inside quoted strings. > "c(101,25,167,45,75)=25; Error: syntax error > c(104,51)=51" Error: syntax error On Tue, 4 Nov 2003, Bernd Weiss wrote: > Dear all, > > it seems to be that 'recode' can't handle any line breaks in its

[R] line breaks in recode

2003-11-04 Thread Bernd Weiss
Dear all, it seems to be that 'recode' can't handle any line breaks in its code. The following command causes no problem: datameta$smpid.r <- recode(datameta$smpid,"c(101,25,167,45,75)=25;c(104,51)=51") But if I type ... datameta$smpid.r <-recode(datameta$smpid, "c(101,25,167,45,75)=2

Re: [R] line colors in lattice.xyplot with png device

2003-07-18 Thread Deepayan Sarkar
On Friday 18 July 2003 12:28, [EMAIL PROTECTED] wrote: > Message: 9 > Date: Thu, 17 Jul 2003 13:50:29 +0200 > From: Marc Mamin <[EMAIL PROTECTED]> > Subject: [R] line colors in lattice.xyplot with png device. > To: [EMAIL PROTECTED] > > Hi, > > R is very new for

RE: [R] line colors in lattice.xyplot with png device.

2003-07-18 Thread Marc Mamin
here is the solution: col<-c("#cc", "#330099", "#66cc00","#ff6600" ,"#ff00cc", "#0", "#bo7080", "#7080bo") lty<-c(1,1,1,1,1,1,1,1) lwd<-c(1,1,1,1,1,1,1,1) mylines<-list(col=col,lty=lty,lwd=lwd) filename<- "c:\\temp\\test.png" trellis.device(png,filename = filename, width = 940, height

RE: [R] line colors in lattice.xyplot with png device.

2003-07-18 Thread Federico Calboli
for the background try: # open a trellis device. If not open the next step will not work trellis.device(device=windows) #x11 in linux # set background to white. Only works on an open trellis device background<-trellis.par.get("background") background$col<-"white" trellis.par.set("background",bac

Re: [R] line length limitation in ROracle

2003-07-17 Thread David James
Hi, The message is > junk <- paste(sample(letters, size=5000, replace=T), collapse="") > rs <- dbSendQuery(con, junk) Error in oraPrepareStatement(con, statement, bind = NULL) : RS-DBI driver: (too long a statement -- it must has less than 4000 chars) so I wouldn't call it a bug

[R] line length limitation in ROracle

2003-07-17 Thread lutz . thieme
Hello everybody, I found that queries (send by "dbExecStatement" ) with more than 4000 characters length produces an error in ROracle (ver 0.3-3). Maybe there is a limitation of 4kB Is this a bug? If yes, is this problem solved in the latest version of ROracle (ver 0.5-0)? My system inform

[R] line colors in lattice.xyplot with png device.

2003-07-17 Thread Marc Mamin
Hi, R is very new for me, so excuse if my questions are too basic... BTW, are there any forum where new R users could get help without annoying this huge mailing list ? In following code, I'd like to choose the color for each of the curve diplayed. png(filena

Re: [R] Line plot help

2003-07-16 Thread James MacDonald
Segments should do what you want. Try ?segments for help. Jim James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 >>> "Carlos Rios" <[EMAIL PROTECTED]> 07/16/03 12:26PM >>> I was wond

Re: [R] Line plot help

2003-07-16 Thread Spencer Graves
Standard advice: "plot" to set "xlim" and "ylim", then a loop with a separate call to "lines" in a loop for each line desired. Someone else may have something better for your current needs, but this works for me. hope this helps. spencer graves Carlos Rios wrote: I was wondering if is there

[R] Line plot help

2003-07-16 Thread Carlos Rios
I was wondering if is there any way of plotting line segments on a plot. Actually I need a graph that shows the advantage of using a different method for estimate the parameter of my databse, so I've plotted the N estimatives for M areas in my database and then I've plotted the new estimation (N'