Displaying 20 results from an estimated 5157 matches for "fred's".
2007 Nov 07
1
Aggregate with non-scalar function
R-Helpers,
I'm sorry to have to ask this -- I've not used R very much in the last
8 or 10 months, and I've gotten rusty.
I have the following (ff2 is a subset of a much, much larger dataset):
> ff2
hostName user sys idle obsTime
10142 fred 0.4 0.5 98.0 2007-11-01 02:02:18
16886 barney 0.5 0.2 94.6 2007-10-25 19:12:12
8795 fred 0.0 0.1 99.8 2007-10-30 05:08:22
5261 fred 0.1 0.2 99.7 2007-10-25 07:20:32
12427 barney 0.1 0.2 93.2 2007-10-19 14:34:10
18067 barney 0.1 0.2 99.4 2007-10-27 10:34:08
973 fred 0.0...
2001 Feb 19
4
self documenting workspaces, and the proper role of the dot
...a bit kludgy. For
a function I don't see any way of using names(), but I guess I could
be disciplined about this and have every function that is specific to the
workspace return some descriptive string.
One possibility that occurred to me is to have some 'documentation'
objects
eg fred.doc<-"this is function fred and it does whatever"
and write a function to list these (or the names of scalars) ..I suppose
that is OK , if a little inelegant.
So this is less of a technical question than a housekeeping/procedural one
.. if someone has a nice solution or if there a...
2002 Nov 15
5
confidence interval in "predict.lm"
I am studying statistics using R and a book "Understandable Statistics", by
Brase and Brase. The book has two
worked examples for calculating a confidence interval around a predicted
value from a linear model. The answers
to the two examples in the book differ from those I get from R. The
regression line, the standard error, and the
predicted value in
R and the book all agree for the
2017 Aug 31
3
file server: %U or %u?
On Thu, 31 Aug 2017 16:27:12 +0200
mathias dufresne <infractory at gmail.com> wrote:
> PS: the short way to explain %u is adding domain/workgroup to
> username is the fact we are using trust relationship?
>
Probably, what you have to get your head around is this:
The users 'fred', 'DOMAINA\fred' and 'DOMAINB\fred' are all different
users. Winbind will report them as such.
I will leave you to work something out from that ;-)
Rowland
2010 Sep 22
2
efficient list indexing
Hello everyone,
I need some help with lists inside lists (a good way to emulate a struct)\
Assume that there is a small list called fred:
fred <- list(happy = 1:10, name = "squash")
and a big list called bigfred that includes fred list 5 times
bigfred <- rep(fred,5)
Is it possible somehow to index all these sublists(fred) inside bigfred with a
more direct way like this:
bigfred[1] shows the first sublist fred
big...
2002 Feb 26
5
winbind problem with existing linux user accounts. (S amba 2.2.3a)
...winbind problem with existing linux user accounts.
(Samba 2.2.3a)
Mathews:
In your smb.conf you have to put somewhere whats uids winbind can take off.
[global]
winbind uid = 10000-20000
winbind gid = 10000-20000
this maps each ad or pdc account to a valid unix id.
this means that the user "fred" you are mentioning have already a uid in the
linux+winbind box.
but if you already have a "fred" account in the linux box and a "fred"
account in the ad or pdc and winbind is running the results is a unix
account and ad or pdc account that ar equal in name "fred"...
2020 Jun 15
2
Samba as a domain member:
...20 18:02, Christopher Cox via samba wrote:
>> Actually, as far as a base statement, you can have both,
>
> You cannot have the same user in /etc/passwd and AD, though if you persevere
> enough you probably could create them in both databases.
>
> Lets take a user called 'fred':
>
> rowland at devstation:~/tests$ cat /etc/passwd | grep 'fred'
>
> Which on 'devstation' produces no output, so the user isn't in /etc/passwd, but:
>
> rowland at devstation:~/tests$ getent passwd fred
>
> Produces this:
>
> fred:*:1000...
2015 Jun 25
1
Winbindd Strangeness
...gt;>> winbind use default domain = yes
>>> winbind enum users = yes
>>> winbind enum groups = yes
>>> winbind refresh tickets = Yes
>>>
>>>
>>>
>>> Existing Account:
>>> getent passwd fred
>>>
>>> fred:*:4999:30000000:Fred Nerks:/home/fred:/bin/tcsh
>>>
>>> New Account:
>>>
>>> fred1:*:30000002:30000000:Fred Nerks:/home/fred1:/bin/tcsh
>>>
>>> Fred1 was set up with --uid-number='5004'
>...
2015 Jun 29
1
Winbindd Strangeness
...;>> winbind enum users = yes
>>>> winbind enum groups = yes
>>>> winbind refresh tickets = Yes
>>>>
>>>>
>>>>
>>>> Existing Account:
>>>> getent passwd fred
>>>>
>>>> fred:*:4999:30000000:Fred Nerks:/home/fred:/bin/tcsh
>>>>
>>>> New Account:
>>>>
>>>> fred1:*:30000002:30000000:Fred Nerks:/home/fred1:/bin/tcsh
>>>>
>>>> Fr...
2020 Jun 15
3
Samba as a domain member:
On 6/15/20 11:29 AM, Rowland penny via samba wrote:
... snippity
> You also have 'unix password sync = Yes', you should remove this, you cannot
> have users in /etc/passwd and AD.
Actually, as far as a base statement, you can have both, that is, the idea of a
username in Windows AD and the same username in /etc/passwd. The namespaces are
not cojoined. However, that doesn't
2009 Mar 02
3
Error setting rowname if rowname currently NULL
...,
My first post here and new to R so please bear with me (long time programmer
though, helping a friend with some scripts).
I've noticed a behaviour when using rownames() that I think is odd,
wondering if I'm doing something wrong.
To illustrate, say I create a very simple matrix (called fred):
fred<-matrix(,4,2)
It looks like this:
[,1] [,2]
[1,] NA NA
[2,] NA NA
[3,] NA NA
[4,] NA NA
If I now try and set a row name for one of the rows (say the first row) to
"APPLE", by doing this:
rownames(fred)[1] <- "APPLE"
I get an error:
Error...
2015 Jun 02
2
Forward loop protection...
>> The loop checking is a bit more challenging than that. If Bob
>> forwards to Fred and Fred forwards to Sue, all is well when Bob and
>> Fred head out for a beer. A little later, we?re in deep doo-do0 when
>> Sue forwards to Bob.
> Could this possibly mean that any person who has CF set should never
> be available as CF Destination. Simple db entry/check can...
2015 Apr 23
3
RFC2307 attributes not being read by DC2 in 4.2.1
...wbinfo -n fsmith
S-1-5-21-1273750850-484487853-1026460749-1120 SID_USER (1)
wbinfo -S S-1-5-21-1273750850-484487853-1026460749-1120
1000006
ldbsearch
sudo ldbsearch -H '/usr/local/samba/private/sam.ldb' -b
'DC=samdom,DC=example,DC=org' -s sub
'(&(objectCategory=Person)(CN=Fred Smith))'
# record 1
dn: CN=Fred Smith,CN=Users,DC=samdom,DC=example,DC=org
cn: Fred Smith
sn: Smith
givenName: Fred
instanceType: 4
whenCreated: 20150422234928.0Z
displayName: Fred Smith
uSNCreated: 4558
name: Fred Smith
objectGUID: 7b49274a-9ac9-48bd-9af7-e51e8ea17c9a
badPwdCount: 0
codePage:...
2000 Jun 20
1
exists() and the mode argument (PR#576)
The following seems to be odd behaviour:
fred <- 1:10
mode(fred) # "numeric"
exists("fred") # TRUE
exists("fred", mode="numeric") # FALSE
Unless I have misunderstood, the final evaluation should be TRUE,
as an object called "fred" exists and its mode is "numeric". In
the same cat...
2015 Jul 02
0
Winbindd Strangeness [Solved]
...fresh tickets = Yes
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>>
>>>>>> >>>>> Existing Account:
>>>>>> >>>>> getent passwd fred
>>>>>> >>>>>
>>>>>> >>>>> fred:*:4999:30000000:Fred Nerks:/home/fred:/bin/tcsh
>>>>>> >>>>>
>>>>>> >>>>> New Account:
>>>>>> >&g...
2010 Apr 15
4
Limit number of connections per user?
I'm working from modified 5.0p1 codebase.
What I'm looking for is a mechanism to limit the number of simultaneous
connections on a per-user/IP basis.
That is, disallow multiple simultaneous logins/authentication of the
same user from different IP addresses.
e.g.:
fred from 10.1.1.1 - accept
fred from 10.1.1.2 -- reject while fred is still connected from 10.1.1.1
fred from 10.1.1.1 - OK (same IP)
--- all freds log out
fred from 10.1.1.2 -- OK (fred not logged in)
Is this doable, or not? I realize that the sshd architecture may make
this difficult or impossible....
2015 Jul 02
2
Getent Differences on a DC and a Member Server
...nd refresh tickets = Yes
On the DC I've changed winbind to winbindd in the "server services"
line, and winbindd starts up as expected.
Can anyone tell me why I get slightly different answers from 'getent
passwd [username]' from a DC and a Member Server.
eg: getent passwd fred
DC:
fred:*:4999:1001:Fred Nerks:/home/AD/fred:/bin/false
On a Member Server:
fred:*:4999:1001:Fred Nerks:/home/fred:/bin/tcsh
On the DC the HomeDirectory and Shell Fields are not what I defined for
user Fred.
On the Member Server, Homedirectory and Shell are what I defined for
user Fred....
2007 Mar 26
1
data-frame adding/deleting column
Hallo,
I have got an existing data frame and want to add a new column. The
existing data frame was created like this:
> df <- rbind( c("Fred", "Mary", 4), c("Fred", "Mary", 7),
+ c("Fred", "Mary", 9), c("Barney", "Liz", 3),
+ c("Barney", "Liz", 5) )
> df <- data.frame(df)
> colnames(df) <- c("Fath...
2001 Apr 30
1
Segmentation fault linked to memory? (PR#929)
Hi Everyone,
The following rather extreme claim on memory causes a
segmentation fault on my installation:
fred <- matrix(1:1200, 20, 60)
littleOP <- function(x, y)
{
z <- as.vector(x) %*% t(as.vector(y))
dim(z) <- c(dim(x), dim(y))
z
}
littleOP(fred, fred) # this is OK
littleOP(littleOP(fred, fred), fred) # whoops! Segmentation fault
What's a bit strange is that if I...
2005 Aug 18
2
A. Mani : Avoiding loops
Hello,
I want to avoid loops in the following situation. There is a 5-col
dataframe with col headers alone. two of the columns are non-numeric. The
problem is to calculate statistics(scores) for each element of one column.
The functions depend on matching in the other non-numeric column.
A B C E F
1 2 X Y 1
2 3 G L 1
3 1 G L 5
and so on ...30000+ entries.
I need scores