[R] R and Python

2015-03-01 Thread linda.s
Is there any good example codes of integrating R and Python? Thanks. Linda [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] figure resolution

2015-03-01 Thread linda.s
when using R for exporting figures to folder, how to improve the figure resolution? Thanks. Linda [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] save plot

2010-08-04 Thread linda.s
Can I make a group of jpeg instead of pdfs? Thanks. Linda On Wed, Aug 4, 2010 at 6:47 AM, John Kane jrkrid...@yahoo.ca wrote: Yes,  ?jpeg --- On Tue, 8/3/10, linda.s samrobertsm...@gmail.com wrote: From: linda.s samrobertsm...@gmail.com Subject: Re: [R] save plot To: gavin.simp

Re: [R] save plot

2010-08-03 Thread linda.s
[I presume you addressed this to Duncan Murdoch for a good reason???] Open a new device before plotting, do your plotting, close the device. For example, using a PDF device via pdf(): pdf(my_plots.pdf, height = 8, width = 8, pointsize = 10,    version = 1.4, onefile = TRUE) for(i in 1:10)

Re: [R] plot month and year

2010-07-17 Thread linda.s
monthly data and  unem1 - ts(unem$a, start = c(2008, 1), freq = 12)  plot(unem1, type = o) is what you want. hth, Z On Wed, 14 Jul 2010, linda.s wrote: R Code begins unem=read.csv(book5.csv,header=T,row.names=1) attach(unem) unem1=ts(unem$a, start=1) ts.plot(unem1,main=a) points(unem1

Re: [R] save plot

2010-07-17 Thread linda.s
Open a new device before plotting, do your plotting, close the device. For example, using a PDF device via pdf(): pdf(my_plots.pdf, height = 8, width = 8, pointsize = 10,    version = 1.4, onefile = TRUE) for(i in 1:10) {    y - rnorm(100)    x - rnorm(100)    plot(y ~ x) } dev.off()

[R] assign

2010-07-16 Thread linda.s
Hi. I am a beginner. What is the difference between: x-2 and x=2 Thanks. Linda __ R-help@r-project.org 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

[R] save plot

2010-07-16 Thread linda.s
I made a plot, but after I made a second plot, the previous plot was gone. How can I save all the plots in a file (I do not manually copy and paste them one by one)? Thanks. Linda __ R-help@r-project.org mailing list

Re: [R] plot month and year

2010-07-15 Thread linda.s
you want. hth, Z On Wed, 14 Jul 2010, linda.s wrote: R Code begins unem=read.csv(book5.csv,header=T,row.names=1) attach(unem) unem1=ts(unem$a, start=1) ts.plot(unem1,main=a) points(unem1,type=o) R Code ends because the time starts at JAN_08 and ends on DEC_09, how to make the y axis

[R] plot month and year

2010-07-14 Thread linda.s
R Code begins unem=read.csv(book5.csv,header=T,row.names=1) attach(unem) unem1=ts(unem$Allen, start=1) ts.plot(unem1,main=Allen) points(unem1,type=o) R Code ends because the time starts at JAN_08 and ends on DEC_09, how to make the y axis in the plot show month starting from JAN_08 instead of

Re: [R] plot month and year

2010-07-14 Thread linda.s
the current ugly appearance (5, 10, 15, 20,…)? On Wed, Jul 14, 2010 at 9:20 AM, linda.s samrobertsm...@gmail.com wrote: R Code begins unem=read.csv(book5.csv,header=T,row.names=1) attach(unem) unem1=ts(unem$Allen, start=1) ts.plot(unem1,main=Allen) points(unem1,type=o) R Code ends because