Displaying 20 results from an estimated 10000 matches similar to: "getting attributes of list without the "names"."
2024 Mar 25
1
NT_STATUS_INVALID_SID error
On Mon, 25 Mar 2024 07:39:21 +0100
Kai via samba <samba at lists.samba.org> wrote:
> Hello everyone,
>
> I have a Samba setup with an AD controller (DC01) and set up a second
> system which should work as file share (filesrv01).
> I was setting it up using this manual:
> https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs
>
> Somehow, I broke
2024 Mar 25
1
NT_STATUS_INVALID_SID error
Hello everyone,
I have a Samba setup with an AD controller (DC01) and set up a second
system which should work as file share (filesrv01).
I was setting it up using this manual:
https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs
Somehow, I broke the administrator's account. After I set up a test
share, I got RPC server unavailable errors. I started investigating and
2016 Oct 12
2
How to assign NULL value to pairlist element while keeping it a pairlist?
Thanks, this was what I expected. There is a desire to eliminate the
usage of pairlist from user code, which suggests the alternative of
allowing for function arguments to be stored in lists. That's a much
deeper change though.
On Wed, Oct 12, 2016 at 12:31 PM, Henrik Bengtsson
<henrik.bengtsson at gmail.com> wrote:
> Michael, thanks for this info.
>
> I've stumbled upon
2011 Apr 14
1
Possible bug in 'relist()' and/or 'as.relistable()'
Dear list,
I think I just stumbled across a bug in either 'relist()' and/or
'as.relistable()'. It seems that 'pairlists' can only be un- and relisted as
long as they're not nested:
Good:
a <- as.relistable(as.pairlist(list(a=1, b=2)))
a <- unlist(a)
relist(a)# Works
Bad:
a <- as.relistable(as.pairlist(list(a=1, b=2, c=list(c.1=1, c.2=2))))
a <- unlist(a)
2016 Oct 19
2
How to assign NULL value to pairlist element while keeping it a pairlist?
On Sat, Oct 15, 2016 at 2:00 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
>>>>>> Michael Lawrence <lawrence.michael at gene.com>
>>>>>> on Wed, 12 Oct 2016 15:21:13 -0700 writes:
>
> > Thanks, this was what I expected. There is a desire to
> > eliminate the usage of pairlist from user code, which
> >
2016 Oct 12
2
How to assign NULL value to pairlist element while keeping it a pairlist?
Hi Henrik,
It would help to understand your use case for pairlists.
Thanks,
Michael
On Wed, Oct 12, 2016 at 9:40 AM, Michael Lawrence <michafla at gene.com> wrote:
> The coercion is probably the most viable workaround for now, as it's
> consistent with what happens internally for calls. All pairlists/calls
> are converted to list for subassignment, but only calls are
2016 Oct 12
2
How to assign NULL value to pairlist element while keeping it a pairlist?
Hi, I seem to not be able to assign NULL to an element of a pairlist
without causing it to be coerced to a plain list. For example:
> x <- pairlist(1, 2)
> class(x)
[1] "pairlist"
> x[1] <- list(NULL)
> class(x)
[1] "list"
This actually true for all [()<- assignments regardless of list value, e.g.
> x <- pairlist(1, 2)
> x[1] <- list(0)
[1]
2003 Feb 14
1
pairlists (was: data manipulation function descriptions)
> -----Original Message-----
> From: Luke Tierney [mailto:luke at stat.uiowa.edu]
> R does not provide a pairlist data structure. This creates a dilemma
> when translating some list-based xlispstat code, or, more
> importantly, when implementing an algorithm for which parilists are
> the natural data structure to use.
> ...
> Pairlists were and still are used internally
2012 Jul 26
3
rep fails on pairlist
This code which has worked for years in R but fails under R-devel:
> R.version.string
[1] "R Under development (unstable) (2012-07-25 r59963)"
>
> n <- 3
> f <- function(x) {}
> formals(f) <- rep(formals(f), n) ##
Error in rep(formals(f), n) : replication of pairlists is defunct
The message suggests that the change was intentional.
Why was this functionality
2007 Oct 02
2
pairlist objects
Hi,
?pairlist gives no explanation about what exactly is the difference
between a pairlist and a list (except that a pairlist of length 0
is 'NULL'). So, what's a pairlist?
class(.Options)
[1] "pairlist"
Some strange things about the "pairlist" type:
> showClass("pairlist")
Error in getClass(Class) : "pairlist" is not a defined class
2009 Mar 20
2
struggling with pairlists
I would like to create a vector of pairlist (flag, binary_value) like:
(variable ="TrendOff", value = 0)
(variable ="MOdwt", value = 1)
(variable ? "ZeroPadding", value =1)
................................................
I tried the following syntax but the emcompassing list (that I called "flags") is not made up of pairlists. Instead it
2020 Mar 17
3
new bquote feature splice does not address a common LISP @ use case?
Dear R-devel,
There is a new feature in R-devel, which explicitly refers to LISP @
operator for splicing.
> The backquote function bquote() has a new argument splice to enable splicing a computed list of values into an expression, like ,@ in LISP's backquote.
Although the most upvoted SO question asking for exactly LISP's @
functionality in R doesn't seems to be addressed by this
2009 Feb 22
2
Semantics of sequences in R
Inspired by the exchange between Rolf Turner and Wacek Kusnierczyk, I
thought I'd clear up for myself the exact relationship among the
various sequence concepts in R, including not only generic vectors
(lists) and atomic vectors, but also pairlists, factor sequences,
date/time sequences, and difftime sequences.
I tabulated type of sequence vs. property to see if I could make sense
of all
2009 Feb 22
2
Semantics of sequences in R
Inspired by the exchange between Rolf Turner and Wacek Kusnierczyk, I
thought I'd clear up for myself the exact relationship among the
various sequence concepts in R, including not only generic vectors
(lists) and atomic vectors, but also pairlists, factor sequences,
date/time sequences, and difftime sequences.
I tabulated type of sequence vs. property to see if I could make sense
of all
2024 Jul 05
2
API for converting LANGSXP to LISTSXP?
Hi,
A common idiom in the R sources is to convert objects between LANGSXP
and LISTSXP by using SET_TYPEOF. However, this is soon going to be
disallowed in packages. From what I can see, there isn't currently a
direct way to convert between these two object types using the
available API. At the R level, one can convert calls to pairlists
with:
>
2005 Mar 16
1
working with pairlists imported from HDF5, converting to data frames?
I've used the HDF5 library to bring some data into R. THe verbose output
looks like this:
>
hdf5load("hdfGraphWed_Mar_16_13_33_37_2005.hdf",load=T,verbosity=1,tidy=T)
Processing object: cprSeats ...... which is a Group
Processing object: Seats 0 ...... its a dataset......Finished dataset
Processing object: Seats 1 ...... its a dataset......Finished dataset
Processing object:
2009 Mar 23
2
dput(as.list(function...)...) bug
Tested in R 2.8.1 Windows
> ff <- formals(function(x)1)
> ff1 <- as.list(function(x)1)[1]
# ff1 acts the same as ff in the examples below, but is a list rather
than a pairlist
> dput( ff , control=c("warnIncomplete"))
list(x = )
This string is not parsable, but dput does not give a warning as specified.
> dput( ff ,
2007 Jul 15
1
Pairlist of pairlsit assembly howto
Hy guys,
I'm trying something like this
minbins <- list()
for (minute in sequence(3)) {
minbins[minute] <- list(data="a",variable="b")
}
And it doesn't work ...
Warning messages:
1: number of items to replace is not a multiple of replacement length in:
minbins[minute] <- list(data = "a", variable = "b")
2: number of items to
2005 Oct 14
1
question about ?list
the help page says:
'is.list' returns 'TRUE' iff its argument is a 'list' _or_ a
'pairlist' of 'length' > 0, whereas 'is.pairlist' only returns
'TRUE' in the latter case.
does the "latter case" mean a 'pairlist' of 'length' > 0?
but
> is.pairlist(pairlist())
[1] TRUE
> length(pairlist())
2008 Dec 08
4
R and Scheme
I've read in many places that R semantics are based on Scheme semantics. As
a long-time Lisp user and implementor, I've tried to make this more precise,
and this is what I've found so far. I've excluded trivial things that
aren't basic semantic issues: support for arbitrary-precision integers;
subscripting; general style; etc. I would appreciate corrections or
additions from