Displaying 20 results from an estimated 800 matches similar to: "Automatic time zone conversion"
2004 Mar 10
2
Inserting Date Field into Oracle table using ROracle
Hello,
Attached is a mail regarding question how to insert Date field using ROracle
package. I am stuck with this problem and appreciate receiving help from
gurus on this list.
Code used mainly is:
library(ROracle) ### --- Version 0.53
drv <- dbDriver("Oracle")
con <- dbConnect( drv, "user/passwd")
d <- data.frame(CDATE = "2004-03-10 10:12:00")
ps
2013 Apr 11
4
Understanding contents of packages
Colleagues
During the transition to R3.0.0 (OS X), one of the packages that I used -- SASxport -- did not work until I used the "type=source" option in install.packages.
This led to an adventure:
1. I downloaded the package source: SASxport_1.2.4.tar.gz
2. in the SASxport/R folder, I found all the functions that are part of the package.
I became interested in whether I could
2012 Nov 20
1
Buffer overflow in date package
Dear list-members,
I have observed quite a strange problem with the date package.
You will find below what I get on my machine (Ubuntu). I have been able to
reproduce the error on Red Hat too. But it seems not to happen on Windows
(and on some other Linux distros?).
> require(date)
Loading required package: date
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-pc-linux-gnu
2002 Jul 01
1
Substitutions in strings.
Hi all,
Sorry to bother you with the potentially not too bright question, but
since I cannot get it to work, I'll have to ask someone..
I've got this vector:
> token
[1] sal skal skal bak b_r d_ gal kal l_r n_r pak
p_r
[13] sal sl_r sn_r spak sp_r st_r s_ bak d_ gal l_r
pak
[25] p_r sak sl_r sp_r t_ kal n_r s_ st_r sak kal
2007 Jun 13
5
Confusion with sapply
Hi,
I have some confusion in applying a function over a column.
Here's my function. I just need to shift non-March month-ends to March
month-ends. Initially I tried seq.dates, but one cannot give a negative
increment (decrement) here.
return(as.Date(seq.dates(format(xdate,"%m/%d/%Y"),by="months",len=4)[4])
)
Hence this simple function:
> mydate <-
2013 Feb 18
3
Generating QFs from same sample
Dear All
I am kind of stuck up with a code a part of which seems to be causing a
problem, or at least I think so. May be the community can help me. It’s
simple but I suppose I am missing something.
I generate a data matrix X, say of order n*p, where n represents
independent row-vectors and p correlated col vectors. Let the row
representation be X = (X’_1, . . ., X’_n)’. I generate the
2013 Apr 06
1
Replace missing values within a group with the non-missing value
I have a large dataset organised in choice groups see below. Each choice represents a separate occasion with 1 product chosen out of the 6 offered.
+-------------------------------------------------------------------------------------------------+
| dn obs choice acid br date cdate situat~n mth year set |
2018 Jul 26
4
Problem with definition of slist in CFEngine
Hey folks,
I have a problem with the definition of a variable of type slist in
CFEngine on
# uname -a ; cat /etc/redhat-release
Linux policyhub.example.com 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22
21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.4.1708 (Core)
I'm not sure if its valid to ask CFEngine questions on this mailing
list, but as far as I'm running on
2009 Apr 25
2
Extracting an object name?
Dear Sir or Madam:
This is an extension to a earlier post, about looping through several
thousand files, and testing student's models against a different
data-set, called rclnow, for "recall now".
The problem is, that the instructor never specified to the students,
what they should name their "lm" object.
So what they created was:
"arbitrary variable name"
2011 Dec 27
1
sub query issue with active record.
i can manage the MySQL queries into active record.but in some cases
basically with sub-queries.i didn''t get the correct output.
here when i trying to change the MySQL queries into active-record.
*MySQL Query*
*select count(*) from ( SELECT transactions.loyalty_id FROM transactions
JOIN loyalties ON (transactions.loyalty_id = loyalties.id) where
loyalties.created_at >
2019 Sep 01
3
vfs_shadow_copy2 not working
Hi Jeremy,
Here's the log with log level 10: https://pastebin.com/0EAuz2B8
The location of the shared folder: /pool/shadowtest
The location of the snapshots: /pool/shadowtest/.zfs/snapshot
Here are how snapshots are named:
autosnap_2019-09-01_13:29:01_daily
autosnap_2019-09-01_13:29:01_hourly
autosnap_2019-09-01_13:44:09_frequently
And this is currently in my smb.conf file:
[shadowtest]
2012 Nov 12
1
problem with Erlang function
I'm beginner with R language
My goal is to write a function that takes an input Erlang entering your
? Name
? Name
? Date of birth.
The program will calculate age and display output
first
I do know the system date (month, day, year)
I find with Sys.Date ()
I found a function. net to calculate the age
Protected Sub calcul_age()
Dim datetimenow = DateTime.Now
Dim
2013 Aug 07
2
The docs a re a bit weird on "Directory hashing"
In squid we use a double layer of hashed directories on the FS to allow
storage of millions of files.
I was reading the "Directory hashing" section but never understood it..
since it's written.. in a way I could not understand.
I am using this line:
mail_location = maildir:/home/vmail/%d/%n/Maildir/
and I want to migrate to a hash based directory scheme.
While trying to understand
2019 Aug 10
2
vfs_shadow_copy2 not working
So I'm trying to get shadow copies to work with Windows clients. The snapshots are being stored at /test/.zfs/snapshot
The snapshots are being named like so:
autosnap_2019-08-10_21:00:00_frequently
autosnap_2019-08-10_21:00:00_monthly
autosnap_2019-08-10_22:00:00_hourly
This is in my smb.conf:
[test]
vfs objects = shadow_copy2
shadow:snapdir = /test/.zfs/snapshot
shadow:snapprefix =
2013 Aug 20
2
Dialplan MySQL inserted ID
Hello,
how can I obtain the "inserted ID" after having inserted a row with
MySQL in the dialplan ?
exten => s,n,MYSQL(Query resultid ${connid} INSERT INTO myTable SET
C1="${ARG1}", C2="${ARG2}",
timestamp="${STRFTIME(${EPOCH},,%Y-%m-%d_%H:%M:%S)}")
I need to know the ID of the newly inserted row.
Kind regards,
Jonas.
-------------- next part
2014 Jan 24
2
vfs_shadow_copy2 with different snapshot format
Hi all,
Does anyone have vfs_shadow_copy2 working with an alternate snapshot
directory format? My snapshots look like this :
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140113_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140114_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140115_12:00
drwxr-xr-x 55 root root 32768 Jan 10 12:37 20140116_12:00
drwxr-xr-x 55 root root 32768 Jan 10
2005 May 07
4
string syntactic sugar in R? - long post
Currently in R, constructing a string containing
values of variables is done using 'paste' and can be
an error-prone and traumatic experience. For example,
when constructing a db query we have to write,
paste("SELECT " value " FROM table where
date ='",cdate,"'")
we are getting null result from it, because without
(forgotten...)
2011 Feb 02
2
Using MathJax in R's help system
Hi,
I am doing a small experiment to test if I can use
MathJax ( official site: http://www.mathjax.org )
in R's html help pages (i.e. options(help_type='html'))
and it seems working with some minor modifications.
The screenshot (rendered by Firefox 4.0 beta and with STIX fonts) of
the help page in html format with MathJax enabled is at the following
url:
2004 Aug 06
2
RPM's
Hi,
<p>I deleted config.cache and gave ./configure another try and got the same
o I looked in the config.log and found the following
configure:6312: gcc -o conftest -O20 -ffast-math -fsigned-char -D_REENTRANT -D_$
configure:6305:26: vorbis/codec.h: No such file or directory
configure: failed program was:
#line 6302 "configure"
#include "confdefs.h"
o I looked on the
2013 Jan 14
2
Reports from 5.00
> 5.01 should be released by the beginning of next week.
The following problems (among others) are present in 5.00. I hope
they can be solved for 5.01.
A_ LABEL directive with trail space characters fails:
http://www.syslinux.org/archives/2012-December/019153.html
B_ TEXT HELP directive hangs (easier to see when using Windows-like
new lines, CR/LF):