Displaying 20 results from an estimated 2000 matches similar to: "Query about using optimizers in R without causing program to crash"
2007 Jan 22
1
Query about using try block
Hi
Thanks for your response.
However I seem to be doing something wrong regarding
the try block resulting in yet another error described
below.
I have a function that takes in a file name and
does the fit for the data in that file.
Hence based on your input, I tried
try ( (fit = lm(y~x, data = data_fitting)), silent =
T);
I left the subsequent lines of my code unchanged.
coeffs =
2007 Feb 28
3
Packages in R for least median squares regression and computing outliers (thompson tau technique etc.)
Hi
I am looking for suitable packages in R that do
regression analyses using least median squares method
(or better). Additionally, I am also looking for
packages that implement algorithms/methods for
detecting outliers that can be discarded before doing
the regression analyses.
Although some websites refer to "lms" method under
package "lps" in R, I am unable to find such a
2006 May 01
4
table of means/medians across bins used for a histogram
Hi
I am trying to get a table of means of parameter 1
across BINS of parameter 2.
I am working in proteomics and a sample of my data is
as follows
cluster-age clock-rate(evolutionary rate) scopclass
0.002 10 A
0.045 0.1 B
0.13 15 A
0.15 34 D
....
....
....
2006 Oct 26
2
Query about using table
Hi
I have data of the following form
ID age member_FLAG
1 25 Y
2 36.75 N
3 75.5 N
.........
.........
I want to get a histogram of this data showing
distribution of member_flag in each age-bin i.e. how
many values in each age bin have a member_flag of 'Y'
and how many have 'N'.
I was able to do the same using barplot2.
However I also need similar
2007 Jan 26
1
Package for phylogenetic tree analyses
Hi
I am looking for a package that
1. reads in a phylogenetic tree in NEXUS format
2. given two members/nodes on the tree, can return the
distance between the two using the tree.
I came across the following packages on CRAN
ouch, ape, apTreeShape, phylgr all of which seem to
provide extensive range of functions for reading in a
Nexus-format tree and performing phylogenetic
analyses, tree
2007 Mar 01
2
Query about data manipulation
Hi
Thanks much for the prompt response to my earlier
enquiry on packages for regression analyses.
Along the same topic(?), I have another question about
which I could use some input.
I am retreiving data from a MySQL database using
RODBC.
The table has many BLOB columns and each BLOB column
has data in the format
"id1 \t id2 \t measure \n id3 \t id4 \t measure...."
(i.e. multiple rows
2006 Jul 11
1
Query about getting averages across a certain parameter in a table
Hi
I have a table that goes
data
cluster_ac clockrate age class
7337 0.9 0.001 alpha_proteins
7888 0.1 0.78 beta proteins
etc
The class column can have 7-8 different unique values
While the clockrate and age columns are floats varying
from 0 to 1.
I wish to get the average clockrate across each of the
classes for this data.
I would appreciate your help
2007 Jan 25
1
unique/subset problem
Hi
I am new to R programming and am using subset to
extract part of a data as follows
names(dataset) =
c("genome1","genome2","dist","score");
prunedrelatives <- subset(dataset, score < -5);
However when I use unique to find the number of unique
genomes now present in prunedrelatives I get results
identical to calling unique(dataset$genome1) although
2007 May 02
3
Query about finding correlations
Hi
I have a dataframe which has 3 columns of numeric data
A,B,C each of which has been obtained independent of
the other.
We are trying to find out, which of A or B cause C
i.e. We are hypothesising that C is the effect and
either A or B, not both is the cause.
i.e. A causes C and this cause-effect relationship
explains B.
The data for A contains more noise than that for B.
We are working with
2007 Jan 23
3
Query about extracting subsets from a table
Hi
I am trying to process tabular data as follows:
Data in the input file is of the form
genome1 genome2 tree-dist log10escore
Genome1 and genome2 are alphabetic.
Tree-dist and log10escore are numeric.
I wish to extract only those rows from this table
where the log10escore is less than -3.
data <-read.table(filename);
data$log10escore = data$log10escore[ data$log10escore
< -3];
I
2007 Mar 12
2
Query about substituting characters in a df
Hi
I have a data frame with 40,000 rows and 4 columns,
one of which is "class".
For each row, the "class" column can be one of 10
possible NUMERIC values.
I wish to substitute these numeric values with
words/characters.
For example, I wish to substitute all occurences of
"5467" in the column "class" with "alpha", "7867" with
2004 Jan 09
2
Error on SMB Packages
-----BEGIN PGP SIGNED MESSAGE-----
********************************************************************
The contents of this email are intended exclusively for the
addressee. If you are not the addressee you must not read
use or disclose the email contents ; you should notify us
immediately [ by clicking "Reply" ] and delete this email.
Nationwide monitors e-mails to ensure its systems
2007 Jan 24
1
Query about extracting subset of datafram
Hi
I have a table read from a mysql database which is of
the kind
clusterid clockrate
I obtained this table in R as
clockrates_table <-sqlQuery(channel,"select....");
I have a function within which I wish to extract the
clusterid for a given cluster.
Although I know that there is just one row per
clusterid in the data frame, I am using subset to
extract the clockrate.
clockrate =
2011 Apr 27
1
AD and samba secondary group problems
Hi list,
I have gone through several mailing list archives, googled, tested
several options, but we cannot figure out how we fix our problem.
NIS provides the uid and gid in Linux
AD provides the passwords
storage is provided by GPFS via samba to windows users
OS: RedHat 5.5 x86_64
Samba: 3.4.2 and/or 3.5.2
We are able to mount the home directories without any problems, we can
2018 Sep 19
3
CTDB potential locking issue
Hi Martin
Many thanks for the detailed response. A few follow-ups inline:
On Wed, Sep 19, 2018 at 5:19 AM Martin Schwenke <martin at meltin.net> wrote:
> Hi David,
>
> On Tue, 18 Sep 2018 19:34:25 +0100, David C via samba
> <samba at lists.samba.org> wrote:
>
> > I have a newly implemented two node CTDB cluster running on CentOS 7,
> Samba
> > 4.7.1
2012 Mar 14
1
NFS: server localhost error: fileid changed
I recently moved from the fuse client to NFS - Now I'm seeing a bunch of
this in syslog. Is this something to be concerned about, or is it
'normal' NFS behavior?
NFS: server localhost error: fileid changed
fsid 0:15: expected fileid 0xd88ba88a97875981, got 0x40e476ef5fdfbe9f
I also see a lot of 'stale file handle' in nfs.log, but the timestamps
don't correspond.
2013 Jan 31
2
ACLs on a directory on GPFS
Hello,
I am using the vfs_gpfs samba module to map ACLs through samba. It works
fine on files, but directory ACLs are ignored. Ex:
getfacl /sb/share/myplace/
file: sb/share/myplace/
owner: root
group: root
user::rwx
user:afrankel:rwx
group::---
mask::rwx
other::---
When I try to access this folder in Windows, I get permission denied.
The same permissions on a files, I can open it / modify it
2020 Apr 16
2
CTDB and locking issues reloaded
On 15/04/2020 16:57, Ralph Boehme via samba wrote:
> Am 4/15/20 um 10:59 AM schrieb Giuseppe Lo Presti via samba:
>> So the question is do you acknowledge the correct behaviour should be to
>> prevent the second client from getting the lock?
>
> yes. My bet: your cluster filesystem device nummer differs across nodes. Cf:
Bingo!
Indeed inodes are (obviously) identical, but
2018 Sep 18
4
CTDB potential locking issue
Hi All
I have a newly implemented two node CTDB cluster running on CentOS 7, Samba
4.7.1
The node network is a direct 1Gb link
Storage is Cephfs
ctdb status is OK
It seems to be running well so far but I'm frequently seeing the following
in my log.smbd:
[2018/09/18 19:16:15.897742, 0]
> ../source3/lib/dbwrap/dbwrap_ctdb.c:1207(fetch_locked_internal)
> db_ctdb_fetch_locked for
2007 May 02
1
Query about RODBC to access MySQL from Windows
Hi
I am trying to use RODBC in R installed on Windows to
access MySQL database (on a linux box).
I set up a DSN and specified this DSN in R as follows
library(RODBC);
channel <- odbcConnect("mysqldsn");
RODB Connection 5
Details:
case=nochange
PORT=3306
........
Although this seems to connect properly, running any
command yields NO results.
i.e. sqlQuery(channel, "show