Displaying 20 results from an estimated 3000 matches similar to: "Help on Making R Packages"
2002 May 20
1
R bug in cluster package (PR#1580)
I have apparently found an error in the "pam" function of the "cluster"
library package. Please pardon me if this error has been pointed out or
if this e-mail should be directed to someone else.
The problem only started occurring with R version 1.5.0, which I started
using about a week ago. The problem occurs when you try to use "pam"
with the input being a
2011 Aug 25
1
question on silhouette colours
I'm fairly new to the silhouette functionality in the cluster package, so apologize if I'm asking something naive.
If I run the 'agnes(ruspini)' example from the silhouette section of the cluster package vignette, and assign colours to clusters, two clusters have what appear to be incorrect colours in the silhouette plot.
library(cluster)
data(ruspini)
ar<- agnes(ruspini)
2013 Mar 13
1
Empty cluster / segfault using vanilla kmeans with version 2.15.2
Hello,
here is a working reproducible example which crashes R using kmeans or
gives empty clusters using the nstart option with R 15.2.
library(cluster)
kmeans(ruspini,4)
kmeans(ruspini,4,nstart=2)
kmeans(ruspini,4,nstart=4)
kmeans(ruspini,4,nstart=10)
?kmeans
either we got empty always clusters and or, after some further commands
an segfault.
regards,
Detlef Groth
------------
[R] Empty
2008 Jun 13
1
Output of silhouette (cluster package)
Dear R users,
I am mailing you about the graphical output of silhouette (cluster
package)
From the example of silhouette in help(silhouette):
> ar <- agnes(ruspini)
> si3 <- silhouette(cutree(ar, k = 5), # k = 4 gave the same as pam()
above
+ daisy(ruspini))
> plot(si3, nmax = 80, cex.names = 0.5)
from which one may conclude that group 1 is composed by
2018 Jan 15
2
consolidate three function into one
Hi Richard,
Thank you so much!! I understand the problem now, I assign a name to the "ggsurvplot" object and then add print(fig) at bottom of function definition, now figure gets printed on screen.
Ding
# function to generate RFS curves
RFS <- function( inputfile, N ) {
cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters,
data =
2018 Jan 14
0
consolidate three function into one
FAQ 7.22
You must print a ggplot object, for example with
print(m52.2cluster)
For the FAQ, run the line
system.file("../../doc/FAQ")
in R on your computer.
Open up the resulting filepath in your favorite editor and scroll down to 7.22
On Sun, Jan 14, 2018 at 4:21 PM, Ding, Yuan Chun <ycding at coh.org> wrote:
> Hi Bert,
>
> I am sorry to bother you on weekend.
>
2011 Nov 07
1
Strange behaviour of ssh
Hello together!
I've Debian 6.0.3 with OpenSSH_5.5p1 and problem with the execution of remote commands via ssh.
It seems as if the first command isn't looked up in all "$PATH" dirs.
Here normally I should get the version information of mpirun twice but the first one fails:
$ ssh cluster2 mpirun --version ; mpirun --version
bash: mpirun: command not found
mpirun (Open MPI) 1.4.3
2018 Jan 15
0
consolidate three function into one
That is certainly OK, but you can also just use
print(ggsurvplot(...))
as your final statement.
out <- RFS( ...)
would then return the ggsurvplot object *and* graph it.
Any good R tutorial or a web search will provide more details on function
returns, which you might find useful.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
2018 Jan 14
2
consolidate three function into one
Hi Bert,
I am sorry to bother you on weekend.
I am still struggling on defining a correct function.
I first defined the function RFS (see below), then run it by provide the two argument.
m52.2cluster <-RFS(inputfile =allinfo_m52, N=2 )
I do not get error message, but no figure displays on screen. I do not know what is going on.
Can you help me a little more on this issue?
Thank you,
2018 Jan 15
1
consolidate three function into one
Thank you, your suggestion is simpler and logically better. I had impression that the last object in a function gets returned, so I did not add the print function at the bottom line of the function definition. Returning an object and graph the object are different process, I am a beginner for writing R function and need to find a good guide source about writing R functions. If you know a good
2007 Apr 10
1
Several clusters in the same matchine
Hi,
is it possible to have several ocfs2 clusters in the same machine?
We have webserver1 and webserver2 that should belong to cluster1 and
cluster2 "workgroup".
Cluster1 should be made of webserver1, webserver2 and application_server1
Cluster2 should be made of webserver1, webserver2 and application_server2
Is this possible?
Thanks,
Nuno Fernandes
2013 Jul 11
1
Cluster discovery using Libvert
Hello,
I'm beginner user of Libvert. I want to find out the nodes (ESX servers) in
cluster. I'm using following way but unable to get results. I'm not sure
whether I'm using correct command or not. Please help me to achieve the
expected result.
=========================================================
Virsh # connect esx://192.168.10.1/DatacenterC2/Cluster2?no_verify=1
2009 Feb 01
2
Using arrays to generate parameters
My external node classifier returns some arrays in the list of
parameters. Example output (names have been changed to protect the
innocent):
$ ./node_classifier a.b.com
--- %YAML:1.0
"classes": ["class1", "class2", "class3"]
"parameters":
"hostname": "a"
"name": "a"
"domain":
2008 Jul 07
2
Colour clusters in a 2d plot
R experts,
I have three columns. c1 and c2 are numeric variables whereas c3 are the
clusters classes (nominal variable, 10 different: cluster1, cluster2,
cluster3, cluster4, cluster5 ....). I'd like to plot c1 against c2 (easy!)
in a 2D plot and put different color depending to the cluster class
automatically regardless the number of clusters.
Could anyone give a hand?
Josep Maria,
matrix
2025 Jan 23
3
Error in domain or kerberos after configuring CTDB
Hello!
I have two Samba servers (domain members) in cluster format to provide file
shares, as follows:
GlusterFS for data replication
Heartbeat for HA
Everything works fine... however I made a recent improvement (I think)
which was the addition of CTDB for replication of Samba connections, just
that, and nothing more.
It worked and works but after that both nodes of the cluster started to
lose
2012 Feb 27
3
LDA alias resolution problems..
I use postfix + dovecot LDA + mysql virtual users and up til friday,
everything was working just fine.
Dovecot is 2.0.beta6 (3156315704ef)
Like I said, up til friday, when I added a vacation entry into postfix
(which I have now removed to see if it was the reason) mails to the
alias virusalert (which is aliased to me) went through just fine.
Now I get these sort of errors from the LDA:
Feb
2025 Jan 23
1
Error in domain or kerberos after configuring CTDB
Hi
More information..
Another thing that indicates to me is CTDB and that several other Linux
Domonio (not the same version of Samba) and Windows also do not present
this problem (not with this frequency of 24 to 48 hours).
Regards;
Em qui., 23 de jan. de 2025 ?s 08:50, Carlos Alberto Panozzo Cunha <
carlos.hollow at gmail.com> escreveu:
> Hello!
>
> I have two Samba servers
2007 Apr 20
2
Partitioning around mediods (PAM)
Hi,
I need some help understanding the output from PAM. When I look at the output it doesn't list the cluster number by the median vlaues on each of the variables (like it does with k-means) Instead I have the following:
So I know for instance cluster 1 has a mean for variable1 of 33.33, however when I run PAM i get:
variable 1 variable2
29 32 12
97 12
2025 Jan 27
1
Error in domain or kerberos after configuring CTDB
As I see in your configuration you use smb.conf on the CTDB-Server. You
should use the registry, because that's the way the configuration will
replicate the configuration. CTDB stands for clustered trivial
databases. The registry is a tdb-database. There are a lot more wrong
configurations in your config.
Take a look at my tutorial from sambaxp 2020
2005 Jun 07
1
Multiserver config
Hi!
I need use dovecot on 3 servers. Home directory and mail spool shared
over NFS in pop3/pop3s only mode (no imap).
What details for dovecot config need set?
When I try 2-servers config, some time I get in log:
Jun 7 04:31:01 cluster2 pop3(andy at atomail.com): IndexID mismatch for
binary tree file
/home/plasma/andy at atomail.com/mail//.imap/INBOX/.imap.index.tree
But mail client not