Displaying 20 results from an estimated 6000 matches similar to: "Convert a column of numbers to a column of strings"
2006 May 22
2
[vpim] Some small rrule.rb changes
Quoting cosmin at speakeasy.net, on Sat, May 20, 2006 at 11:40:06AM -0700:
> I did some changes to the rrule.rb. I needed some getters/setters for
> each of the attributes from RRULE. Attached is the diff. If it makes
> sense to you to be included in the lib, please do so. If you think
> it''s worth to be included, I can add more validation to the setters.
I
2008 Sep 10
2
relsurv package
Dear R-users,
I have a couple of questions about the relsurv package:
1) when I try to run the example:
fit <- rsmul(Surv(time,cens)~sex+as.factor(agegr)+ratetable(age=age*365.24,sex=sex,year=year),ratetable=slopop,data=rdata)
with the datasets in the package (rdata and slopop) it gives me an error:
Error in nrow(x) : object "x" not found
2)
If I have a date format
2011 Jul 26
2
How to use as.Date (or something else) with "31-Jul-2010 23:59:00"
Hello
I have a huge file (not an R-file) in which the first column is a string
with date, hour, minutes and seconds (For instance, "31-Jul-2010 23:59:00").
I tried as.Date but the error msg was "Error in charToDate(x) :
character string is not in a standard unambiguous format".
I have checked the help for the function as well as date but to no avail.
How can that sort
2016 Apr 01
1
(no subject)
dear sir/madam,
while i am trying to convert the data into timeseries
using xts command.i am getting this error. please help me to resolve this
issue
xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
+ xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
Error: unexpected symbol in:
"xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
xts"
2007 Dec 06
3
using "eval(parse(text)) " , gsub(pattern, replacement, x) , to process "code" within a loop/custom function
R-help users,
Thanks in advance for any assistance ... I truly appreciate your expertise. I searched help and could not figure this out, and think you can probably offer some helpful tips. I apologize if I missed something, which I'm sure I probably did.
I have data for many "samples". (e.g. 1950, 1951, 1952, etc.)
For each "sample", I have many data-frames.
2008 Jun 30
1
Removing rows from a data frame
Hi...
I have a rather large dataframe that I'm trying to remove rows from.
I'm issuing the command:
dtx[-which(dtx$rdate > "2008-06-16"),]
and it tries to print out over 170,000 lines of output. So...I did:
options(max.print=1e6)
and ran it again. It worked, but when I did a:
which(dtx$rdate > "2008-06-16")
it tells me that all the data I thought I deleted
2010 Feb 02
0
Plot questions: grid line do not correspond to tick marks and 2 line axis label
Hello list,
Thank you very much for replying to my earlier questions. I have a few new
questions about R plots:
Example: tempdata:
RDate Price
2009-12-09 12:00 100
2009-12-09 15:00 99
2009-12-09 18:00 102
....
2009-12-10 8:00 120
2009-12-10 10:00 110
2009-12-10 16:00 105
My code: (RDate already in R date-time class)
plot (price~RDate, data=tempdata, "l")
axis.POSIXct(1,
2007 Apr 08
4
Time just moved backwards
Hi there,
I got a daily cron (rdate to local time server) job wich adjusts time and
which constantly gives me headache.
Every day my dovecot suicides with:
"dovecot: Time just moved backwards by 11 seconds. This might cause a lot of
problems, so I'll just kill myself now."
Of course my onboard clock is constantly off by more than 5 secs.
I don't want
to abandon time
2010 Nov 09
1
date conversion and plot
Hi All,
I have a date in the format of yymmdd (without any of the backslashes, eg.
100731). How do I convert this into a Rdate and plot it? I don't want the
number of days from 1970's showing up as my date (Its the date I require).
Thanks,
Sachin
p.s. sorry about the corporate notice I can't remove it.
--- Please consider the environment before printing this email ---
Allianz -
2009 Jun 12
3
how to set ntpd listen only 127.0.0.1 ?
Hello, all.
I would like to use ntpd for time sync not rdate or ntpdate.
but after installation the ntpd, I found that listened at all interfaces like below.
udp 0 0 192.168.111.2:123 0.0.0.0:* 11528/ntpd
udp 0 0 xxx.xxx.62.20:123 0.0.0.0:* 11528/ntpd
udp 0 0
2007 Dec 12
3
ntpd
I am running a server inside of VMWare, and the clock gains ~30 seconds
every 1000 seconds or 1.03X.
I need to keep the drift under the magic 1000 limit that ntpd kills its
self, but despite setting maxpoll really low I get:
Dec 11 23:58:14 host ntpd[4909]: kernel time discipline status change 41
Dec 11 23:59:17 host ntpd[4909]: kernel time discipline status change 1
Dec 11 23:59:17 host
2011 Feb 20
3
Problem with timezone configuration
Hello,
I have a problem configuring the timezone on a CentOS 5.5 server.
I would like the timezone to be Europe/Paris.
I have followed the steps described here:
http://www.wikihow.com/Change-the-Timezone-in-Linux
I think I have changed the appropriate configuration files ( /etc/localtime, /etc/sysconfig/clock ), but the output of the ?date? command still indicates the timezone is EST.
[root
2006 Jun 17
1
timezone correction stuff
Apologies for being late to the party with this...
I finally found my old notes on this re: helping out a blind friend fix his
centos box...
log in as root
cd /usr/share/timezone
cd /usr/share/zoneinfo/America/
cp Los_Angeles /etc/localtime
/usr/bin/rdate -s time.nist.gov
/sbin/hwclock --systohc
For more details, go to
http://wiki.ehow.com/Change-the-Timezone-in-Linux
- rh
--
Robert
2006 Nov 28
1
changing time in dom0
Hi all!
I want to adjust the time in dom0 with a cronjob (rdate & hwclock). Will
that affect my domU? Is it possible to resynchronize the time on a
"xen-way"?
Goran
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2010 Aug 12
2
Date drift and ntpd
We have a local time server and all of our machines are pointed at it for the
time.
How can the clock drift by a day and a half?
[root at devserver21 ~]# date
Fri Aug 13 14:43:29 EDT 2010
[root at devserver21 ~]# rdate -s 192.168.1.67
[root at devserver21 ~]# date
Thu Aug 12 07:02:39 EDT 2010
[root at devserver21 ~]# cat /etc/ntp.conf | grep -v ^# | grep -v ^$
restrict default nomodify notrap
2003 Sep 16
2
How does "subset" replace arguments? (PR#4193)
Full_Name: Axel Benz
Version: 1.7.1
OS: Windows
Submission from: (NULL) (137.251.33.43)
Hello,
I guess many people will answer me again that this is a S language feature, but
I am only a stupid computer scientist and I simply do not understand this logic,
despite of reading a lot about S:
> test
field tuckey
4 Kreis2 -1
5 Kreis5 -2
9 Metall -3
17
2018 Nov 29
2
Best way of merging mbox files
When concatenating mbox files like described here
https://xaizek.github.io/2013-03-30/merge-mbox-mailboxes/. You will end
up with an 'unsorted' mbox file. Is this going to be a problem
esspecially when they are large >2GB's and new emails will be written to
it?
The email client nicely sorts the message from folder A "foldera 5 last"
as last, but of course the mbox is
2008 Jul 03
1
read.table, NA assignment, and sep
I place the following data in a file
id rs835 rs169 rs174
1001 CC GG CC
10032 CC GG CC
10066 CC NA CC
If I read it in as
tempDat <- read.table("tempDat.txt",na.strings="NA",header=TRUE)
I get the following.
id rs835 rs169 rs174
1 1001 CC GG CC
2 10032 CC GG CC
3 10066 CC <NA> CC
NA has been assigned a missing
2012 Mar 22
4
read.zoo - combining two columns with date and time respectively into one index column?
I have three columns in my raw data: date, time, and dry bulb temperature:
http://r.789695.n4.nabble.com/file/n4495326/weathDataSDCoron.txt
weathDataSDCoron.txt
The date format is %Y%m%d and the time format is %H:%M. Any ideas on how to
read it in such that it looks at the first two columns and then merges it
into one column combining both the date and time?
--
View this message in context:
2006 Sep 07
2
Strange occurrence
Klaas Jan Wierenga wrote:
> I suspect the Linux systems are running a nightly or weekly cron job
> they weren't running before causing an excessive load on CPU or network
> which caused the clients to disconnect. The nightly cron jobs are
> generally located in /etc/cron.daily and run a 4am!. Check for any
> changes in the nightly cron jobs.
Thanks. I didn't know that 4