Displaying 20 results from an estimated 1000 matches similar to: "FW: Select a random subset of rows out of matrix"
2012 Nov 22
0
selcting a random sample and saving it in a seprate dataframe and also remaining part in other data frame
HI Madhu,
I guess you got your solution from Rui:
?dat1<-data.frame(x=c(1,1,2,2,2,3,4,4,4),y=c(23,45,87,46,78,12,87,79,76))
s<-sample(unique(dat1[,1]),length(unique(dat1[,1]))*0.8)
?s
#[1] 3 4 2
You can have a list containing both the dataframes
list1<-list(dat1[dat1$x%in%s,],dat1[!dat1$x%in%s,])
list1
[[1]]
#? x? y
#3 2 87
#4 2 46
#5 2 78
#6 3 12
#7 4 87
#8 4 79
#9 4 76
#[[2]]
?# x? y
2005 Oct 12
3
Can R functions be implented in Matlab
Hi,
I am Madhu Kishore a Graduate student at University of Texas at El Paso in Electrical Engineering. I am using R language for Normality tests and my doubt is can implements the R functions in Matlab. I expect to hear from you soon.
Madhu kishore.
---------------------------------
[[alternative HTML version deleted]]
2004 Nov 03
3
Trust between SAMBA and NT server
Hello,
I'm having problems getting the SAMBA domain to trust an NT domain. The following is how I went about the exercise:
1. On the NT domain, I added the SAMBA domain A/C in the TRUSTING DOMAINS list, providing a certain password.
2. On the SAMBA domain, I executed the following command feeding the same password given in step 1, but without
success:
[root@cobra root]# net rpc trustdom
2004 Oct 27
2
Avoiding user home directories
Hi,
When I connect to SAMBA using a particular username, apart from the shares I created,
it appears that the home directory of the user logging in also shows up in the share list.
I searched for a parameter using which I could control this, but was unsuccessful.
The [HOMES] section of my SMB.CONF looks like:
[homes]
comment = Home Directories
read only = No
create mask
2005 Mar 22
5
Issues with de-installation...
Hi,
I have a system running FC2 with SAMBA-3.0.10-1.fc2 installed on it. I
tried de-installing it, but it failed as follows:
[root@cobra /]# rpm -e samba
error: Failed dependencies:
samba is needed by (installed)
system-config-samba-1.2.22-0.fc2.1
samba = 0:3.0.10 is needed by (installed)
samba-swat-3.0.10-1.fc2
Can anyone suggest how I could go about de-installing the kit?
2016 Apr 26
2
Badlock CVE-2016-2118 in samba release 3.0.35
Hi,
Samba has released patch for CVE-2016-2118 from 3.6.x release onwards. We
use samba 3.0.35 in our product. Is there any patch available for
3.0.35?
--
Regards
Madhu
2019 Aug 07
1
difference in behaviour of --filter --delete: cmdline vs. file
Hello,
I want to avoid transferring a file which is present both on the source
tree and on the target tree when calling rsync with -a --delete.
mkdir -pv src/ dst/
echo file1 > src/file
echo file2 > dst/file
rsync -navi --delete --exclude file src/ dst/
works as expected. The file is not transferred nor is it deleted at
the receiver.
rsync -navi --delete --filter '- file' src/
2009 Aug 25
14
3.4-testing : Kernel panic on bootup (mount: could not find filesystem /dev/root/)
Hi,
I installed XEN 3.4-testing version without much problems in CentOS 5.3
running on quadcore Intel Nahelam processors using the following
installation
steps (as in the README) :
<steps>
hg clone http://xenbits.xensource.com/xen-3.4-testing.hg`
cd xen-unstable.hg
make world
make install
make linux-2.6-xen-config CONFIGMODE=menuconfig
make linux-2.6-xen-build
make linux-2.6-xen-install
2005 Mar 23
3
Problems while installing...
Hi,
I have two Linux systems, one running FC2 and the other Mandrake 10.1.
When I tried installing Samba 3.0.11 on both the systems, I get the
following error:
# rpm -i samba-3.0.11-1.i386.rpm samba-common-3.0.11-1.i386.rpm
warning: samba-3.0.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID
f17f9772
error: Failed dependencies:
liblber-2.2.so.7 is needed by samba-3.0.11-1
2017 Feb 17
2
SMB Multichannel use-cases
Hello,
I'd like to understand the use-cases to use SMB multichannel. Especially,
if the SMB client and Samba server are talking over the WAN.
When does one see an improvement in throughput with multichannel? For
instance, does copying multiple files result in parallel copying over
multiple connections over the same session?
Your inputs are appreciated.
Thanks,
Madhu
2017 Feb 22
2
Linux requirements to support Multichannel
Hi,
Can someone point me to the list of pre-requisites from a linux box
(preferably a VM) for Samba to support SMB Multichannel?
For instance, if multiple interfaces are needed, then should they be of the
same type, speed etc?
Thanks,
Madhu
2010 Feb 18
3
svm regression
Hi,
I am trying to use svm for regression data.
this is how my data looks like:
>dataTrain
x y z
1 4 6
2 5 4
3 7 5
>classTrain
a
2
3
4
>dataTest
x y z
1 7 2
2 8 3
>classTest
a
3
4
5
building the model
model<-svm(dataTrain,classTrain,type="nu-regression")
pred <- predict(model, dataTest)
> pred
1 2
3.008842 3.120078
I
2003 Nov 19
16
Help needed
Hi,
I have installed the public domain version of samba version 2.2.8a on aix
5.2 and I receive the following error message while attempting to start the
samba server. I am wondering if anyone could help me. Thanks in advance.
[2003/11/19 11:52:21, 0] smbd/server.c:main(791)
smbd version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/11/19 11:52:21, 0]
2004 Nov 04
0
interdomain trust relationship Error!
Hi,
In trying to establish a trust relationship between a samba server
(linux trusting domain) and WINNT (trusted domain, asnt01), an error
occurred when the following command was executed, any suggestions please
??
bash> net rpc trustdom establish asnt01
>Password:
>Could not connect to server ASNT1
>[2004/11/03 17:43:37, 0] rpc_parse/parse_prs.c:prs_mem_get(530)
> prs_mem_get:
2010 May 31
1
Provisioning Xen
Hi Experts,
What are the best tools to use for Xen Provisioning ? I have briefly looked
at Eucalyptus. Is that the best ? Can you please point me out to any other
options ?
thanks
Madhu M
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2006 Jul 20
1
Home directories
Hi ,
I have a small requirement , I have a samba setup on my server with
the following configuration in [homes] share :
[homes]
comment = Home Directories
browseable = no
writable = yes
path = /home/%u
valid users = %u root
force user = %u
I have added samba and linux users and done all the configuration and
shares are visible in windows.
When
2017 Feb 18
1
SMB Multichannel use-cases
Thanks for your response!
In other words, would the client be encouraged to open multiple connections
with the server to access multiple files in parallel?
-Madhu
On Saturday, February 18, 2017, Jeremy Allison <jra at samba.org> wrote:
> On Fri, Feb 17, 2017 at 09:09:10AM +0530, Madhusudan R via samba wrote:
> > Hello,
> >
> > I'd like to understand the use-cases
2017 Feb 23
0
Linux requirements to support Multichannel
On Wed, 2017-02-22 at 17:54 +0530, Madhusudan R via samba wrote:
> Hi,
>
> Can someone point me to the list of pre-requisites from a linux box
> (preferably a VM) for Samba to support SMB Multichannel?
> For instance, if multiple interfaces are needed, then should they be of the
> same type, speed etc?
My thoughts(someone please correct me if I am wrong):
As explained in
2008 May 15
0
Display time in “US-Central” Format Tzinfo
Hi ,
Is there anyway I can display time in “US-Central” or “US-Eastern”
format instead of “ America-New york” or “ Europe-Athens” format at
the top of drop down list using Tzinfo .
I am presently using “time_zone_select” which displays US zones on top
of drop down in “ America-New york” format .
<%= time_zone_select (''profile'',
2020 Sep 27
1
strange crash with md5p8.diff + xxhash
With rsync-patches/md5p8.diff and --enable-xxhash
% gdb --args ./rsync --version
Using host libthread_db library "/lib64/libthread_db.so.1".
rsync version v3.2.3-29-ge55788bd protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,