Displaying 20 results from an estimated 600 matches similar to: "problem with strptime example (and mention of bug.report) (PR#811)"
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",
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
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
2004 Apr 22
1
as.Date
Hi. I'm sure this is a complete green-horn question. I apologize.
I'm trying to use as.Date *exactly* as shown on p. 194 of the manual (code
fragment and error message pasted below). Is there some kind of "include"
or "import" statement that I need to issue? Thank you very much for saving
what remains of my hair.
> x <- c("1jan1960",
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
When I run configure on either a DU server running 4.0f or a DU client
running 4.0d, I receive the following error:
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config
Most directories are mounted using nfs v2 or nfs v3. rpc.lockd and
rpc.statd are running on servers and clients. The rpcinfo -p command shows
nlockmgr and llockmgr
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
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
2001 Jan 10
1
configure error on alpha (PR#806)
Hi,
I've found that the default options of gcc and g77 on alpha produce an
executable that suffers from floating exceptions. There seems to be a
problem with the configure scripts that prevents the --with-f77 option
working correctly. The configure script tests that f77 is running by
attempting to compile and link a dummy program - the link step seems
broken on the alpha (it doesn't like
2001 May 03
0
addition to Index vectors get overwriten ?!
sorry I forgot:
platform alphaev67-dec-osf4.0f
arch alphaev67
os osf4.0f
system alphaev67, osf4.0f
status
major 1
minor 2.1
year 2001
month 01
day 15
language R
--
-------------------------------------------------------
Dr. Thomas Bruns <thomas.bruns at ptb.de>
Physikalisch-Technische Bundesanstalt
2002 Jan 02
1
Building R-1.4 on Tru64
Hello everyone,
I've just attempted to build R-1.4 on Compaq Tru64 (I'll enclose the
text from bug.report() from R-1.3.1 at the end.) The relevant part of
the log is below.
Any ideas?
gcc -shared -o methods.so do_substitute_direct.o
methods_list_dispatch.o method_meta_data.o slot.o -L/usr/local/lib
/usr/ucb/ld:
Warning: Unresolved:
TYPEOF
Rf_error
Rf_protect
Rf_substitute
2000 Jul 06
0
R-1.1.0 on Alpha?
Has anyone succeeded in compiling R-1.1.0 on a Digital (Compaq) Alpha
running OSF4.0F (or E)? Everything seems to compile OK (except the
frequent "Warning: Unresolved:" at link time - this threw me off the
scent for a while!), but then at run time I get:
Fatal error: The X11 shared library could not be loaded.
The error was dlopen: cannot load
2001 Jun 11
1
R-devel on alpha Tru64: cxml/dxml problem (PR#977)
Hi,
I just run a ./configure --enable-R-shlib; make; make check; with a recent
(11.6.2001) R-devel snapshot on Tru64 4.0F (with libcxml):
make check stops in base-Ex.R at:
> ###--- >>> `plot.window' <<<----- Set up World Coordinates for Graphics
Window>
> ## alias help(plot.window)
>
> ##___ Examples ___:
>
> ##--- An example for the use
2000 Jun 15
2
[PATCH] ./configure fails to recognize alphapca56 (R-1.1.0)
I think I reported this bug in the past. At that time, I was told that
it is a bug of autoconf.
./configure does not recognize Linux on DEC Alpha 21164PC (a cheap version
of Alpha EV56), so all the compilation flags were set incorrectly. I
don't know the right way to fix it (I don't know how autoconf works
yet ...), but the following patch fixes the problem.
Thank you,
Naoki
Naoki
2000 Jun 16
1
[PATCH] ./configure fails to recognize alphapca56 (PR#572)
I am filing this as a bug report so it doesn't get lost.
Martyn
-----FW: <XFMail.000616094624.plummer@iarc.fr>-----
Date: Fri, 16 Jun 2000 09:46:24 +0200 (CEST)
Sender: owner-r-devel@stat.math.ethz.ch
From: Martyn Plummer <plummer@iarc.fr>
To: Naoki Takebayashi <ntakebay@bio.indiana.edu>
Subject: RE: [Rd] [PATCH] ./configure fails to recognize alphapca56 (R-1.
Cc:
2000 Jun 09
0
Disappearing values (PR#551)
Dear all,
Uwe e-mailed me yesterday about the problems some time ago. I had hoped
someone would have a look at our computers, but due to some unfortunate
circumstances, it hasn't happened. However, it seems unlikely that it is
connected to a specific piece of hardware. It could be an
architecture-dependent problem though. I also had a word with those who
did the installation of R, and they