Displaying 20 results from an estimated 10000 matches similar to: "Dynamic Dictionary Data Type?"
2018 Jun 08
3
Subsetting the "ROW"s of an object
> On Jun 8, 2018, at 1:49 PM, Hadley Wickham <h.wickham at gmail.com> wrote:
>
> Hmmm, yes, there must be some special case in the C code to avoid
> recycling a length-1 logical vector:
Here is a version that (I think) handles Herve's issue of arrays having one or more 0 dimensions.
subset_ROW <-
function(x,i)
{
dims <- dim(x)
index_list <-
2010 Oct 08
2
What do you call the value that represents a missing argument?
Hi all,
What's the official name for the value that represents a missing argument?
e.g.
formals(plot)$x
str(formals(plot)$x)
deparse(formals(plot)$x)
is.symbol(formals(plot)$x)
What's the correct way to create an object like this? (for example if
you are manipulating the formals of a function to add an argument with
no default value, as in http://stackoverflow.com/questions/3892580/).
2011 Jun 05
1
file rights for dictionary file
Hi,
I use Debian Squeeze and the sources from Stephan Bosch. A few weeks ago I?ve upgraded from 2.0.11 to 2.0.13 and got an error
May 29 20:01:53 mailserver dovecot: dict: Error: Can't open configuration file /etc/dovecot/dovecot-dict-sql.conf.ext: Permission denied
May 29 20:01:53 mailserver dovecot: dict: Error: Failed to initialize dictionary 'quota'
and I could see that
2018 Jun 08
4
Subsetting the "ROW"s of an object
> On Jun 8, 2018, at 11:52 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
>
> On Fri, Jun 8, 2018 at 11:38 AM, Berry, Charles <ccberry at ucsd.edu> wrote:
>>
>>
>>> On Jun 8, 2018, at 10:37 AM, Herv? Pag?s <hpages at fredhutch.org> wrote:
>>>
>>> Also the TRUEs cause problems if some dimensions are 0:
>>>
2009 Apr 17
1
cast function in package reshape
Hello R useRs,
I have a function which returns a list of functions :
freq1 <- function(x) {
lev <- unique(x[!is.na(x)])
nlev <- length(lev)
args <- alist(x=)
if (nlev == 1) {
body <- c("{", "sum(!is.na(x))", "}")
f <- function() {}
formals(f) <- as.pairlist(args)
body(f) <- parse(text = body)
namef <-
2007 May 30
1
Static and dynamic graphics course, July 2007, Salt Lake City
We're pleased to announce a one day course covering static and dynamic
graphics using R, ggplot and GGobi. The course will be held just
before the JSM, on Saturday, 28 July 2007, in Salt Lake City. The
course will be presented by Dianne Cook and Hadley Wickham.
In the course you will learn:
* How to build presentation quality static graphics using the R
package, ggplot. We will cover plot
2015 Dec 10
6
How do I reliably and efficiently hash a function?
I?ve got the following scenario: I need to store information about an
R function, and retrieve it at a later point. In other programming
languages I?d implement this using a dictionary with the functions as
keys. In R, I?d usually use `attr(f, 'some-name')`. However, for my
purposes I do not want to use `attr` because the information that I
want to store is an implementation detail that
2018 Jun 08
6
Subsetting the "ROW"s of an object
Hi all,
Is there a better to way to subset the ROWs (in the sense of NROW) of
an vector, matrix, data frame or array than this?
subset_ROW <- function(x, i) {
nd <- length(dim(x))
if (nd <= 1L) {
x[i]
} else {
dims <- rep(list(quote(expr = )), nd - 1L)
do.call(`[`, c(list(quote(x), quote(i)), dims, list(drop = FALSE)))
}
}
subset_ROW(1:10, 4:6)
#> [1] 4 5 6
2001 Jan 15
2
BAD PASSWORD: it is based on a dictionary word
A non-root user is trying to change their password but cannot because of the
message:
BAD PASSWORD: it is based on a dictionary word
They swear its not true. Anyways, I was just curious where (if anywhere)
the config file lies for this functionality. Do you know? -mike
2018 Jul 07
6
Testing for vectors
On Sat, Jul 7, 2018 at 1:50 PM, Gabe Becker <becker.gabe at gene.com> wrote:
> Hadley,
>
>>
>> I was thinking primarily of completing the set of is.matrix() and
>> is.array(), or generally, how do you say: is `x` a 1d dimensional
>> thing?
>
>
> Can you clarify what you mean by dimensionality sense and specifically 1d
> here?
What do we call a
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
2009 Mar 11
2
dictionary for crackcheck
Hello All,
Can anyone tell me where i can get a "starter" dictionary for crackcheck? i tried googling this but didn't find anything. tia
2006 Jan 30
2
beginner Q: hashtable or dictionary?
Hi,
Is there something like a hashtable or (python)
dictionary in R/Splus?
(If not, is there a reason why it's not needed /
typical way to accomplish the same thing?)
Thank you
2005 Jan 22
1
Collins Master Dictionary (closer yet)
Hey, thanks for all the help,
the
"Desktop"="800x600"
line in the .conf file helped a lot, the elements within the window don't
dissappear anymore. Thanks! :)
Only one little glitch is keeping the program from being useful:
The dictionary doesn't use a standard 'search' field and button as one might
expect, instead, all of the entries for the selected
2014 Oct 21
2
dictionary attack defense
Does dovecot have any dictionary attack defenses yet?
In the past I have had to implement defense from outside dovecot, but
since dovecot is at the front lines and therefore is the first to know
I'm hoping by now there is something we can set. For example, a limit
on access failures per minut/hour/day or some such. If not why not?
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
2006 May 10
3
No "system32" directory. ( to run Merrian-Webster's Collegiate Dictionary )
i just installed wine and want to use the "Merrian-Webster's
Collegiate Dictionary". the installation of this on-line dictionary
seemed okay, but when we went to launch it, it failed and reported
following error:
--------------------
Warning: the specified System directory L"c:\\windows\\system32" is
not accessible.
err:module:import_dll Library MSVCIRT.dll (which is
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
2011 Oct 19
1
using a dictionary in R
Hi all,
Is there a way to create a "dictionary" in R, such that it has <key,value>
pairs?
Something to the effect of:
x=dictionary(c("Hi","Why","water") , c(1,5,4))
x["Why"]=5
In truth I'm looking two categorial variables function.
So that if x=dictionary(c("a","b"),c(5,2))
x val 1 a 5 2 b 2
I want to compute
2005 Feb 09
12
Harvesting and Dictionary attacks
Is there a way to listen on port 25 for repeated dictionary attacks to
harvest email
address and blacklist that Ip with shorewall?
Thanks,
Mike