similar to: how to call a C program from R function

Displaying 20 results from an estimated 1100 matches similar to: "how to call a C program from R function"

2003 Oct 17
1
heatmap function
Hi all, By default, the heatmap function gives an image with a dendrogram added to the left side and to the top. Is it possible to only add the dendrogram to the left side and let the order of the columns unchanged ? I tried heatmap(mat, col=rbg,Rowv=res.hclust$order,Colv=1:dim(mat)[[2]]). In this case, the order of the columns are unchanged but a dendrogram is added to the top. How can I
2003 Oct 13
4
help with gsub and grep functions
Hi all, Let Names a vector of chatacters. For example, > Names [1] "g 604 be-0 -p1 (602 matches)" "g 606 Phli-0 -p2 (517 matches)" [3] "g 608 alu-0 (659 matches)" I try to use gsub or grep functions for two problems : 1. First, I would like to delete all the characters between parentheses. [1] "g 604 be-0 -p1" "g 606 be-0 -p2" [3] "g
2003 Aug 12
1
classification with quantitative variables
Hi all, I want to conduct a cluster analysis with quantitative variables. More precisely, it concerns binary and non-ordered categorical variables. For such data, various similarity measures have been proposed, such as the Jaccard index or the simple matching index. So, is there a package such as mva or multiv in the case of quantitative variables? Could you indicate me reviews, papers or
2003 Sep 08
1
graphic of hierachical clustering
Hi all, I would like to save the dendrogram of a hierarchical clustering. Let reshc the result of the fucntion hclust(). To save the dendrogram, I can use the function postscript: postscript(file="hc605.ps") plot(as.dendrogram(reshc),horiz=T,ylab="",main=" ") dev.off() Using the functions plot and as.dendrogram, it is possible to obtain an horizontal tree with
2004 Mar 09
2
R and tmp directroy
Hi all, When I start R, it gives mkdir: Ne peut cr?er le r?pertoire `/home/mart/tmp/Rtmp11729'.: No such file or directory (I specify that my home path is /home/mart and the R version is 1.7.1) How I have to configure R to use the directory /tmp instead of /home/mart/tmp ? What is utility of this directory tmp for R? Thanks, Olivier
2011 Dec 07
2
yum with a proxy
Hello, While yum is configured to use a proxy, like this : [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 proxy=http://proxy.lasb:3128 it still make some attempts to connect
2012 Apr 26
0
restorecon and sudo
Hello, On CentOS-6.2, these two commands (on the same machine) give me different results : # restorecon -r /var/www/html/Centos/ # (as root) $ sudo restorecon -r /var/www/html/Centos/ # (as an unprivileged user) /var/www/html/Centos/ is a symlink to /mnt/packages/Centos/ In the first case, I get : # ls -Z /var/www/html/Centos/ drwxr-xr-x. naudin biom system_u:object_r:httpd_sys_content_t
2011 Nov 03
1
CentOS-5.7 + megaraid + SELinux : update problem
Hello, After updating to CentOS-5.7, I have a (small) problem : The context of /dev/megadev0 is now defined (in /etc/selinux/targeted/contexts/files/file_contexts) as system_u:object_r:removable_device_t:s0. This cause smartmontools to fail : avc: denied { read write } for pid=2847 comm="smartd" name="megadev0" dev=tmpfs ino=8284
2006 Aug 02
0
expected survival from a frailty cox model using survfit
Hello R users Would somebody know how to estimate survival from a frailty cox model, using the function survfit and the argument newdata ? (or from any other way that could provide individual expected survival with standard error); Is the problem related to how the random term is included in newdata ? kfitm1 <- coxph(Surv(time,status) ~ age + sex + disease + frailty(id,
2005 Jun 16
1
identical results with PQL and Laplace options in lmer function (package lme4)
Dear R users I encounter a problem when i perform a generalized linear mixed model (binary data) with the lmer function (package lme4) with R 2.1.0 on windows XP and the latest version of package "lme4" (0.96-1) and "matrix" (0.96-2) both options "PQL" and "Laplace" for the method argument in lmer function gave me the same results (random and fixed effects
1998 Jun 12
0
strange message in log.smb
Hello, On a Sparcserver10 (Solaris 2.5) running samba 1.9.18p7, the following message : "Can't create or use IPC area" appears in the log.smb file, from time to time. This message in the samba source code is in the file shmem_sysv.c This server is a local master and clients can connect it. Does anybody know what it means ? --
2017 Mar 15
1
Mail restore and single storage attachement
Bonjour, I'm finishing the upgrade of an old installation of Dovecot/postfix mail system for my lab. In the configuration i plan ( dovecot 2.2.27 ), i choose to use: - mdbox format - single storage for attachements - 2 zfs file systems, one for mdboxes, the other for attachments The last tests before production concern my hability to restore a lost mail (or mailbox) ... (lot of
2002 Jul 11
1
How to get relevant dimnames from apply() ?
Hello, in order to vectorize task (of plotting barplots), I use, as probably all R-folks, function apply() instead of for() loop. <R> testarr<-matrix(1:30, nrow=5) rownames(testarr)<-letters[1:5] colnames(testarr)<-LETTERS[1:6] apply(testarr,1,function(x) {x11(); barplot(x)}) #the funcion used is actually more compex, but it doesn't matter </R> Now, how I can propagate
2015 Mar 02
3
CentOS7 buggy freeradius
Bonjour, It seems that freeradius 3.0.1-6.el7 of centOS 7 don't work. When doing very simple authentification (PAP control of ssh login on a switch), I get a segmentation fault when the first accounting packet arrives on the server. Does anyone test succesfully this version of freeradius ? Thanks PS: no error with the compilation of the last source version of freeradius (3.0.7) --
2002 Sep 05
0
ape 0.1 is released
Ape is an R package for "analyses of phylogenetics and evolution". The first version (0.1) has been released on 27 August 2002 and is available on CRAN. >From the 'Description' file of version 0.1: Ape provides functions for reading, and plotting phylogenetic trees in parenthetic format (standard Newick format), analyses of comparative data in a
2017 Mar 22
0
SIS and mailbox restore
Still on the problem with dovecot 2.2.27 .... I use the single instance storage, and mdbox format. I use 2 zfs file systems, one for mailboxes, the other for attachements. I use znapzend to generate many zfs snapshots for backup purpose (inode numbers are preserved but it is unusefull). When I try to restore a deleted/purged mailbox with doveadm import I get the error of the first attachement
2000 May 18
1
tutorial "R pour les débutants" is available on CRAN
Dear R-users, Thanks to Friedrich Leisch, my document "R pour les d?butants" is available on CRAN in the contributed documentation section: http://cran.r-project.org/doc/contrib/Rdebuts.pdf. It is written in French. "R pour les d?butants" ("R for beginners") gives a starting point for people with no experience with R (or S). I tried to explain the basics in the
2000 May 18
1
tutorial "R pour les débutants" is available on CRAN
Dear R-users, Thanks to Friedrich Leisch, my document "R pour les d?butants" is available on CRAN in the contributed documentation section: http://cran.r-project.org/doc/contrib/Rdebuts.pdf. It is written in French. "R pour les d?butants" ("R for beginners") gives a starting point for people with no experience with R (or S). I tried to explain the basics in the
2007 Aug 06
0
cannot use winedbg on ubuntu feisty ?
Hi everyone, This happens every time I start winedbg, no matter what program I want to debug. It's ubuntu feisty fawn and I have built wine from sources. user@machine:~$ winedbg "C:\Program Files\Diablo II\Diablo II.exe" WineDbg starting on pid 000a wine: Unhandled page fault on read access to 0x00000000 at address 0xb7d5cc23 (thread 0009), starting debugger... Unhandled exception:
2001 Apr 06
0
Protocol 1 not working in openssh-2.5.2p2
After upgrading to openssh-2.5.2p2, my users were unable to login using ssh Protocol 1. Entries like this were showing up in syslog: Apr 5 19:29:45 maple sshd[16726]: Accepted password for anthonyu from ::ffff:192.168.0.2 port 1019 Apr 5 19:29:45 maple sshd[16726]: fatal: stat(/dev/pts/1 19:29:45 sshd[16726]: Accepted password for anthonyu) failed: No such file or directory Apr 5 19:29:45