Re: [R] export figure by pdf command

2013-01-30 Thread MacQueen, Don
Works for me, so you will have to provide more information. > x11() > hist(rnorm(100)) > dev.copy2pdf(file='mytest.pdf') X11 2 > list.files(patt='mytest') [1] "mytest.pdf" -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062

Re: [R] export figure by pdf command

2013-01-29 Thread andrija djurovic
set.seed(2211) x <- rnorm(100) #get your working directory getwd() #save it as pdf pdf("hist.pdf") hist(x) dev.off() On Tue, Jan 29, 2013 at 10:22 PM, hp wan wrote: > Can you implement it using my provided example? I read the user guide > about dev.copy2pdf > but I still failed. > > Thanks > >

Re: [R] export figure by pdf command

2013-01-29 Thread hp wan
Can you implement it using my provided example? I read the user guide about dev.copy2pdf but I still failed. Thanks 2013/1/30 ilai > ?dev.copy2pdf > > On Tue, Jan 29, 2013 at 1:48 PM, hp wan wrote: > >> Dear R mailing listers, >> >> >> After plotting, I wanna save it as file in pdf format usin

Re: [R] export figure by pdf command

2013-01-29 Thread hp wan
I am sorry for that. I am not quite good at manage English. I will correct it next time. Wait for your answer. Thanks in advance. Best regards, 2013/1/30 Rolf Turner > > I was going to attempt to answer your question, but I refuse to > respond to anyone who writes "wanna" when they mean "want

Re: [R] export figure by pdf command

2013-01-29 Thread Rolf Turner
I was going to attempt to answer your question, but I refuse to respond to anyone who writes "wanna" when they mean "want to". The use of "wanna" is unacceptable in written English unless you are *trying* to be funny, and I don't think you are. cheers, Rolf Turner On 01/30/2013 09:

[R] export figure by pdf command

2013-01-29 Thread hp wan
Dear R mailing listers, After plotting, I wanna save it as file in pdf format using pdf("name.pdf") command. It failed, but I can do it by GUI operation (file-save as-pdf). e.g. x11() hist(x, breaks = 50, probability = FALSE) pdf("hist.pdf") [[alternative HTML version deleted]] __