Displaying 20 results from an estimated 46 matches for "titi".
Did you mean:
tii
2010 May 25
1
using the name of an argument in a function
...nameOfY <-deparse(substitute(y))
cat("name is ",nameOfY)
}
)
toto <- 4
fun(toto)
# name is toto
setMethod("fun","character",
definition = function(y,x,...){
nameOfY <-deparse(substitute(y))
cat("name is ",nameOfY)
}
)
titi <- "aze"
fun(titi)
# name is y
--- 8< ----
So is there a way to get the name of the variable "toto" or "titi" in a way
that work in all cases?
Christophe
--
View this message in context: http://r.789695.n4.nabble.com/using-the-name-of-an-argument-in-a-functi...
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 still missing cause ldbedit don't want me to add...
2006 Mar 01
9
ajax doesn''t show at the right place
...<a href="#" onclick="new
Ajax.Updater(''zone1'',
''/atlasmain/updateTissueAndTreatment'',
{asynchronous:true, evalScripts:true}); return
false;">Reset All</a></td></tr>
<tr>
<div id="zone1">
<td>titi</td>
<td>tata</td>
</div>
</tr>
</table>
Thanks you very much
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2006 Mar 07
2
Building tkentry dynamicly
...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) {
text<-tclVar(filenames[i]) # get a filename (string value)
textField<-tkentry(main,textvariable=text) # build a text field
tkgrid(textField)
}
The problem is : How to keep references for each tclVar created, in order
to a...
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 [mailto:samba-bounces at lists.samba.org]
>Namens Herv? H?noch
>Verzonden: woensdag 2...
2018 May 16
2
Dispatch mechanism seems to alter object before calling method on it
...is very much by design.
It seems that the problem is really with matrices and arrays, not
with "structures" in general:
f <- factor(c("z", "x", "z"), levels=letters)
m <- matrix(1:12, ncol=3)
df <- data.frame(f=f)
x <- structure(1:3, titi="A")
Only the matrix looses its attributes when passed to a "vector"
method:
setGeneric("foo", function(x) standardGeneric("foo"))
setMethod("foo", "vector", identity)
foo(f) # attributes are preserved
# [1] z x z
# L...
2018 May 16
2
Dispatch mechanism seems to alter object before calling method on it
...f R itself, but I'm not sure it's worth
> doing anything about them at this point.
Thanks for the informative discussion. It still doesn't explain
why 'm' gets its attributes stripped and 'x' does not though:
m <- matrix(1:12, ncol=3)
x <- structure(1:3, titi="A")
setGeneric("foo", function(x) standardGeneric("foo"))
setMethod("foo", "vector", identity)
foo(m)
# [1] 1 2 3 4 5 6 7 8 9 10 11 12
foo(x)
# [1] 1 2 3
# attr(,"titi")
# [1] "A"
If I unders...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
...>
>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 ;-)
>>
>>> 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 [mailt...
2008 Aug 07
1
package.skeleton does invalide regular name, bis... (PR#12020)
...ive 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
code_file=3Dc("riri/titi.R","riri/loulou.R")), it does not reconize
titi.R as a regular name, change it to toto/ztiti.R and we get an error
on riri/loulou.R
Christophe
--- 8< ---------------------
> package.skeleton(name=3D"miniKml",code_files=3Dc("miniKml/R/global.R","mi=...
2006 Nov 03
1
man page for as.matrix for data frames outdated?
...rLogicals, d=fourComplexes, b=fourInts,
c=fourDoubles)
> storage.mode(as.matrix(df4))
[1] "complex"
If one column is of mode character, then 'as.matrix' will effectively
return a character matrix:
> df5 <- data.frame(toto=c("a","bb"), titi=c(9,999))
> storage.mode(as.matrix(df5))
[1] "character"
Note that the doc says that "any non-numeric/complex column" will
be passed thru 'format' which seems to be exactly the other way
around:
> as.matrix(df5)
toto titi
1 "a" &q...
2002 Jul 16
2
5 non-answered questions.
...file server on linux+samba
(Mandrake8.2+samba2.2.3a).
It works almost fine but here are some question asked by some users I can't
answer, after reading the manuals, the FAQs...and reading this list for a
while :
1. Why can't NT clients do several levels mkdir ?
I mean doing a mkdir toto/titi would create first a toto directory and then
a titi directory inside. It works with an NT/2000/Netware file server but
not with samba.
We can do it with Win2k client workstations, but not with NT.
Stange, hu ?
2. With NT clients again, we get some strange results when using the right
click, sen...
2009 Apr 06
3
how to subsample all possible combinations of n species taken 1:n at a time?
...is good enough for the further analyses I wish to do.
My problem lies in sampling all possible combos without having to calculate
all possible combos. I have tried two methods but both give memory errors at
about 25 taxa.
The expand.grid() method:
n <- 11
toto <- vector("list",n)
titi <- lapply(toto,function(x) c(0,1))
tutu <- expand.grid(titi)
The combn() method (a slightly lengthlier function):
samplecommunityD<- function(n,numsamples)
{
super<-mat.or.vec(,n)
for (numspploop in 1:n)
{
minor<-t(combn(n,numspploop))
if (dim(minor)[1]<numsamples)
{
m...
2018 May 16
1
Dispatch mechanism seems to alter object before calling method on it
...ything about them at this point.
>>
>>
>> Thanks for the informative discussion. It still doesn't explain
>> why 'm' gets its attributes stripped and 'x' does not though:
>>
>> m <- matrix(1:12, ncol=3)
>> x <- structure(1:3, titi="A")
>>
>> setGeneric("foo", function(x) standardGeneric("foo"))
>> setMethod("foo", "vector", identity)
>>
>> foo(m)
>> # [1] 1 2 3 4 5 6 7 8 9 10 11 12
>>
>> foo(x)
>>...
2018 May 16
0
Dispatch mechanism seems to alter object before calling method on it
...'s worth
>> doing anything about them at this point.
>
>
> Thanks for the informative discussion. It still doesn't explain
> why 'm' gets its attributes stripped and 'x' does not though:
>
> m <- matrix(1:12, ncol=3)
> x <- structure(1:3, titi="A")
>
> setGeneric("foo", function(x) standardGeneric("foo"))
> setMethod("foo", "vector", identity)
>
> foo(m)
> # [1] 1 2 3 4 5 6 7 8 9 10 11 12
>
> foo(x)
> # [1] 1 2 3
> # attr(,"titi&qu...
2015 Feb 25
2
getent passwd not return the same number of records from a call to another call
...2307
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 enum groups = yes
winbind refresh tickets = yes
getent group | grep 700001 gives :
domain users:x:70001:
info:x:70001:toto,titi,tutu
Same group id !!!
Le 24/02/2015 21:34, Tim a ?crit :
> Hello Herv?,
>
> what's your way of resolution? Are you using winbind, sssd,...?
>
> Regards
> Tim
>
> Am 24. Februar 2015 20:53:15 MEZ, schrieb "Herv? H?noch"
> <h.henoch at isc84.org>:...
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 http://www.ruby-forum.com/.
--...
2008 Oct 23
4
flatout2 multiplayer -- cedega yes / wine no
Is there any chance that wine will run flatout2 in multiplayer mode?
If I start multiplayer, it simply hangs.....
But I'm told that flatout2 multiplayer runs fine in cedega ?
Anyone knows a solution for wine?
( Singleplayer flatout 2 runs perfect in wine.)
2010 Oct 08
2
vfs_acl_xattr issue
...Now if i create a folder in 'f02' without change it (so it's called "New
folder", the checkbox "inherit acl" is checked). If i rename "New
folder" as "something" the checkbox "inherit acl" is becoming unchecked.
F01 => tutu,toto,titi (inherited checked)
\_F02 => tutu,toto (inherited unchecked)
\_New folder => tutu,toto (inherited checked)
\_something => tutu,toto (inherited unchecked)
Can you help me?
thanks
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
2015 Feb 25
0
getent passwd not return the same number of records from a call to another call
...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 ;-)
>
>> 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 [mailto:samba-bounces at lists.samba.org]
>>...