Re: [R] R Graphics: Device 2 (Active)

2017-01-23 Thread Greg Snow
What is the result of running: getOption("device") ? It should be something like: "RStudioGD". It sounds like this has been changed to something else, if that is the case it is a matter of either changing it back, or figuring out where the change is being made and fixing that. On Mon, Jan 23,

Re: [R] R Graphics: Device 2 (Active)

2017-01-23 Thread Bert Gunter
This sounds like an RStudio issue to me (just a not-so-informed guess, though). Did you reinstall that, too? Did you look/post on RStudio's site? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley B

Re: [R] R Graphics: Device 2 (Active)

2017-01-23 Thread Jeff Newmiller
You need to be clear in your own mind about the distinction between RStudio and R before you can communicate clearly about it. Specifically, we don't know how to debug problems with RStudio here, and what you describe sounds completely normal for the R Gui program that ships with R. It sounds

Re: [R] R Graphics: Device 2 (Active)

2017-01-23 Thread Rui Barradas
Hello, That's a question for R Studio, ask here: https://support.rstudio.com Hope this helps, Rui Barradas Em 23-01-2017 18:19, Jackson Rodrigues escreveu: Hi, after updating R and RStudio I am no longer able to see my plots in the plot pane. Instead a new window opens called: R Graphics: D

[R] R Graphics: Device 2 (Active)

2017-01-23 Thread Jackson Rodrigues
Hi, after updating R and RStudio I am no longer able to see my plots in the plot pane. Instead a new window opens called: R Graphics: Device 2 (Active). I tried to use dev.off(), reinstalling, update again and etc but it does not help. I've checked this discussion list but I could not find any s

Re: [R] R graphics: Add labels to stacked bar chart

2010-09-02 Thread Jim Lemon
On 09/02/2010 08:50 PM, Jens Oldeland wrote: > ... > I am looking for a way to add labels, i.e. absolute values, into a > stacked bar chart using the basic plot functions of R. The labels > should be inside the stacked bars. barpos<-barplot(height,beside = FALSE, horiz=TRUE,col = c(2, 3)) librar

[R] R graphics: Add labels to stacked bar chart

2010-09-02 Thread Jens Oldeland
Hi, I am looking for a way to add labels, i.e. absolute values, into a stacked bar chart using the basic plot functions of R. The labels should be inside the stacked bars. For example, ### I have this dataset height = cbind(x = c(465, 91) / 465 * 100, y = c(840, 200)

Re: [R] R Graphics into Latex‏

2010-02-24 Thread Sharpie
Lars Bishop-2 wrote: > > Hi, > > I'm new in Latex and I'm trying to include an R chart into a Latex > document. > > This is what I'm doing: > > 1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps > So, to be clear, your graphic is saved on the C drive. Lars Bishop-2 w

Re: [R] R Graphics into Latex‏

2010-02-24 Thread Marc Schwartz
epsfig is obsolete and has been replaced by graphicx, which Lars is using http://www.ctan.org/tex-archive/help/Catalogue/entries/epsfig.html Regards, Marc Schwartz On Feb 24, 2010, at 6:28 PM, Saeed Abu Nimeh wrote: > Use \usepackage{epsfig} after your \documentclass. Then make sure to >

Re: [R] R Graphics into Latex‏

2010-02-24 Thread Saeed Abu Nimeh
Use \usepackage{epsfig} after your \documentclass. Then make sure to run LaTex not PDFLaTex On Wed, Feb 24, 2010 at 3:29 PM, Lars Bishop wrote: > Hi, > > I'm new in Latex and I'm trying to include an R chart into a Latex document. > > This is what I'm doing: > > 1) In R: save the chart as a a Pos

Re: [R] R Graphics into Latex‏

2010-02-24 Thread Marc Schwartz
On Feb 24, 2010, at 5:37 PM, Ray Brownrigg wrote: > On Thu, 25 Feb 2010, Lars Bishop wrote: >> Hi, >> >> I'm new in Latex and I'm trying to include an R chart into a Latex >> document. >> >> This is what I'm doing: >> >> 1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps >>

Re: [R] R Graphics into Latex‏

2010-02-24 Thread Duncan Murdoch
On 24/02/2010 6:29 PM, Lars Bishop wrote: Hi, I'm new in Latex and I'm trying to include an R chart into a Latex document. This is what I'm doing: 1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps 2) In Latex (using TexWorks on windows xp) : In the preambule: \document

Re: [R] R Graphics into Latex‏

2010-02-24 Thread Ray Brownrigg
On Thu, 25 Feb 2010, Lars Bishop wrote: > Hi, > > I'm new in Latex and I'm trying to include an R chart into a Latex > document. > > This is what I'm doing: > > 1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps > > 2) In Latex (using TexWorks on windows xp) : > > In the preamb

[R] R Graphics into Latex‏

2010-02-24 Thread Lars Bishop
Hi, I'm new in Latex and I'm trying to include an R chart into a Latex document. This is what I'm doing: 1) In R: save the chart as a a Postcript in a folder C:/xxx/Density.eps 2) In Latex (using TexWorks on windows xp) : In the preambule: \documentclass[11pt]{article} \usepackage{graphicx} \

[R] R graphics

2009-12-15 Thread dataguru
Graphics about... Bayesian ChemPhys Cluster Distributions Econometrics Environmetrics ExperimentalDesign Finance Genetics gR Graphics HighPerformanceComputing MachineLearning MedicalImaging Multivariate NaturalLanguageProcessing Optimization Pharmacokinetics Psychometrics Robust SocialSciences Spa

Re: [R] R graphics

2009-08-13 Thread Achim Zeileis
On Thu, 13 Aug 2009, Mcdonald, Grant wrote: Dear sir, I am trying to create a barplot for two propotions, with proportions successful on the y and age on the x. So my data is in the formate of one vector containing 0s and 1s (i.e.successful or not) with a corresponding two level vector of

[R] R graphics

2009-08-13 Thread Mcdonald, Grant
Dear sir, I am trying to create a barplot for two propotions, with proportions successful on the y and age on the x. So my data is in the formate of one vector containing 0s and 1s (i.e.successful or not) with a corresponding two level vector of age. successage 1 o

Re: [R] R Graphics Device margins

2008-12-09 Thread tkeitt
Metcalfe, John wrote: > > Hello, > I am relatively new to R and am using it to run Classification and > Regression Tree analysis. My only issue at this point is that numbers are > always cut off on the lower nodes. I've tried changing the margins with > > mai=c(0, 0.5, 0.5, 0) but this has no

Re: [R] R Graphics Device margins

2008-12-09 Thread Prof Brian Ripley
Without the reproducible example asked for it is hard to tell, but ?text.rpart did say ...: Graphical parameters may also be supplied as arguments to this function (see 'par'). As labels often extend outside the plot region it can be helpful to specify 'xpd = TRUE'. Mig

[R] R Graphics Device margins

2008-12-09 Thread Metcalfe, John
Hello, I am relatively new to R and am using it to run Classification and Regression Tree analysis. My only issue at this point is that numbers are always cut off on the lower nodes. I've tried changing the margins with mai=c(0, 0.5, 0.5, 0) but this has not so far worked. Any suggestions woul

Re: [R] R graphics question: "binary" bar chart

2008-02-19 Thread Jim Lemon
Stephan Spat wrote: > Hello! > > I would like to visualize the hospitalization within one year of several > patients using a bar chart. For each patient the stay in a hospital > should be illustrated with a dark colour a if there is a stay at home > between 2 hopital stays, it should be illustrate

Re: [R] R graphics question: "binary" bar chart

2008-02-18 Thread Henrique Dallazuanna
If I undestand your question you can try something about like this: x <- matrix(rbinom(75, 1,.6), nc=3) image(x, col=c("gray", "white"), axes=F) axis(1, at=seq(0,1, l=nrow(x)), labels=paste("Day", 1:nrow(x))) axis(2, at=seq(0,1, l=ncol(x)), labels=paste("P", 1:3, sep="")) On 18/02/2008, Stephan

[R] R graphics question: "binary" bar chart

2008-02-18 Thread Stephan Spat
Hello! I would like to visualize the hospitalization within one year of several patients using a bar chart. For each patient the stay in a hospital should be illustrated with a dark colour a if there is a stay at home between 2 hopital stays, it should be illustrated with a bright colour. e.g. P

Re: [R] R-graphics printing greeks

2007-10-18 Thread Prof Brian Ripley
You want a symbol, so for (i in 1:10) text(7, order[i], as.name(greeks[i])) (or as.symbol) gets you from character string to symbol. BTW1: please check the code you post: yours doesn't work. BTW2: the "o" is "omicron": you can see a list of the names at http://www.stat.auckland.ac.nz/~paul/R/C

[R] R-graphics printing greeks

2007-10-18 Thread Dan Avery
I have tried to print a table of greek alphabet names and symbols without success. I can print one character at a time but can't seem to find a way to automate an entire list of the symbols. Some of the code I have tried is below. I have searched on help, worked the examples in the December 2002 R