Displaying 20 results from an estimated 500 matches similar to: "plot with dates"
2005 Jan 05
4
make R package for windows on Linux
Hi,
I made a package on a linux box. All worked fine.
The package contains only R code (no C). I then wanted to make a zip
file so that I could test the package on a windows machine. I have tried
all the obvious ways to do this (and even some that are not!), but to no
avail. The only instructions I find about building packages for windows
(e.g. mypkg.zip) seem to imply that the build be done
2004 Oct 25
2
printing ISO/8859-1 characters
Hi,
I ran into an odd problem with the print command for R-2.0 on a windows
machine.
The icelandic character thorn (??,??) which is included in in the Latin-1
character set [iso/8859-1 char# 222 (upper case) and #254 (lower case)]
prints out incorrectly. Instead of getting the correct
character I get the octal codes for upper and lower case thorn (\336 or
\376). This only happens on a windows
2004 Nov 29
1
problems with R-2.01 build with Mandrake 10.1
I recently installed Mandrake 10.1 on my laptop, downloaded
the latest version of R, compiled it and ran it.
To my surprise I discovered that the X11() command returned
an error to the effect that X was not available.
Examining R config.log I noticed that there were several
complaints about X and tcl in there. Basic include files, such as
X11/X.h were not found.
I have previously compiled
2005 Jan 21
2
Windows plots & fontsize
I recently wrote a package that runs on both Linux and Windows.
The functions fetch data to an SQL database and make diverse plots,
usually with many labels and annotations.
I recently noticed that on SOME windows computers the fonts
in the plots were too large, which caused labels to overlap.
On other windows computers this does not happen.
However on both computers the command
2005 Jun 22
2
A polar.plot BUG in plotrix 1.3.3 ?
Hi,
I just updated to R-2.1.1 and updated packages acordingly
However, after the update, routines that use polar.plot
did not function as correctly.
In plotrix 1.3.3 the polar.plot function does scale label.pos
to radians prior to calling radial.plot
Hence, the command
polar.plot(c(5,10,5,0),c(-10,0,10,20),rp.type='P',
2005 Jun 15
1
Getting the character set
Hi R-gurus,
In python one can do
>>> import string
>>> print string.letters
and get the characters in the local character set.
This feature is often useful in Python, and if I could find it in R
I could make good use of it.
In R both Sys.getlocale() and localeToCharset() can tell me which
charset I am using, but I haven't found a way to print out the
actual characters.
2006 Aug 08
1
locating intervals
Hi ,
I have two sorted vectors X and Xi, where the range of Xi lies within the
range of X.
For an element in Xi, I want to find the neigbouring data in X, e.g. find an
index ix
so that for element number k, then
X[ix[k]] < X[k] < X[ix[k] +1] # also OK with "<=" on either one, but not
both
This is easy to code by looping over the data in X,Xi, but I suspect there
may be a
2006 Aug 08
1
locating intervals (corrected version)
I have corrected a typo in my previous posting. In what follows the
line with the inequality is correct
Hi ,
I have two sorted vectors X and Xi, where the range of Xi lies within the
range of X.
For an element in Xi, I want to find the neigbouring data in X, e.g. find an
index ix
so that for element number k, then
X[ix[k]] < Xi[k] < X[ix[k] +1] # also OK with "<=" on either
2007 Aug 29
5
HTB does not respect the prio parameter
Hi all,
I''m experimenting with HTB and the prio parameter and it does not give me results I
expect. I''ve created 4 HTB classes:
1:10 TCP ACKs (prio 0)
1:20 TCP traffic on dst port 10001 (prio 1)
1:30 TCP traffic on dst port 10000 (prio 2)
1:40 Default (prio 3)
ceil and rate parameters are the same for all 4 classes (rate is
2016 Mar 09
2
How to install Avaya 4610SW in Asterisk?
Hi !
I want to install a Telephone IP Avaya 4610SW in my Asterisk 11, but I
cant install.
It asks a TFTP/HTTP Server, but is necessary I install it in mu
Asterisk Server for works my Telephone?
The manual is here https://downloads.avaya.com/css/P8/documents/003880182
Thanks in advanced.
2012 Jun 14
1
read.table and variable length of tables
Hi,
I am trying to read in weather balloon data, where each file has a header of fixed length and
a trailing section of a fixed length. The data section (the table) is of variable length.
An example of the data is on:
http://weather.uwyo.edu/cgi-bin/sounding?region=naconf&TYPE=TEXT%3ALIST&YEAR=2011&MONTH=06&FROM=1400&TO=1400&STNM=04018
This data has 97 rows and can be
2014 Nov 09
4
Getting the most recent dates in a new column from dates in four columns using the dplyr package (mutate verb)
Hello,
The example data frame in the reproducible code below has 5 columns (1 column for id and 4 columns for dates), and there are 7 observations. I would like to insert the most recent date from those 4 date columns into a new column (oiddate) using the mutate() function in the dplyr package. I am getting correct results (NA in the new column) if a given row has all NA's in the four
2011 Aug 02
3
identifying weeks (dates) that certain days (dates) fall into
Hello!
I have dates for the beginning of each week, e.g.:
weekly<-data.frame(week=seq(as.Date("2010-04-01"),
as.Date("2011-12-26"),by="week"))
week # each week starts on a Monday
I also have a vector of dates I am interested in, e.g.:
july4<-as.Date(c("2010-07-04","2011-07-04"))
I would like to flag the weeks in my weekly$week that
2011 Feb 07
3
Loop to find dates whithin dates
Hello to all,
I have two dataframes, the first with two columns sunrise and sunset (for 10
years). Each of these columns is formatted for date time (ex: 01-Jan-2010
15:37:00)
In the second data frame I have GPS information and also a date time column
(same format ).
What I would like to do is a subset of all the rows from the second
dataframe that occurred in day time only so between sunrise
2008 Feb 04
1
Processing dates and generating sequences of dates
hits=-2.6 tests=BAYES_00
X-USF-Spam-Flag: NO
Dear List,
Say I have the following sequence of dates [*]:
start <- as.Date("2005-01-05", format = "%Y-%d-%m")
end <- as.Date("2007-10-07", format = "%Y-%d-%m")
my.dates <- seq(start, end, by = "days")
What I would like to generate is a sequence of dates, by month that goes
from the first
2011 Mar 30
2
summing values by week - based on daily dates - but with some dates missing
Dear everybody,
I have the following challenge. I have a data set with 2 subgroups,
dates (days), and corresponding values (see example code below).
Within each subgroup: I need to aggregate (sum) the values by week -
for weeks that start on a Monday (for example, 2008-12-29 was a
Monday).
I find it difficult because I have missing dates in my data - so that
sometimes I don't even have the
2006 Dec 07
2
Format dates prior to index
Hi all-
I would like to enable search in my application via Ferret and a number
of my searchable classes contain dates (of type Time). When these
classes are indexed, the dates are written per the standard to_s output
(e.g. "Wed Dec 07 08:56:04 CDT 2006"), which is not suitable for date
range queries. Is it possible to format the dates before they are
indexed (e.g.
2006 Aug 03
0
Stuck saving Dates as string
Hi everyone,
I have a form that has a date_select form field. Now for some reasons
out of my control I need to save the date generated by date_select to a
''text'' field in mysql 5.0. Now i''ve been reading the ruby API for date
and datetime objects...but so far I''m reallly lost.
So to sum it up I have to make date(1i), date(2i), date(3i) into a mysql
5.0
2006 Jul 05
1
created_on in HABTM table getting parent dates
All of my HABTM tables receive the parent created_on/last_update_on
dates whenever a record is inserted into these join tables. I don''t
have any defaults in the database or anything else populating these
tables. I assumed rails would populate these automagically. Is there
something that needs to be done to get this to populate with the correct
current timestamp instead of
2006 Jul 07
3
calculate number of months difference between two dates
hi,
Is there an easy way of calculating the difference in months between two
dates in a controller.
thanks
--
Posted via http://www.ruby-forum.com/.