Displaying 17 results from an estimated 17 matches for "valueclass".
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
...anything like this on CRAN. Would going back to an
older version of R solve the problem?
Thanks,
Barnet Wagman
"David James wrote:
However, there is a problem in the released version of R 1.8.0 that affects
the DBI and other packages (has something to do with methods
that use the "valueClass" argument in the setGeneric/setMethod functions).
In this case one needs to use the R-patched version. "
2018 Dec 08
2
Solr
...mutating">
@@ -1158,43 +1159,8 @@
<str>yyyy-MM-dd</str>
</arr>
</updateProcessor>
- <updateProcessor class="solr.AddSchemaFieldsUpdateProcessorFactory"
name="add-schema-fields">
- <lst name="typeMapping">
- <str name="valueClass">java.lang.String</str>
- <str name="fieldType">text_general</str>
- <lst name="copyField">
- <str name="dest">*_str</str>
- <int name="maxChars">256</int>
- </lst>
- <!-- Use as default mapping...
2018 Dec 09
0
Solr
...+1159,8 @@
> <str>yyyy-MM-dd</str>
> </arr>
> </updateProcessor>
> - <updateProcessor class="solr.AddSchemaFieldsUpdateProcessorFactory" name="add-schema-fields">
> - <lst name="typeMapping">
> - <str name="valueClass">java.lang.String</str>
> - <str name="fieldType">text_general</str>
> - <lst name="copyField">
> - <str name="dest">*_str</str>
> - <int name="maxChars">256</int>
> - </lst>
> -...
2018 Dec 05
5
Solr
THen the Squat shall be maintained until the SOlr plugin is upgraded, as
Squat does resolve the problem (fts, partial search, etc...)
On 2018-12-05 12:20, Aki Tuomi wrote:
> It seems we forgot to document that "break-imap-search" was dropped in v2.3. That has now been updated.
>
> Also Solr does not support prefix/substring search unless you configure solr to support it.
2019 Apr 23
2
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
Hello, it seems an mismatch of schema file provided by dovecot-2.3.5.2
[root at mail conf]# pwd
/var/solr/data/dovecot/conf
# Below solrconfig.xml is from Solr-8.0.0.
[root at mail conf]# grep text_general solrconfig.xml
<str name="queryAnalyzerFieldType">text_general</str>
field types. Text content will be indexed as "text_general" as
<str
2006 Sep 12
1
package.skeleton() in R-2.4.1
...then
package.skeleton(path="~")
I get a file ~/anRpackage/R/getX.R containing:
"getX" <-
structure(function(x){standardGeneric("getX")}
, generic = structure("getX", package = ".GlobalEnv"), package =
".GlobalEnv", group = list(), valueClass = character(0), signature =
"x", default = <S4
object of class structure("MethodsList", package = "methods")>,
skeleton = quote(function (x)
stop("invalid call in method dispatch to 'getX' (no default method)",
domain = NA)(x)), class =...
2008 Feb 24
2
Generic Functions
...e a specific function for class PROBECLASS with other
arguments than for the generic function "setType" of fPortfolio.
setGeneric("setType<-", function(object, value)
standardGeneric("setType<-"))
#Returns
Fehler in makeGeneric(name, fdef, fdeflt, group = group, valueClass =
valueClass, :
the formal arguments of the generic function for "setType<-" (object,
value) differ from those of the non-generic to be used as the default (spec,
value)
setReplaceMethod("setType", "PROBECLASS", function(object, value){
object at type <-...
2008 Feb 24
2
Generic Functions
...e a specific function for class PROBECLASS with other
arguments than for the generic function "setType" of fPortfolio.
setGeneric("setType<-", function(object, value)
standardGeneric("setType<-"))
#Returns
Fehler in makeGeneric(name, fdef, fdeflt, group = group, valueClass =
valueClass, :
the formal arguments of the generic function for "setType<-" (object,
value) differ from those of the non-generic to be used as the default (spec,
value)
setReplaceMethod("setType", "PROBECLASS", function(object, value){
object at type <-...
2019 Apr 23
3
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
...ppd HH:mm:ss [z ]yyyy</str>
> </arr>
> </updateProcessor>
> <updateProcessor class="solr.AddSchemaFieldsUpdateProcessorFactory"
> name="add-schema-fields">
> <lst name="typeMapping">
> <str name="valueClass">java.lang.String</str>
> <str name="fieldType">text_general</str>
> <lst name="copyField">
> <str name="dest">*_str</str>
> <int name="maxChars">256</int>
>...
2019 Apr 23
0
SolrCore 'dovecot' is not available due to init failure: fieldType 'text_general' not found in the schema
...>
<str>EEE MMM ppd HH:mm:ss [z ]yyyy</str>
</arr>
</updateProcessor>
<updateProcessor class="solr.AddSchemaFieldsUpdateProcessorFactory"
name="add-schema-fields">
<lst name="typeMapping">
<str name="valueClass">java.lang.String</str>
<str name="fieldType">text_general</str>
<lst name="copyField">
<str name="dest">*_str</str>
<int name="maxChars">256</int>
</lst>
&l...
2008 Dec 22
2
... (dotMethods) and cbind/rbind: how to give the signature?
...setGeneric ("cbind", signature = signature (...="...", deparse.level =
"integer"))
and
setGeneric ("cbind", signature = signature ("...", deparse.level = "integer"))
both give:
Fehler in makeGeneric(name, fdef, fdeflt, group = group, valueClass =
valueClass, :
Nicht-Argumente in der Signatur: integer
What is my mistake?
Thanks a lot for your help!
Claudia
> version
_
platform i486-pc-linux-gnu
arch i486
os linux-gnu...
2003 Oct 11
2
Problem in 'methods' package (PR#4525)
...az Pereira da Rosa
Version: 1.8.0
OS: Linux 2.4.21
Submission from: (NULL) (200.206.211.169)
After installing R 1.8.0, the R DBI interface stopped working. I tracked it
down as a problem in the 'methods' package, that comes in the default
installation.
Somehow the function '.valueClassTest' which is defined on package
'methods', is not being defined.
To ilustrate how this breaks DBI, try this in a 1.8.0 R install (with DBI
installed):
> library(DBI)
> con <- dbConnect(dbDriver("MySQL"), dbname = "test")
Error in dbConnect...
2003 Oct 19
1
Running RMySQL with SuSE 8.2?
...ion will work with the SuSE 8.2 rpms of R and
DBI?
The package installs without complaint, but when I try to run
con <- dbConnect(dbDriver("MySQL"),dbname="test")
I get the error
Error in dbConnect(dbDriver("MySQL")) : couldn't find function
".valueClassTest"
(This is my first attempt to access a an rdms from R, so I could be
doing something else wrong.)
Any ideas as what might be generating this error, or as to combinations
of rpms that will work under SuSE 8.2 would be appreciated. (I took a
stab at compiling RMySQL from src, but I don&...
2017 Jun 07
1
Errors running spdplyr example
...pdplyr)
library(maptools)
data(wrld_simpl)
worldcorner <- wrld_simpl %>%
mutate(lon = coordinates(wrld_simpl)[,1], lat =
coordinates(wrld_simpl)[,2]) %>%
filter(lat < -20, lon > 60) %>%
dplyr::select(NAME)
I got the following error messages:
Error in (function (cl, name, valueClass) :
c("assignment of an object of class ?tbl_df? is not valid for @?data? in
an object of class ?SpatialPolygonsDataFrame?; is(value, \"data.frame\") is
not TRUE", "assignment of an object of class ?tbl? is not valid for @?data?
in an object of class ?SpatialPolygonsDataF...
2020 Mar 27
0
Possibility of Less Verbose Stack Trace
...1: .local(model, test, ...)
where 2: (new("nonstandardGenericFunction", .Data = function (model, test,
...)
{
standardGeneric("elasticNetGLMpredictInterface")
}, generic = "elasticNetGLMpredictInterface", package = "ClassifyR",
group = list(), valueClass = character(0), signature = c("model",
"test"), default = NULL, skeleton = (function (model, test,
...)
stop("invalid call in method dispatch to 'elasticNetGLMpredictInterface' (no default method)",
domain = NA))(model, test, ...)))(...
2023 Nov 08
1
Problem in R code
...the variables "LST_city"
and "opt".
The first error is:
Error in .cellValues(x, y, ...) : unused arguments (fun =
new("standardGeneric", .Data = function (x, ...) standardGeneric("mean"),
generic = "mean", package = "base", group = list(), valueClass =
character(0), signature = "x", default = new("derivedDefaultMethod", .Data
= function (x, ...) UseMethod("mean"), target = new("signature", .Data =
"ANY", names = "x", package = "methods"), defined = new("signature",...
2011 Aug 23
1
Implementing a "plugin" paradigm with R methods
Dear list,
I was wondering how to best implement some sort of a "plugin" paradigm
using R methods and the dispatcher:
Say we have a function/method ('foo') that does something useful, but
that should be open for extension in ONE specific area by OTHERS using
my package. Of course they could go ahead and write a whole new 'foo'
method including the features they'd