Displaying 20 results from an estimated 10000 matches similar to: "dictionary lookup"
2023 Jul 05
1
textual analysis - transforming several pdf to txt - naming the files
convertpdf2txt <- function(dirpath){
files <- list.files(dirpath, pattern = "Consoli.*\\.pdf$", full.names
= TRUE)
files <- chartr("\\", "/", files)
x <- lapply(files, function(x){
pdftools::pdf_text(x) %>%
paste0(collapse = " ") %>%
stringr::str_squish()
})
new_names <-
2024 Apr 11
1
[External] Re: Repeated library() of one package with different include.only= entries
> I would assume that
> library(Matrix, include.only="isDiagonal")
> implies that only `isDiagonal` ends up on the search path
This could also be a reasonable behavior, but neither does that happen
today.
> I think a far better approach to solve Michael's problem is simply to use
> fac2sparse <- Matrix::fac2sparse
This does not fully simulate attachment, e.g.
2024 Apr 15
1
[External] Re: Repeated library() of one package with different include.only= entries
I think we should try to advance and hopefully finalize this
thread before we forget about it ..
>>>>> Michael Chirico n Thu, 11 Apr 2024 09:10:11 -0700 writes:
>> I would assume that
>> library(Matrix, include.only="isDiagonal")
>> implies that only `isDiagonal` ends up on the search path
> This could also be a reasonable
2012 May 15
2
Renaming names in R matrix
I have the following matrix:
> dat
[,1] [,2] [,3] [,4]
foo 0.7574657 0.2104075 0.02922241 0.002705617
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
foo 0.0000000 0.0000000 0.00000000 0.000000000
and given this:
2008 Jul 02
2
spss long labels
Hi,
A frequently seen issue with importing SPSS data files, is that R does
not import the 'long variable names'.
I built a patch on the R-project's foreign module, in order to import
the 'long variable names' from SPSS (record 7, subtype 13).
To complete the job, I had to expand the "struct variable" definition
to have 64 +1 charachters. I'm not aware of side
2016 Dec 19
4
doveadm expunge -A Error: Dictionary commit failed
Hi,
with the latest dovecot-ee version (dovecot-ee-2.2.26.1-10) if I run
?doveadm expunge -A mailbox Spam savedbefore 30d? dovecot an error:
doveadm: Error: dict-client: Commit failed: Dict server timeout: No
input for 1916.209 secs (1 commands pending, oldest sent 0.000 secs ago:
C1) (reply took 0.000 secs)
doveadm: Error: expire: Dictionary commit failed
Probably also "doveadm quota
2008 Dec 19
4
Error: dict: Failed to initialize dictionary 'expire'
Hi!
Using dovecot-1.1.17, and BDB-4.6.21.
I'm having this error in every two weeks or so. I've running this in a
crontab:
/usr/local/sbin/dovecot --exec-mail \
ext /usr/local/libexec/dovecot/expire-tool
The expire plugin and tool is working fine, the configuration is ok, and
I'm using the BDB backend.
What happens in every ~two weeks is dovecot starts to give me this error
2007 Jan 28
2
nnet question
Hello,
I use nnet to do prediction for a continuous variable.
after that, I calculate correlation coefficient between predicted value and
real observation.
I run my code(see following) several time, but I get different correlation
coefficient each time.
Anyone know why?
In addition, How to calculate prediction accuracy for prediction of
continuous variable?
Aimin
thanks,
> m.nn.omega
2010 Jul 14
2
domain quota dictionary
Hi
I just configure dovecot with the second dictionary for the domain quota
dict {
quotadict = mysql:/usr/local/etc/dovecot-quota.conf
quota_domain = mysql:/usr/local/etc/dovecot-quota-domain.conf
}
plugin {
quota = dict:user::proxy::quotadict
quota2 = dict:domain:%d:proxy::quota_domain
}
and the dovecot-quota-domain.conf looks like this :
connect = host=xxx dbname=xxx
2010 Aug 24
5
When should dictionary entries for the expire plugin be added/updated?
I've set up Dovecot 2.0 with the expire plugin using an SQLite DB, and
when mail is delivered via dovecto-lda, the DB gets updated as expected.
However, when I use Thunderbird 3.1.2 for Mac OS X to move a message to
any of the folders known to the expire plugin (e.g. the 'tmp' folder),
the SQLite DB is not updated.
Here is an excerpt of my current configuration:
#
2008 Apr 10
1
memory issues with 1.1.rc4 (now it's PAM)
Hi!
I'm running 1.1rc4 on a system and this happens occasionally:
--8<--
mail.info; dovecot: auth(default): client in: AUTH 1 PLAIN service=imap lip=NN.NN.NN.NN rip=NNN.NN.NNN.NN lport=143
mail.info; dovecot: auth-worker(default): pam(XXXXXXXXXXXX,NNN.NN.NNN.NN): lookup service=imap
kern.alert; kernel: grsec: From NN.NN.NN.NN: denied resource overstep by requesting
2012 Oct 19
1
Dovecot quota postgres dictionary problems
I have a strange errors in .err log file, but the postgres seem to be filling
with quota changes, i will also put configs in
Oct 19 09:23:52 mailstore-node-01 dovecot: imap(test at example.net): Error:
read(/var/run/dovecot/dict) failed: Timeout after 30 seconds
Oct 19 09:24:22 mailstore-node-01 dovecot: imap(test at example.net): Error:
read(/var/run/dovecot/dict) failed: Timeout after 30
2016 Dec 20
2
doveadm expunge -A Error: Dictionary commit failed
Il 19/12/2016 14:28, Aki Tuomi ha scritto:
>
>
> On 19.12.2016 15:25, Alessio Cecchi wrote:
>> Hi,
>>
>> with the latest dovecot-ee version (dovecot-ee-2.2.26.1-10) if I run
>> ?doveadm expunge -A mailbox Spam savedbefore 30d? dovecot an error:
>>
>> doveadm: Error: dict-client: Commit failed: Dict server timeout: No
>> input for 1916.209 secs (1
2003 Jan 29
2
substitute, eval and hastables
I have the following problem. I have an automatically generated named
list with "stringified" names:
a <- list("A"=..., "B"=..., "C"=..., )
then I want to refer to the elements of the list, stored as an vector
of names:
nn <- c("A", "B", "C"), so that I could get list elements like
a$nn[1], a$nn[2], etc. Obviously it
2011 Mar 17
1
Unconfigured dictionary name 'quotadict'
Currently i'm migrating an existing dovecot 1.2 server to dovecot 2.0.11,
once configured the 2.0 server works, auth works... but i get these messages in mail.log:
dict: Error: dict client: Unconfigured dictionary name 'quotadict'
Mar 17 16:46:14 penny dovecot: imap(mailbox at example.com): Error: write(/var/run/dovecot/dict) failed: Broken pipe
Mar 17 16:46:38 penny dovecot: dict:
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
Hello,
(Apologies for length, wanted to get all the relevant detail in that I know
of).
I've been having a lot of trouble with some code for an inventory analysis
problem I was doing, and finally came to the conclusion that it appears
that choose() is returning incorrect values. Specifically:
-------------
Browse[1]> nn
[1] 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3
2007 Feb 28
4
Help: CallerID Name not being sent on outbound PRI trunk
Outbound calls on my Telus PRI aren't taking the Name portion of the
callerID. I've looked at the logs, and it is being set (see below), but
the PRI debug output doesn't show the name being sent anywhere. As a
result, received calls always display from Unknown (or just the number).
Is there some config that I've missed somewhere?
I'm running NI-1 (Telus says NI-2 doesn't
2006 Jul 23
2
Try with Dictionary proxy server, but... Bug or not ?
Hello again :),
I try to use dictionary proxy server to replace my precedent configuration (direct use of
dict in plugin quota).
Before, i have this configuration in my dovecot.conf :
## Dictionary server settings
dict {
}
## Plugin settings
plugin {
# quota = 10 Mo
quota = dict:storage=10240 mysql:/etc/dovecot/dict-quota.conf
}
And after, to use proxy, I have this configuration in my
2012 Feb 04
1
combining data structures
Group
It's unlikely I'm trying this the best way, but I'm trying to create a
data structure from elements like
nNode = 2
nn = vector("list",nNode)
nn[[1]] = list(Node = "1", Connect.up = c(NULL), Connect.down = c(2,3))
nn[[2]] = list(Node = "2", Connect.up = c(1), Connect.down = c(4,5))
.... #( and eventually many more nodes)
NodeList =
2013 Jun 10
1
Policy/best practices on renaming functions in packages
R-developers:
I'm beginning to work on a manuscript for a set of functions I
developed for a package I have on CRAN (spatial.tools), and I'd like
to rename a function in my package to give a better idea of what it
does prior to manuscript submission -- is there a "safe" way to do a
backwards-compatible rename of a function within a CRAN package (so
functions that rely on the