Displaying 20 results from an estimated 10000 matches similar to: "as.Date: conversion pb from POSIXct (PR#9386)"
2007 Jan 03
3
pb in regular expression with the character "-" (PR#9437)
Full_Name: FAN
Version: 2.4.0
OS: Windows
Submission from: (NULL) (159.50.101.9)
These are expected:
> grep("[\-|c]", c("a-a","b"))
[1] 1
> gsub("[\-|c]", "&", c("a-a","b"))
[1] "a&a" "b"
but these are strange:
> grep("[d|\-|c]", c("a-a","b"))
integer(0)
2004 Oct 10
2
strange behaviour in R 2.0.0 (PR#7275)
Full_Name: Xiao Gang FAN
Version: R 2.0.0
OS: Windows
Submission from: (NULL) (82.226.247.142)
The following codes worked for R 1.9.1
> a = data.frame(x=1:2)
> a$y = strptime(c("20010101","20020101"),"%Y%m%d")
this no longer works for R 2.0.0:
Error in "$<-.data.frame"(`*tmp*`, "y", value = list(sec = c(0, 0), min = c(0,
:
2006 Dec 22
1
Base R: applying min/max functions() to character string vectors (PR#9428)
Full_Name: Xiao Gang FAN
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (159.50.101.9)
Dear All,
This is not really a bug report, but rather a change wish to the Base R
behaviour
on some functions when applying them to character strings vectors/matrices.
Actually in R, we can do thinks like, the most naturally way in this the world:
> "a" < "b"
[1] TRUE
>
2006 May 02
1
Call trellis function in a function (PR#8827)
Full_Name: Fan
Version: 2.2.1
OS: Windows
Submission from: (NULL) (159.50.101.9)
Hello,
When I call trellis function (such as histogram, densityplot, etc.) in a
function,
the call seems being ignored (no graphics is drawing) if some other instructions
are placed afeter that call.
Here's an example:
y = rnorm(100*3)
b = sample(1:3,300,replace=T)
f = function()
{
densityplot(~y|b)
}
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2002 Apr 29
1
Release of Design library; update of Hmisc library
The Design library has been fully ported to R except for Cox proportional hazards regression modeling (using Therneau's survival package) which will be available in about two weeks. It will take much longer to make all the example code executable, is it currently contains many examples for which data are not provided. Thanks to Xiao Gang Fan <xiao.gang.fan1 at libertysurf.fr> who
2004 Oct 10
1
R 2.0.0 - lazy loading mandadory ? (PR#7274)
Full_Name: Xiao Gang FAN
Version: R 2.0.0
OS: Windows
Submission from: (NULL) (82.226.247.142)
When a package preload another necessary package, say Hmisc,
seems that this last one must be precompiled, this is rather
boring - we must rebuild all dependant packages ?
Here's an error when compiling such a package:
---------- Making package toto ------------
2004 Apr 21
1
Error with 1.9.0 - winMenuAdd not usable in .Rprofile
I had this problem too. The documentation for the winMenus says that these
functions are part of the utils package. R must be loading this library
after it sources in Rprofile. If you add library(utils) to the beginning of
your .First function, it should take care of the problem.
Brian Gregor, P.E.
Transportation Planning Analysis Unit
Oregon Department of Transportation
Brian.J.GREGOR at
2003 Feb 10
1
Type of multi-valued variable
Hi,
I've read in the past a thead in the R discussion list
about the multi-valued type variable (what was called checklist).
At the moment Gregory had intention to add some general code
in his gregmisc package.
I'm wondering if there's some general code / packages available ?
A general class for taking account this type of variable
would be very useful in the domain of survey
2003 Aug 11
1
New package: irregular time-series (its)
I have uploaded to CRAN a new package named 'its' (Irregular Time-Series).
It
implements irregular time-series as an S4 class, extending the matrix class,
and records the time-stamp of each row in the matrix using POSIX. Print,
plot,
extraction, append, and related functionality are available.
Feedback and suggestions are welcome.
Giles Heywood
2003 Aug 11
1
New package: irregular time-series (its)
I have uploaded to CRAN a new package named 'its' (Irregular Time-Series).
It
implements irregular time-series as an S4 class, extending the matrix class,
and records the time-stamp of each row in the matrix using POSIX. Print,
plot,
extraction, append, and related functionality are available.
Feedback and suggestions are welcome.
Giles Heywood
2002 Nov 17
2
Package tseries: crash for Windows version (PR#2302)
Platform: Windows 98
R version: Version 1.6.1 (2002-11-01)
Package 'tseries' version: 0.9-4 Built: R 1.6.0; Win32; Mon Oct 7 14:02:38 2002)
(dependanted packages 'quadprog': Built: R 1.5.1; Win32; 2002-07-03 12:20:50)
I've just upgraded to R 1.6.1. By typing
library(tseries)
example(garch)
=> I've got a crash with the following message:
"RGUI a causé une
2002 Nov 17
2
Package tseries: crash for Windows version (PR#2302)
Platform: Windows 98
R version: Version 1.6.1 (2002-11-01)
Package 'tseries' version: 0.9-4 Built: R 1.6.0; Win32; Mon Oct 7 14:02:38 2002)
(dependanted packages 'quadprog': Built: R 1.5.1; Win32; 2002-07-03 12:20:50)
I've just upgraded to R 1.6.1. By typing
library(tseries)
example(garch)
=> I've got a crash with the following message:
"RGUI a causé une
2002 Jan 15
3
R for large data sets
Hi All,
As a part of our regular data analysis, I have to read in large data sets
with six columns and about a million rows. In Splus, this usually take a
couple of minutes. I just tried R, it seems take forever to use read.table()
to read in the data frame! It did not help much even though I specified
colClasses and nrows in read.table().
How is R's ability to analyze large data sets? I
2004 Mar 05
3
as.POSIXct problem
Hi all,
I'm having difficulty converting a 'dates' object to a POSIXct object:
testDATES<-c(35947,35971,36004,36008,36053,36066)
testDATES<-chron(dates=testDATES, format = c(dates = "m/d/y"),
origin=c(month = 12, day = 30, year = 1899))
>[1] 06/01/98 06/25/98 07/28/98 08/01/98 09/15/98 09/28/98
> as.POSIXct(testDATES)
[1] NA NA NA NA NA NA
2004 Oct 10
3
R 2.0.0 not suffisantly reliable to be be used
After wasting one whole day, I've finally decided to stay with 1.9.1,
some problems have been reported to R-Bugs.
For occasional users, I would say, there's no worst thing than that:
you installed the new release, and soem of your existing codes no
longer work !
--
Fan
2013 Jan 11
1
Date time conversion bug (as.POSIXct)?
There is something wrong, I think, with the date-time conversion from a
numeric value if you use Central European Time (CET) as timezone.
Examples from R:
If I use the GMT time zone it is OK, I get the same time back from
as.POSIXct as I entered
> as.POSIXct(as.numeric(strptime("30/01/2012 13:00:00", format="%d/%m/%Y
>
2001 Oct 04
2
about the char _
Dear all,
I don't know the historical reason why the char '_' was
defined in the R language grammar as a synonyme of the
assignment <-, anyway the R documentation dosen't recommand
its usage.
Well, this is a real "incompatibility issue" each time
we need to interface R with other language/systems, notably with
database systems. Recall that, in perhaps all
2004 Oct 10
1
R 2.0.0 (PR#7272)
Full_Name: Xiao Gang FAN
Version: 2.0.0
OS: Windows
Submission from: (NULL) (82.226.247.142)
After installing the new version 2.0.0 (downloaded binary),
I've got 2 unexpected behavious vs 1.9.1:
1. When installing some packages from source, the making process
stoped with the following message:
---------- Making package toto ------------
adding build stamp to DESCRIPTION
making DLL
2003 Dec 15
2
Week of the Year date conversion
Hello there fellow R-users,
I have received some data which comes in the following format:
example1<-"200301"
The first 4 digits correspond to the year and the remaining 2 digits
correspond to the week of the year.
I have tried to convert this to a date by using strptime as follows:
strptime(example1,format="%Y%U")
where U (looking up strptime) is the week of the