similar to: for loop with global variables

Displaying 20 results from an estimated 20000 matches similar to: "for loop with global variables"

2006 Oct 26
1
applying order() in a for loop
Hi, with the code below I try to organize sections of a data.frame. The dataframe has 9 data columns. I'd like to order the columns of the data.frame by the sum of the columns' entries. The sections of the columns are identified by "i". The order of the columns is given by the vector "z". Each section of the data.frame is ordered differently. This can be seen when
2003 Dec 17
3
"getent passwd" doesn't list domain users
__________________ Hi all, I've configured samba 3.0 as a domain memeber in NT 4.0 domain. Server has been added to the domain, without any problems, BUT, for three days...., I'm not able to find a way how to use NT domain resourses for this samba server. I can list domain users and groups with "wbinfo" command from but "getent passwd" lists only the local
2011 Aug 04
1
Counting rows given conditional
Hello, I have an input file that contains multiple columns, but the column I'm concerned about looks like: "TR" 5 0 4 1 0 2 0 To count all of the rows in the column I know how to do NROW(x$TR) which gives 7. However, I would also like to count only the number of rows with values >=1 (i.e. not 0). I've tried NROW(x$TR>=1) which did not give the intended output. Do any
2011 Jul 01
1
defining new variable
Hello, I'm new to R and I'm trying to define new quite simple variable but I'm struggling with R syntax (when coming to dates) for a while and still getting <errors> on it. I would be very grateful if someone could help me with this, to be able to move on. I have the following variables: - Transplant.date - Faildate - Death.date The new variable Time should do the
2011 Dec 18
2
Dealing with NAs
Hi I am trying to estimate parameter values with mlogit. I attach a part of my data. My code is x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") summary(mlogit(voittaja ~ Ie-1 , data=x, na.action=na.pass)) But i get Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed Because there is Na
2001 Jul 24
2
segmentation fault
I'm experiencing segmentation faults from time to time that abruptely end my R sesion. In such cases, is there any way to recover the work done? (i.e., is there any temporal file that I could use?) Thanks Agus Dr. Agustin Lobo Instituto de Ciencias de la Tierra (CSIC) Lluis Sole Sabaris s/n 08028 Barcelona SPAIN tel 34 93409 5410 fax 34 93411 0012 alobo at ija.csic.es
2019 Jun 10
1
SAMBA AD VFS:Recycle bad permissions
I had similiar issue on samba 4.8 domain member (new files with wrong permissions), when I realised that You need to list all modules that You wish to use in "vfs objects" every time , there is no inheritance from global -> shares that is if You have e.g. [global] ... vfs object = acl_xattr .. [some share] ... vfs object = recycle .. On samba DC "acl_xattr" is
2023 Jan 06
1
Directly setting unicodePwd - better type of hash?
No, I would (probably) not, but I consider samba better product and with it's open nature more versatile. Anyway, thank you for clarification. ________________________________ Od: samba <samba-bounces at lists.samba.org> za u?ivatele Rowland Penny via samba <samba at lists.samba.org> Odesl?no: ?tvrtek 5. ledna 2023 14:12 Komu: samba at lists.samba.org <samba at
2011 Jul 07
3
coefficients lm of data.frame
Hi, I've a data frame like this: > as.data.frame(cbind(rnorm(1:12),rnorm(1:12))) V1 V2 1 -1.30849402 -0.52094136 2 0.96157302 0.76217871 3 -0.44223351 -1.72630871 4 -0.10432438 -1.04732942 5 -1.38748914 0.95877311 6 -0.63965975 0.65494811 7 -0.24058318 0.19496830 8 -0.11172988 1.01680655 9 0.08065333 0.22168589 10 0.25196536 0.84619914 11
2011 Jun 13
2
log2() and -min() very quick question
I'm looking over good-code a post-doc in my lab wrote and trying to learn how it works. I came across the following: rel.abundance <- as.matrix(read.delim("rel.abundance.csv",row.names=1,as.is =TRUE)) rel.abundance <- log2(rel.abundance-min(rel.abundance)+1) I'm not sure what the second line is doing. I ran each line in R and couldn't see a noticeable difference in
2019 Jun 10
2
SAMBA AD VFS:Recycle bad permissions
On 10/06/2019 08:51, Tom?? Havl?n wrote: > Hello > my smb.conf + working and no working ACL share folders > > [global] > netbios name = FENIX > realm = PFCZ.INTRA > server role = active directory domain controller > workgroup = PFCZ > idmap_ldb:use rfc2307 = yes > dns forwarder = 10.254.254.1 > > unix extensions = no > wide links = yes > follow symlinks =
2010 Nov 09
5
Question regarding to replace <NA>
Dear r-users, Basically, I have a data as follows, > data S s1 s2 s3 s4 s5 prob obs num.strata 1 NNNNN N N N N N 0.0000108 32 <NA> 2 NNNNY N N N N Y 0.0005292 16 <NA> 3 NNNYN N N N Y N 0.0005292 24 <NA> 4 NNNYY N N N Y Y 0.0259308 8 1 .... I want to replace <NA> by 0, when I tried the following
2012 Feb 21
3
Plot Many Data to same plot
Dear all, I have a function that for a variable number of inputs plots them to the same plot I am doing this quite simply by plot(seq(from=start, to=stop, length.out=np), datalist[[1]]$dataset                                                                  xlim=c(start, stop), ylim=c(0, 1), type="l")                                                                                      
2002 Sep 04
2
Samba auto start under red hat 7.2
Hi all, I've recently upgraded to red hat 7.2 and found that samba no longer starts up with the rest of the system. Thanks to another member on this list I know the command to start it manually is /etc/rc.d/init.d/smb start but where do I have to put this command to get it to run at startup with the rest of the services? Thanks
2002 Sep 09
2
User names?
I rebuilt an RHL 7.2 and copied my Samba file(s) back over. Samba is running, and when prompted for my username/password by my Windoze machine it will only work with one username/password. It will not work with any others. What's causing my problem here? Don't shoot the messenger, Rick Reed rreed@budgetext.com
2019 Sep 02
1
non-default GPO from computer part not loaded
Hey Hey Dancers, I have found that all my GPOs from User Configuration are working fine, gpresult shows me all policies loaded, but it shows me, that from Computer Configuration only default domain policy is loaded. And it is true, because If I create a new policy with Computer Confinguration settings, then it is not loaded but If put same settings to default policy, it is loaded fine. How
2023 Jan 05
1
Directly setting unicodePwd - better type of hash?
On 05/01/2023 12:18, Edward Graham via samba wrote: > It works for us without problems. We would like to improve security though, so I'm looking for information whether it's possible to use different hash in samba. No, would you ask this question about Microsoft AD ? Rowland
2010 Oct 31
10
dedicate nic to drbd in domU
Hi, i wont separate drbd traffic in domU to eth1 interface. What is the best way to do that? I think about make eth1 nic passthrough to my domU. Can i expect some problems with this configuration? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2023 Jan 05
1
Directly setting unicodePwd - better type of hash?
On 05/01/2023 10:13, Edward Graham via samba wrote: > Hi, > > we sync our password from other system by directly setting unicodePwd in samba database file. We would like to drop the insecure hash stored in other system and replace it with something newer and more robust. > > Documentation on page
2019 Jun 06
2
SAMBA AD VFS:Recycle bad permissions
Hello dancers, I upgraded SAMBA to version 4.9 in three little companies. Then we have found an error with permissions, on shared discs where is VFS:recycle enabled, new created folders seem to be ok, but new files are writable only from owner. Getfacl gets back mask r-- so effective rights are changed. Shared discs without VFS:recycle work fine, and if I disable VFS:recycle on shared