Skip to content

plotting time

4 messages · Greg Trafton, Thomas Lumley, R Heberto Ghezzo, Dr +1 more

#
Hi, all.  I'm trying to create a plot that has a range of about an
hour on the x axis, starting at about 10:15.

I have a way I'm currently doing it but it's not working.  this is
what I want on the x axis:


|
|
|
|
|
|
|
|
|
|
----------------------------------------------
10:15  10:25  10:35  10:45  10:55  11:05 11:15

what's the best way to plot this out like this?

currently, I'm using seq() to start at 10:15, incrementing by a
second, but in that case I get

20:00  30:00  40:00  50:00  00:00 on my x axis, which is not what I
want...

any suggestions?

thanks!
greg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Thu, 5 Jul 2001, Greg Trafton wrote:

            
You can get whatever you want on the axis with the axis() command. Draw
the plot with the xaxt="n" option and then draw the axis with axis().

	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Hello. I just downloaded 1.3.0 for windows from CRAN. I used the 
big file with everything included. Then I run Update.packages() to 
set all the packages from CRAN to the latest version.
After downloading and installing several packages and when 
updating the compiled HTML help files i got:
Error in file(f.tg, open="w") cannot open file 
"C:\R\RW1030|doc/html/search/index.txt"
Any idea of what is wrong?
Thanks.

R. Heberto Ghezzo  Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Thu, 5 Jul 2001, Heberto Ghezzo wrote:

            
Did you install HTML help?  (Not compiled HTML help.)  If not,
you need to create C:\R\RW1030/doc/html/search.  If so, the isntalltion
failed ....

Unfortunately the test used now always passes, as all installations
get the FAQs in HTML.  It's been like that for a couple of releases,
though.