Displaying 20 results from an estimated 800 matches similar to: "5 non-answered questions."
2010 May 25
1
using the name of an argument in a function
Hi all,
In a function, I need to get the name of a variable that has been used to
call the function.
For example, I want:
--- 8< ------
toto <- 3
fun <- function(y){
nameOfY <-deparse(substitute(y))
cat("name is ",nameOfY)
}
fun(toto)
# [1] name is toto
--- 8< ----
But deparse(substitute(y)) does not work all the time, especially when we
use generic function.
2020 Oct 02
1
adding sAMAccountType to an user
Hi all,
having by mistake deleting some of my users, i have allmost raise them
from dead by doing
ldbrename -H /var/lib/samba/private/sam.ldb CN=titi
toto\0ADEL:63c1e1b1-09ea-4fd7-8a95-c68a82fd92a2,CN=Deleted
Objects,DC=local,DC=domain,DC=fr "CN=titi
toto,OU=here-here,DC=ietr,DC=univ-rennes1,DC=fr"
and adding the missing property by using an old ldb backup.
BUT
some property are
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
really, this getent with grep should not return anyting.
because : 700001 is not 70001 ;-)
>getent group | grep 700001 gives :
>domain users:x:70001:
>info:x:70001:toto,titi,tutu
exist both groups only in the AD DC directory, or are ther also linux groups here.
are both assigned a GID how?
Greetz,
Louis
>-----Oorspronkelijk bericht-----
>Van: h.henoch at isc84.org
2006 Mar 07
2
Building tkentry dynamicly
Dear R-users,
I would like to build N "tkentry" compounds in the same window, with
default text for each. As N is variable I need to construct them in an
iterative way :
library(tcltk)
main<-tktoplevel()
tktitle(main)<-"My Tool"
filenames<-c("toto","tata","titi")
N<-length(filenames)
for (i in 1: N) {
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
I know that ID. I had this 70001 too sometime. It was a cache problem. Try "net cache flush" and after this getent once more.
This should work.
Regards
Tim
Am 25. Februar 2015 09:45:40 MEZ, schrieb "Herv? H?noch" <h.henoch at isc84.org>:
>Both groups are Samba groups
>
>wbinfo --group-info gives for each group :
>GID of domain users is 513
>GID of info is
2006 Nov 03
1
man page for as.matrix for data frames outdated?
Hi again,
The man page for 'as.matrix' says:
'as.matrix' is a generic function. The method for data frames will
convert any non-numeric/complex column into a character vector
using 'format' and so return a character matrix, except that
all-logical data frames will be coerced to a logical matrix.
It's true that "all-logical data frames will
2008 Aug 07
1
package.skeleton does invalide regular name, bis... (PR#12020)
Hi the list,
I guess I find an other bug (the first one is at the end off this mail)
in package.skeleton. It occurs when we give as code_file some file that
are not in the current directories.
If we give a single file to code_file (like code_file=3D"riri/fifi.R"),
it does not reconize fifi.R as a regular name and change it to
riri/zfifi.R
If we give several file to code_file (like
2009 Apr 06
3
how to subsample all possible combinations of n species taken 1:n at a time?
Hello
I apologise for the length of this entry but please bear with me.
In short:
I need a way of subsampling communities from all possible communities of n
taxa taken 1:n at a time without having to calculate all possible
combinations (because this gives me a memory error - using
combn() or expand.grid() at least). Does anyone know of a function? Or can
you help me edit the
combn
or
2010 Oct 08
2
vfs_acl_xattr issue
Hello,
I'm using samba 3.4.8~dfsg-2 with "vfs objects = acl_xattr".
[share]
path = /home/users/xxxx
valid users = xxxx
read only = No
create mask = 0666
directory mask = 0770
vfs objects = acl_xattr
Here is my problem, i'm connecting to my share, which have a folder
'f01' with some acl.
I created a folder and broke inherit 'f02'.
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
Here is my smb.conf (on member domain) :
idmap config * : backend = tdb
idmap config * : range = 2000-9999
idmap config * : schema_mode = rfc2307
idmap config DOMAIN : backend = ad
idmap config DOMAIN : schema-_mode = rfc2307
idmap config DOMAIN : range = 10000-999999
winbind nss info = rfc2307
winbind trusted domains only = no
winbind use default domain = yes
winbind enum users = yes
winbind
2010 May 31
5
ActiveRecord model relationship with YAML file
Hi,
I have an ActiveRecord model Group and a YAML table stored in
config/users.yaml just like:
- {login: titi, password: 123456, group_id: 2}
- {login: toto, password: 987654, group_id: 7}
And I would like to link them by a sexy way. Can you help me?
I would be happy if I can do this (as example): User.first.group.id # =>
2
Many thanks for any help!
--
Posted via
2008 Jul 30
1
model mix problem. FALSE CONVERGENCE
Hi R users
I try to use the lme but I can?t!!!!!
My script is (some words in french, sorry!!):
rm(list=ls(all=TRUE)) #Efface tous les objets en m?moire pour ?viter des
erreurs
library(MASS) #Chargement des Librairies
library(car)
library(Hmisc)
library(tkWidgets)
library(svDialogs)
library(multtest)
library(nlme)
#Rep <- "C:/Documents and Settings/U3M/Bureau/steph/Scripts
2008 Feb 06
1
How to have a Default Profile per group ?
Hello,
My main question is :
? Is it possible to have a dedicated Default Profile per group ? ?
The idea is to have a specified and prepared default profile for each
groups we have. For the time being we've already had a "Default User/"
directory in our netlogon directory which delivers a single and only
fresh default profile. It's the same profile for everyone even if
2018 May 16
2
Dispatch mechanism seems to alter object before calling method on it
On 05/16/2018 10:22 AM, Michael Lawrence wrote:
> Factors and data.frames are not structures, because they must have a
> class attribute. Just call them "objects". They are higher level than
> structures, which in practice just shape data without adding a lot of
> semantics. Compare getClass("matrix") and getClass("factor").
>
> I agree that
2024 Feb 06
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
Here's a dummy example that I think illustrates the problem:
toto <- function() {
if (runif(1) < 0.5)
function(a) a
else
function(a,b) a+b
}
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
Error in fcn(1, 2) : unused argument (2)
How can you use the returned function, if you get different arguments?
2018 May 16
2
Dispatch mechanism seems to alter object before calling method on it
On 05/15/2018 09:13 PM, Michael Lawrence wrote:
> My understanding is that array (or any other structure) does not
> "simply" inherit from vector, because structures are not vectors in
> the strictest sense. Basically, once a vector gains attributes, it is
> a structure, not a vector. The methods package accommodates this by
> defining an "is" relationship
2024 Feb 07
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
I put the idea below into a function that gives nicer looking results.
Here's the new code:
dupnames <- function(path = ".") {
Rfiles <- pkgload:::find_code(path)
allnames <- data.frame(names=character(), filename=character(), line
= numeric())
result <- NULL
for (f in Rfiles) {
exprs <- parse(f, keep.source = TRUE)
locs <-
2015 Feb 24
4
getent passwd not return the same number of records from a call to another call
Hello
On AD Server :
--------------------
We have migrated from S3 to S4 with samba-tools classicupgrade. All is
ok : bind9, winbind but getent has a strange behavior.
getent passwd doesn't return the same number of records. So a AD user
can be not present in the response of getent !!!!
it can have a big difference of records returned from a call to another
call of getent passwd ...
On
2018 May 16
1
Dispatch mechanism seems to alter object before calling method on it
On 05/16/2018 01:24 PM, Michael Lawrence wrote:
> On Wed, May 16, 2018 at 12:23 PM, Herv? Pag?s <hpages at fredhutch.org> wrote:
>> On 05/16/2018 10:22 AM, Michael Lawrence wrote:
>>>
>>> Factors and data.frames are not structures, because they must have a
>>> class attribute. Just call them "objects". They are higher level than
>>>
2015 Feb 25
0
getent passwd not return the same number of records from a call to another call
Both groups are Samba groups
wbinfo --group-info gives for each group :
GID of domain users is 513
GID of info is 3000023
Why if I change the range I always see the same GID with winbind on the
member (example : 700001) ?
Le 25/02/2015 09:32, L.P.H. van Belle a ?crit :
> really, this getent with grep should not return anyting.
>
> because : 700001 is not 70001 ;-)
>
>>