similar to: plotting questions

Displaying 20 results from an estimated 3000 matches similar to: "plotting questions"

2002 Aug 12
1
division by zero
Why does 1/0 return Inf? Shouldn't this be returning NaN, NA, or something similar? -- +++++++++++*******+++++***++* Andrew Schuh Environmental Mathematician Neptune and Co. (505) 884-8455 andys at neptuneinc.org +++++++++++*******+++++***++* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Oct 10
1
cex in Windows vs. Linux
I go back and forth from Linux to Windoze often and have to run the same r-scripts. I was wondering why it seems like the default plotting size of labels, symbols, titles, etc seem smaller in Linux than in Windows. Is there a quick way to remedy this so I don't have to manually change the cex settings from 1 to 1.3 every time I go from Windoze to Linux? -- Sincerely,
2003 Apr 01
1
RODBC, freetds, and MS SQL Server
I have a question for RODBC users out there. I have used the package with good results for some time. However, I have just switched from an OpenLink proprietary driver for MS SQL to the FreeTDS driver (I think it is MS SQL Server 2000 I'm connecting to if it matters). I was/am running them from unixODBC on a Linux Client. I think I have it set up fine since I can use "isql"
2002 Apr 25
1
Rdbi package and PgSQL
I can use the Rdbi package to connect to a PostGreSQL server fine but when I use the dbDisconnect(), I get a segmentation error and it throws me out of R. I'm using RH7.2, R1.4.1, Rdbi 0.1-2, and Rdbi.PgSQL 0.1-2. Anyone else seen anything like this and have an possible answer? Andrew Schuh -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
2004 Aug 06
2
Problem connecting to icecast2
Kristoffer R. Munroe wrote: > <ices:Password>hackme</ices:Password> > DEBUG: Mount: /mymp3stream, Password: letmein Are these not significant? -- Tim Schuh Ugly Networks --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to
2003 Feb 06
1
rdbi segmentation fault (fwd)
one more bit of information about this problem. If I start R as the user "postgres" i dont have the segmentation fault. ---------- Forwarded message ---------- Date: Wed, 5 Feb 2003 19:19:39 -0500 (EST) From: Rafael A. Irizarry <ririzarr at jhsph.edu> Reply-To: rafa at jhu.edu To: "R-Help (E-mail)" <r-help at r-project.org> Subject: rdbi segmentation fault hi! i
2011 Aug 30
3
having trouble extracting week from chron object
Running R 2.13.1 on Windows XP. I would like to get week of the year (1-52) for each date. library(chron) dts <- dates(c("02/27/92", "02/27/92", "01/14/92","02/28/92", "02/01/92")) dts dts.chron <- as.chron(dts) dts.chron class(dts.chron) # all of these component extractions work: months(dts.chron) weekdays(dts.chron) years(dts.chron)
2008 Aug 01
1
chron objects: input/output
Hi list, I have some questions regarding 1) conversion of date + time characters to chron 2) formatting chron object printing Regarding (1), Gabor's Rnews 2004 4/1 article has been indispensible, but I often work with files where dates and times are contained in a single field. In this case, I would like to control input/output of chron objects when each observation of date and time is
2002 Oct 18
1
Chron problem with R 1.6.0 (PR#2181)
Full_Name: Rick Bilonick Version: 1.6.0 OS: Linux (RH 7.1) Submission from: (NULL) (12.4.226.1) Hi. I'm using Red Hat 7.1 Linux (Intel 586). I installed the 1.6.0 rpm. No problems were reported. When I tried to load the chron library: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/lib/R/library/chron/libs/chron.so":
2004 May 26
1
FW: is.weekend() odd behaviour
Kurt, Uwe suggested I write to you as maintainer of chron ... at the start of is.weekend, in the check on the argument type, maybe just change chron() to as.chron()? This would ensure as.chron.POSIXt gets called on POSIXt arguments, and (I think) fixes the problem. I tested and it seems ok. No warning/error required. > is.weekend function(x) { if(!inherits(x, "dates"))
2012 Nov 27
2
Some questions about chron package..
Hello, I have questions while reviewing "chron" package(e.g.,chron.R). 1. What is the differences between 3 kinds of function definition ? 1) "name" &lt;- function(... 2) 'name' &lt;- function(... 3) name &lt;- function(... Do you know Why author used various kinds of definitions ? Is there no functional differences between them ? 2. I
2008 Jul 31
2
S 3 generic method consistency warning please help
I would like to include this in a package. The S3 methods on R CMD check says * checking S3 generic/method consistency ... WARNING window: function(x, ...) window.chron: function(data, day1, hour1, day2, hour2, ...) See section 'Generic functions and methods' of the 'Writing R Extensions' manual. I have looked and can not figure it out. This function is for convience. What
2006 Jun 23
2
problem with hist() for 'times' objects from 'chron' package
Hello dear useRs and wizaRds, I encountered the following problem using the hist() method for the 'times' classes from package 'chron'. You should be able to recreate it using the code: library(chron) # pasted from chron help file (?chron) dts <- dates(c("02/27/92", "02/27/92", "01/14/92", "02/28/92", "02/01/92")) class(dts)
2012 Jun 15
2
time zones and the chron to POSIXct conversion
Hey R folks, i found some strange (to me) behaviour with chron to POSIXct conversion. The two lines of code result in two different results, on ewith the correct time zone, one without: library(chron) as.POSIXct(chron('12/12/2000'), tz = 'UTC') as.POSIXlt(chron('12/12/2000'), tz = 'UTC') Only the code below would give me a POSIXct object with the correct time
2004 Aug 18
1
Fwd: strptime() problem? - Resolved
Hi Gabor and everybody; Thanks Gabor, with the alternative step you've told me the problem is resolved. Comparing the two procedures: Extract from the source 'character' data: > rain$ts[2039:2046] [1] "25/03/2000 22:00:00 UTC" "25/03/2000 23:00:00 UTC" [3] "26/03/2000 00:00:00 UTC" "26/03/2000 01:00:00 UTC" [5] "26/03/2000 02:00:00
2005 Jun 01
2
problem with chron scales in lattice
I can't get the scales parameter in xyplot of lattice to work as I expected. I'm using R-2.1.0 and lattice 0.11-8. There should be year labels from 1992 to 2004 for the x axis in the plot below, but instead only a few of them appear, and in the wrong spots, as if the coordinate system has changed after finishing with the panel function. library(chron) library(lattice) # vertical grid
2005 Nov 16
1
COM dates (was origin and "origin<-" in chron)
I was just looking for an easy way to convert between COM datetime and chron datetime (both ways.) I found examples on the list, but they involved origin. Does anyone have functions for converting COM datetime <-> chron datetimethat work "safely"? David L. Reiner > -----Original Message----- > From: Gabor Grothendieck [mailto:ggrothendieck@gmail.com] >
2006 Nov 20
1
a little help needed plotting chron object
Hello there, Using R 2.4.0 on Solaris (Unix): I am trying to control the X axis range on a simple time of day plot. I made a test program (below) that gets file time stamp information from the files in the directory where R starts. The goal of the test program is to plot the time of day of file creation on an x axis that spans a user-specified range (like 12:00:00 to 15:00:00). If I allow
2008 Mar 03
1
write csv file from zoo object
# chron library(chron) fmt.chron <- function(x) { chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x)) } z1 <- read.zoo(SC3.csv, sep = ",", header = TRUE, FUN = fmt.chron) z2 <- read.zoo(SC2.csv, sep = ",", header = TRUE, FUN = fmt.chron) z3<-c(z1, z2) write.table(z3, sep="," , "SC.csv") How do you
2006 Sep 20
1
hours() in 'chron': output != input
I encountered surprising (to me, at least) behavior while using 'hours()' in package 'chron.' I will be grateful if someone can point out my error or provide an explanation and intuitive solution (I suppose I could convert chron to a character vector and use substring, but I deal mostly with newbies and kludgy approaches don't inspire much confidence). I used 2.3.0 to