similar to: How to split a matrix into a few matrices?

Displaying 18 results from an estimated 18 matches similar to: "How to split a matrix into a few matrices?"

2010 Feb 01
1
How to repeat "for" function?
Dear Users, I have one problem here, I tried many time and even read a few notes on writing function but still..... Can anyone help me on how to simplify Part B (please refer the programming below), so that I don't have to repeat the calculation of "num" and "r" ? Thank you very much..every help is very much appreciated... ## Part A n=1400 m=matrix(c(0,0,0,0),4,1)
2015 Nov 17
3
firewalld being stupid
Nick Bright wrote: > On 11/17/2015 8:18 AM, James B. Byrne wrote: >> This behaviour is congruent with SELinux. One utility adjusts the >> permanent configuration, the one that will be applied at startup. >> Another changes the current running environment without altering the >> startup config. From a sysadmin point of view this is desirable since >> changes to a
2005 Jan 25
6
Changing booted Kernel with grub
Hi, I have updated the kernel to 2.4.21-27.0.2 on Centos 3.4 (was 3.3 when I did the kernel update) and have modified grub.conf to use the single CPU kernel: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. #
1999 Aug 23
2
how to change samba (smbpasswd) via web browser...
hi all, I am looking for a program or cgi script which can be used to change the smbpasswd via web browser. Anyone done this already ?. Any pointers will he appreciated much. Thanks rakesh -------------------------------------------------------------------- Rakesh Jain Systems Administrator, MIS Dept BEA Systems, Inc. voice: +1-972-943-5135 4965, Preston Park Blvd fax:
2012 Jan 28
1
fatal error unable to restore data
Dear R help team, I am trying to open R 2.13.0 to continue my analysis but it doesn't want to open and I get this message "fatal error unable to restore saved data in .rdata". I don't know what went wrong ( iam using Windows 7). Could you please help me on this? Thanks a lot Putri -Indonesia- [[alternative HTML version deleted]]
1999 Aug 23
1
NT4SP5 Encryption and mksmbpasswd
Hi all, Reading through ENCRYPTION.txt it says to do the following: cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd However, on my Samba-2.05a install (onto RH 6.0), /usr/local/samba doesn't exist. Instead, all the files listed in ENCRYPTION.txt and WinNT.txt are in the /usr/bin directory. Amongst other things, this means I can't set the recommended security
1999 Aug 24
1
Totalnet
We have used the Syntax TotalaNET product (TAS) for some years. This provides similar funtionality to Samba. However the current version (5.2) does not support Win98 and the upgrade cost is very high. In looking at Samba as an alternative, I have two questions: 1. Does Samba fully support Win98? 2. Our users move easily between PCs, X-terminals and workstations, depending on their
2000 Apr 02
1
[newbie]: Samba as a server for Win98 PCs
Hello I do apologize for sending a newbie question but I need to know for sure if what I am planning is worth spending the time. I have 12 Win98 PCs with public IPs connected to the Internet. I want: 1) Turn one of the PCs to a linux box with samba. 2) That the linux PC provides login access to the other PCs. (I want to eliminate the possibility of the users log in a Win98 PC and wreck
2000 Mar 09
2
Restricting browsing by share w/security=domain
Hi all, It's been a long time since I've had to post to the list (or eve read it) since Samba just plain works! I'm currently using 2.0.5a on a Sun Sparc10 running RedHat Linux 6.0 authenticating users off of our local NT P/BDC and have noticed something I had never noticed before: Shares which are restricted only to a select group (using valid users) are showing up in other
2015 Nov 17
4
firewalld being stupid
On Mon, November 16, 2015 16:39, Nick Bright wrote: > On 11/6/2015 3:58 PM, James Hogarth wrote: >> I have a couple of relevant articles you may be interested in ... >> >> On assigning the zone via NM: >> https://www.hogarthuk.com/?q=node/8 >> >> Look down to the "Specifying a particular firewall zone" bit ... >> remember that if you edit the
2011 Mar 28
1
maximum likelihood accuracy - comparison with Stata
Hi everyone, I am looking to do some manual maximum likelihood estimation in R. I have done a lot of work in Stata and so I have been using output comparisons to get a handle on what is happening. I estimated a simple linear model in R with lm() and also my own maximum likelihood program. I then compared the output with Stata. Two things jumped out at me. Firstly, in Stata my coefficient
2004 Feb 24
5
r: plots
hi all i have another probably simple question. I have three variables say x, y and z. x and y are quite large and z is relative small. how can one plot the three variables on the same graph with two separate axis? (one for x and y and the other for z) e.g. x<-c(101,110,150,167,120) y<-c(120,135,175,95,200) z<-c(0.001, 0.15, 0.6, 0.8, 1) regards Allan
2013 Jan 28
1
Using loop for a random vector (Montecarlo method)
Hi, I would like to replicate a sort of Montecarlo experiment: I have to generate a random variable N(0,1) with 100 observations but I have to contaminate this values at certain point in order to obtain different vectors with different samples: tab<-function(N,n,E,L){ for(i in 1:100){ X1<-rnorm(N*(1-a),0,1) X2<-rnorm(N*(a),E,L) X_tab<-sample(c(X1,X2),n,replace=T) } return(X_tab)}
2011 Jul 19
2
strang behaviour of mice package
I am using mice package for multiple imputation. For one data (attached), mice doesn't impute all missing values. Specifically, some variables were not imputed at all. the reproducible code library(mice) test.df<-read.table(c:\\test.txt',header=T,sep=',') mi<-mice(test.df,maxit=10,m=5) sum(is.na(complete(mi,1))) >129 and x41, x50... were not imputed at all. Any
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking
2005 Jan 11
4
Open/Closed Ports
Hi, Just installed CentOS 3.3. I said to allow only http and ssh when I did the install. I can ssh to the machine and until I compiled apache 2 and installed it seperately I could connect to the default web server. I am running oracle on the box and have found that I can't connect remotely to oracle from another linux box (sql*net works fine on the CentOS box itself). I think it is because
2005 Jun 10
1
Yum/RPM Update Conflicts
Hi, I've been trying to sort this out for the past week. I had a RedHat 7.3 desktop install with a disk dying on it. The desktop has two disks on it - one configured with /, /usr and /boot (this was the bad disk) and the second had /var and /home. I obtained a replacement disk and initially tried copying the /, /usr and /boot filesystems to the new disk but this ended up being a problem. In
2009 Mar 09
2
How to select randomly from a matrix?
Dear all, I got one problem here and hoping someone can help me on this. Say I have a 50 by 2 matrix and I don't know how to randomly select: 1. a pair of observations from the last 10th of the 50 observation from the matrix. 2. how to select randomly an observation from the first 5 observations of the second column in the matrix? Thanks....hope to hear from someone soon -- View this