Displaying 5 results from an estimated 5 matches for "serid".
Did you mean:
userid
2008 May 04
1
S4 / S3 / Sweave problem
I'm not sure if this as a bug or something I am doing wrong. It occurs
in both 2.7.0 and 2.6.2.
require("methods")
setClassUnion("OptionalPOSIXct", c("POSIXct", "NULL"))
setClass("TSmetax",
representation(serIDs="character", ExtractionDate="OptionalPOSIXct" ))
setGeneric("TSmetax",
def= function(x, ...) standardGeneric("TSmetax"))
setMethod("TSmetax", signature(x="character"),
definition= function(x, ...){
new("TSmetax&qu...
2008 Apr 23
1
S4 default for coercing
...e something else I should do to make this work:
R version 2.7.0 (2008-04-22)
....
> require("methods")
> setClassUnion("OptionalPOSIXct", c("POSIXct", "NULL"))
[1] "OptionalPOSIXct"
> setClass("TSmetax",
representation(serIDs="character", ExtractionDate="OptionalPOSIXct" ))
[1] "TSmetax"
> setGeneric("TSmetax", def= function(x, ...) standardGeneric("TSmetax"))
[1] "TSmetax"
> setMethod("TSmetax", signature(x="character"), definit...
2006 Feb 28
3
[AR] #{id} namespace visibility used in finder_sql
...quence_name "SQ1_DIV"
has_many :members,
:class_name => ''Division'', # Result is not really a Division class
# but that works..
:finder_sql => ''select
u.userid, u.username, p.personname, <etc>
<snip>
where
<snip>
s.divid = #{id}''
Here #{id} is correctly used as the current Divison record''s id for
querying, works as explained in all api e...
2004 May 10
3
sqlSave with underscores in table fieldname
...ces_test
My table definition is:
ind_id smallint(3)
ser_id smallint(4)
period_id tinyint(2)
year smallint(4)
calc mediumint(6)
mean mediumint(6)
This error is related to the underscores I use in the table. Because, when I change the table definition to (removing underscores):
indid smallint(3)
serid smallint(4)
periodid tinyint(2)
year smallint(4)
calc mediumint(6)
mean mediumint(6)
and execute
colnames(temp6) <- c("indid","serid","periodid","year","calc","mean")
sqlSave(channel, temp6, tablename = "series_indices_test"...
2008 Aug 27
1
S4 coercion
...erceMethods)
8: as(obj, "integer")
7: isIdCurrent(con)
6: postgresqlQuickSQL(conn, statement, ...)
5: dbGetQuery(con, paste("SELECT tbl FROM Meta ", where, ";"))
4: dbGetQuery(con, paste("SELECT tbl FROM Meta ", where, ";"))
3: TSdbi:::TSdeleteSQL(serIDs = serIDs, con = con, ...)
2: TSdelete("vec", con)
1: TSdelete("vec", con)
> str(con)
Formal class 'TSPostgreSQLConnection' [package "TSPostgreSQL"] with 4 slots
..@ Id : int [1:2] 21795 1
..@ dbname : chr "test"
..@ vintage: logi FALSE
....