similar to: Write a script

Displaying 20 results from an estimated 700 matches similar to: "Write a script"

2001 May 10
3
about strsplit
Hello, I want to split a string including a "+" but it seems there is no effect because of this special character. Just to explain, I convert frequencies to midi notes (external program) but I don't want to keep information about quater-tone! > s <- c("Fd4+1/4") (i't a note!) > strsplit(s,"+") [[1]] [1] "F" "d" "4"
2001 Jun 12
1
cophenetic matrix
Hello, I analyse some free-sorting data so I use hierarchical clustering. I want to compare my proximity matrix with the tree representation to evalute the fitting. (stress, cophenetic correlation (pearson's correlation)...) "The cophenetic similarity of two objects a and b is defined as the similarity level at wich objects a and b become members of the same cluster during the course of
2004 Jun 30
2
Question about mesurating time
Hello , Is there any function to mesurate the duration of a procedure (like tic and toc in matlab) ? Tic Source("procedure.R") Toc (toc is the duration between the execution of tic and the execution of toc) Thank you nicolas [[alternative HTML version deleted]]
2000 Oct 27
1
problem with list
Hello, I've some problems to concatenate elements of a list: > s1 [1] 1 2 3 4 > s2 [1] 6 7 > l <- list(s1,s2) > l [[1]] [1] 1 2 3 4 [[2]] [1] 6 7 but now I want to get this: > l [[1]] [1] 1 2 3 4 [[2]] [1] 6 7 [[3]] [1] 1 2 3 4 6 7 ## l[1] with l[2] Someone can help me? Thanks Olivier Houix -- Olivier Houix <houix at ircam.fr> tel: 01 44 78 15 51
2001 Feb 23
4
hclust question
Dear all, I have a question with regard to the use of hclust. I would like to be able to specify my own distance matrix instead of asking R to compute the distance matrix for me. It is computationally easier for me this way. My question is: How can I get hclust to accept this? Thanks, Ranjan -- *************************************************************************** Ranjan
2000 Nov 06
6
unix
hello Is it possible to execute Unix command from R prompt? for example ls cd .. In matlab this possible by adding "!" !ls !cd .. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
2000 Nov 06
6
unix
hello Is it possible to execute Unix command from R prompt? for example ls cd .. In matlab this possible by adding "!" !ls !cd .. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
1999 Nov 16
2
Grid lines?
Hi, I'm new to R and I wonder if it's possible to have grid lines on a graph? Thanks. Yves Gauvreau -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To:
2004 Jun 08
1
Little question
Here I got a function : f<-function(x){ res<-list() res$bool=(x>=0) res$tot=x return(res) } I want that a=res$bool and b=res$tot I know that a possible solution is : Result=f(x) a=Result$bool b=Result$tot But I don't want to use the variable Result. I'd like to write directly something like [a,b]=f(x). Is it possible ? Thank you nicolas [[alternative HTML version
2004 Jun 07
1
Precision for a former question*
I got many answers to the question I asked below , and I thank you all. Several of you told me to use ->> but told also that "it is not a recommendable way of items manipulating in R". I don't really understand what it exactly means : 1) does it mean it's not a very good way of programming , a dangerous way of programming because the variable a can be modified ? , etc Or
2010 Apr 27
7
Puppetmaster with stored configs leaks file descriptors on CentOS 5
Hi folks, When I enabled stored configs on my puppet master, it began keeping lots of open connections to the MySQL server (as far as I understand it opened one connection for each client run and never closed them). I set up the server to close idle connections after 5 minutes. Now the database server does close the connections but the puppet master keeps them in CLOSE_WAIT state and eventually
2014 May 01
2
[LLVMdev] Ubuntu 14.04 Trusty packages broken
On 30/04/2014 12:50, Sylvestre Ledru wrote: > On 30/04/2014 12:42, Adam Strzelecki wrote: >> Hello, >> >> I don't know how it happened, but recent Ubuntu builds have broken -dev packages, which contain same libraries as non-dev packages. >> >> >> dpkg: error processing archive /var/cache/apt/archives/libllvm3.5_1%3a3.5~svn207603-1~exp1_amd64.deb
2011 Aug 16
2
Filtering a table
Hello, I have a big table with 3 columns and 103918 rows. This is the example,            time             species                 dbh 5 1 4.9377297 575 1 11.64127213 575 1 109.8182438 575 1 8.029809521 5 1 24.32501874 575 1 4.895992119 575 1 11.40567637 575 1 2.795090562 575 1 21.79281837 575 1 52.57476174 575 1 27.7290919 575 1 3.23262083 575 2 19.30612651 575 1
2013 Nov 01
2
computation of hessian matrix
below is a code to compute hessian matrix , which i need to generate 29 number of different matrices for example first element in x1 and x2 is use to generate let say matrix (M1) and second element in x1 and x2 give matrix (M2) upto  matrix (M29) corresponding to the total number of observations and b1 and b2 are constant.  can some one guide me or help to implement this please. I did not
2016 Apr 04
2
Evaluating an expression
Hi, I want to create a data frame similar to the following, but greatly scaled up: df <- data.frame(aaa= c("a","b","c"), integer(3), integer(3)) names(df)[2:3] <- paste("var",1:2,sep="") which yields aaa var1 var2 1 a 0 0 2 b 0 0 3 c 0 0 I would not relish having to paste 'integer(3)' 5000 times :(
2010 Mar 06
1
transposing data
Hi. I have repeated measures data of the form where each observation is a trial, and trials are grouped by subject, and variables encode whatever level of a factor was present during that trial, and the dependent variable is response time (RT). I want to transpose the data to a form suitable for MANOVA such that there is one observation per subject and RT is recoded across many
2013 Jun 21
1
fasttrack mirror server out of sync?
I don't know if it's useful to report this: (& who should I report it to?) # yum update [...] * base: mirrors.ircam.fr * extras: mirrors.ircam.fr * fasttrack: mirror.ovh.net * remi-ff: rpms.famillecollet.com * updates: centosq3.centos.org base | 3.7 kB 00:00 cr | 2.9 kB 00:00 extras | 3.4 kB 00:00 fasttrack | 3.4 kB 00:00 Not using downloaded repomd.xml
2012 Feb 20
2
overlay of two sets of boxplots
Hello, I am new to R and currently have the following problem: I have successfully loaded my data in R which consists of two numeric columns (LI_F and female) and one character column (Strain). So far I can plot two different set of boxplots for each of the numeric columns plotted by the groups of the character column and the commands look like that: boxplot(LI_F~Strain, ylab="LI_F",
2017 Aug 14
4
[5.0.0 Release] Release Candidate 2 source and binaries available
Hello everyone, Source, binaries and docs for LLVM-5.0.0-rc2 are now available at http://prereleases.llvm.org/5.0.0/#rc2 (I'll add more binaries as they become available.) Please try it out, run tests, builds your favourite projects and file bugs about anything that needs to be fixed (including docs!), marking them blockers of http://llvm.org/pr33849. Cheers, Hans
2013 Mar 20
1
About adding bricks ...
Hi @all, I've created a Distributed-Replicated Volume consisting of 4 bricks on 2 servers. # gluster volume create glusterfs replica 2 transport tcp \ gluster0{0..1}:/srv/gluster/exp0 gluster0{0..1}:/srv/gluster/exp1 Now I have the following very nice replication schema: +-------------+ +-------------+ | gluster00 | | gluster01 | +-------------+ +-------------+ | exp0 | exp1 |