Displaying 20 results from an estimated 3000 matches similar to: "as.Date"
2006 May 20
2
Function as.Date leading to error implying that strptime requires 3 arguments
I'm using R V 2.2.1. When I try an example from the as.Date help page,
I get an error.
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
> z <- as.Date(x, "%d%b%Y")
Error in strptime(x, format) : 2 arguments passed to 'strptime' which
requires 3
>
Any suggestions would be appreciated.
Thanks,
Rob
2009 Oct 26
3
as.POSIXct month problem
Hi everybody
When I try example of strptime
x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
z <- strptime(x, "%d%b%Y")
The result is;
> z
[1] NA NA NA NA
I have got the same result with complete form of month but not with numeric
form.
Any idea?
[[alternative HTML version deleted]]
2006 Apr 24
2
Change the language of the labels in a graph
Hello,
How do you change the language of the labels in a graph. In this example, I
want to get French labels by changing Sys.putenv. I should get "Mai"
instead of "May".
Sys.putenv(LANGUAGE="fr")
x <- as.Date(c("1jan1960", "2jan1960", "31mar1960", "30jul1960"), "%d%b%Y")
y <-1:4
plot(x,y)
Regards,
Pierre
2001 Jan 11
2
problem with strptime example (PR#811)
On Thu, 11 Jan 2001 stephen@anc.ed.ac.uk wrote:
> Hi,
>
> The help file for strptime has the following code which doesn't work
> for me:
>
> ## read in date info in format `ddmmmyyyy'
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
> z <- strptime(x, "%d%b%Y")
> > z
> [1]
2001 Oct 01
2
problem with strptime example (PR#811)
Hello,
strptime is still not working correctly in my computer
(Windows 98 and R Version 1.3.1)
From
x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
strptime(x, "%d%b%Y")
I obtain
[1] "NA" "NA" "NA" "NA"
while
x <- c("01011960", "02011960", "3131960",
2000 Jul 01
1
No subject
Dear friends. Library Date was updated recently. I do not remember having
seen the error below until now ? The plot title is made appropriately but
the error message may be annoying, right ? I use version 1.1 on windows 98.
library(date)
tt <- as.date(c("1jan1960", "2jan1960", "31mar1960", "30jul1960"))
plot(tt,c(1:4),main="How's that ?")
2000 Jul 01
1
No subject
Dear friends. Library Date was updated recently. I do not remember having
seen the error below until now ? The plot title is made appropriately but
the error message may be annoying, right ? I use version 1.1 on windows 98.
library(date)
tt <- as.date(c("1jan1960", "2jan1960", "31mar1960", "30jul1960"))
plot(tt,c(1:4),main="How's that ?")
2003 Nov 06
2
Number of Days
Hi everyone,
I have been trying to compute numbers of days between two dates as follows:
> x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
> z <- format(x, "%d%b%Y")
> ex <- c("1jan1961", "15jan1960", "21mar1975", "10jul1981")
> ez <- format(ex, "%d%b%Y")
> ez-z
2001 Jan 11
0
problem with strptime example (and mention of bug.report) (PR#811)
Hi,
The help file for strptime has the following code which doesn't work
for me:
## read in date info in format `ddmmmyyyy'
x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960")
z <- strptime(x, "%d%b%Y")
> z
[1] "NA" "NA" "NA" "NA"
Do these work for other people?
2006 Apr 15
1
strptime failure R 2.2.1 (PR#8773)
Full_Name: Bill Hutchison
Version: 2.2.1
OS: Windows XP
Submission from: (NULL) (69.158.121.13)
example(strptime) produces the following error:
Error in strptime(x, "%d%b%Y") : 2 arguments passed to 'strptime' which requires
3
This error occurs wherever strptime is used. It does not occur in 2.2.0
2004 Sep 03
2
strptime problems
Hi, I'm experiencing a problem with strptime. (R 1.9.1 on a Win2000
machine)
I have a large list containing 6 columns and 161800 rows.
One column contains dates that I want to convert in order to compare the
different dates.
Some dates work just fine while others become NA. I don't see any
difference between the dates.
I've attached an example from my code. Hope this explains my
2010 Feb 05
2
Segmentation Fault while compiling and installing openssh-3.9p1
I am trying to compile and install openssh-3.9p1 (with openssl-0.9.7j)
on my personal dev env to have a play. I get the below mentioned
segmentation fault message.
---------
Generating public/private rsa1 key pair.
/bin/sh: line 1: 10901 Segmentation fault ./ssh-keygen -t rsa1 -f
/home/vinay/var/vinay_ssh/etc/ssh_host_key -N ""
Generating public/private dsa key pair.
/bin/sh: line
2002 May 10
3
Unix Group Question with repect to Samba
I have a question with regards to using Unix groups with samba. This might
be easier to explain with an example.
Lets say I have two users
UserID: GID
UserA:Group1
UserB:Group2
etc.....
I now have an entry in /etc/group that looks like
groupdev::UserA, UserB
If I have a directory with group ownership set to "groupdev" and group mode
"rws"
UserA & UserB cannot create a
2002 Jun 26
0
Client connections seem to drop
> I have samba v 2.2 on one of my production server, the client connections
> seem to drop sometimes, these clients run overnight jobs and when this
> happens there job crashes and they have to manually start it.
>
> Below is the snippet of the log for one of such clients with problems.
>
> ###########cut-paste of log (only part of it)#########
>
> oplock_break:
2003 Mar 24
0
oplock problems with samba 2.2.7a
Hi ,
Before I copy and paste the oplock message(s), here is the setup I have.
I have samba server (on Solaris 2.8) which shares out the NFS mounted
directories to the windows world.
All was working fine till today morning when users complained of extreme
slow performance , looks like there is problems with oplocks accessing some
files.
Below is the snippet to the error log.
[2003/03/24
2003 Apr 09
0
change_trust_account_password: Failed to change password
Hellor, Samba Gurus,
We have a Samba 2.2.7a installation on a Sun server running Solaris 2.8.
Our Samba server has successfully joined an NT domain, and our Windows-NT
workstations
are able to map Samba shares from the Samba server.
But the logfiles in our Samba var (/usr/local/samba/var) directory contain
error messages:
----------------------
[2003/04/07 15:32:34, 0]
2003 Apr 09
0
Too many open files in Samba
Hello, Samba experts,
My Samba server is complaining about "too many open files".
-------------------------
log.nypc2357: Unable to open new log file /local/samba/var/log.nypc2357:
Too many open files
log.nypc2357: Unable to open new log file /local/samba/var/log.nypc2357:
Too many open files
log.nypc2357: Unable to open new log file /local/samba/var/log.nypc2357:
Too many open files
2006 Apr 05
4
logging problems
Hi!
I'd also like to report a strange logging problem I have.
OS: Solaris 2.8
rsync version: 2.6.7
When I run rsync in daemon mode invoked at a command prompt, it does log information in my configured log file (i.e. /var/log/rsyncd.log). But when I invoke it via inetd with an entry in inetd.conf, it does not log any information.
rsync version 2.5.6 did not have this problem.
My inetd.conf
2002 Dec 24
0
PAM problem with Samba and Winbind (on Solaris 2.8)
I am having a problem getting samba and winbind to work correctly.
I installed Samba 2.2.7a (which includes Winbind, because I compiled the
source code with "./configure --with-winbind" ) on a Solaris 2.8 server.
On solaris 2.8 server, I joined a PDC successfully, and I can see all unix
and PDC user accounts using:
/usr/local/samba/bin/wbinfo -u
and, I can see all unix and PDC
2003 Feb 12
2
Samba server in a failover environment
Hello, Samba Gurus .....
I have a Samba server running on a pair of SUN servers (server-a and
server-b).
The samba shares are NFS mounted from a third SUN server (server-c).
I installed Samba 2.2.7a on the paired SUN servers under /usr/local/samba
(Samba 2.2.7a is locally installed on server-a and server-b, since
/usr/local/samba
is local on the rootdisk.)
The failover environment works like