similar to: [LLVMdev] trying to compile llvm+clang on CentOS 5

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] trying to compile llvm+clang on CentOS 5"

2006 Jun 21
3
sort matrix by sum of columns
Hi all, I would like to know how can I sort the cols of a matrix by the sum of their elements. a <- matrix(as.integer(rnorm(25,4,2)),10,5) colnames(a) = c("alfa","bravo","charlie","delta","echo") I guess I should use colSums, and then rearrange the matrix somehow according to the result. My idea is to display a "sorted" barplot:
2006 Jun 09
2
barplot dataframes w/ varying dimensions
Hi all, I would like to do a barplot of a dataframe like this one: alfa beta gamma delta qwert 56.5 58.5 56.5 58.5 asdfg 73.0 73.0 43.0 73.0 zxcvb 63.0 63.0 43.0 63.0 yuiop 63.0 63.0 43.0 63.0 with the labels of the rows and columns. I would like to have something that works for dataframes with varying dimensions, and so far I haven't found any way to do it.
2010 Jan 15
2
processing all files with certain extension in a directory
Hi all, I'm trying to process all files with a certain extension "*.ext" in a directory like this: > R --slave --args /my/dir < dir_plot.r where I then I want to do something like: myarg <- commandArgs() inputdir <- myarg[length(myarg)] print(inputdir) "for file with extension "*.ext in inputdir" do data = process.data(file) outfile =
2006 Apr 28
2
entries that match a regexp
Hi all, I am trying to filter the element of a df that start with "TF", like this: alfa = c(123221,"TF13124",41243,"TF1234",32414,"TF13124","TF14333",2134123,"TF1234") beta =
2005 Dec 13
8
superimpose density line over hist
Hi all, I'm trying to superimpose a rchisq density line over a histogram with something like: hist(alnlength) lines(density(rchisq(length(alnlength), 4)),col="red") But the rchisq line won't appear anywhere, Anyone knows what I am missing here? Thanks in advance, Albert.
2010 Apr 24
2
left-to-right series of box and whisker plots from a csv file
Hi, I've got a csv file with scores like this: 40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,38,40,20,40,26,40,30,40,5,5,13,12,40,40,3,33,29,23,2,24,9,15,4,21,16,5,26,8,8,18 40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,40,40,30,40,40,37,34,40,36,13,40,13,40,5,40,8,29,5,15,34,5,22,14,20
2008 Feb 28
1
calculate sd for each row on some columns of a dataframe
Hi, I've got a dataframe like this: df = data.frame(a=rnorm(100,1),b=rnorm(100,10),c=rnorm(100,100),d=rnorm(100,-100)) and I want to calculate sd1 for (a,b,c) for each entry, and sd2 for (b,c,d) for each entry. I don't seem to find the answer using aggregate or apply, How can I do this? Thanks in advance, Cheers, Albert.
2010 Jul 06
1
hide ends of line in a density plot
Hi, (I googled for this answer but didn't find anything) I am using density plot and I want to trim the ends of the line. eg: i = rnorm(100,100,2) j = subset(i,i<102 & i>98) summary(j) plot(density(j)) I only want the line to go from 98 to 102. How can I limit the line (and the axis) to the values I specify? Cheers, Albert.
2009 Apr 17
1
matching subvectors in vector sets
Hi, I've got a list of ~20000 elements that look like this: [1] "A00096:A00096:A00096:A00096:A02178:A02178:A07776" [2] "A00046:A00076:A01101:A04146:A05671:A07169" [3] "A00038:A00932:A02185:A02370:A02818:A02818:A02818:A02818:A04732:A07142:A07142" [4] "A00096:A01352:A01352:A02023:A05001:A05001:A07776" [5]
2010 Aug 12
2
tar - ssh - standard out
Hi I have a process that creates 'some data' and outputs this to standard out and i want to shift this data over ssh to a remote box without ever writing anything locally. I have been experimenting with tar to create the archive as the i dont know what the contents of 'some data' might be so i just need to capture it and output it on the other side. I have been trying with $ tar
2010 Feb 09
1
Flashing SLOF on IBM JS20 (Thamesblue supercomputer)
Hi, We are trying to set up XEN testbed on Thamesblue Supercomputer which has IBM JS20 Blades. I compiled the SLOF firmware from the source on one of the blade. The compilation went smooth and generated the following binaries *boot_rom.bin boot_rom_bimini.bin* When we try to flash boot_rom.bin firmware binary then we get the following error: * update_flash: RTAS: validate() Invalid candidate
2010 Feb 09
1
Flashing SLOF on IBM JS20 (Thamesblue supercomputer)
Hi, We are trying to set up XEN testbed on Thamesblue Supercomputer which has IBM JS20 Blades. I compiled the SLOF firmware from the source on one of the blade. The compilation went smooth and generated the following binaries *boot_rom.bin boot_rom_bimini.bin* When we try to flash boot_rom.bin firmware binary then we get the following error: * update_flash: RTAS: validate() Invalid candidate
2007 Jan 25
4
Conditional exec
I am trying to write a definition that downloads and extracts a tar file if the destination directory does not exist. The tar file won''t change and does not need to be download and extracted if it changes. The definition I am using now is: define remote_tar($source, $directory) { remotefile { "/tmp/$name.tgz": source => $source, } exec {
2006 Dec 07
9
Exec as another user
I''m running puppetd as root and I''m trying to execute tar as the "puppetd" user 59 define untar ( $source, $dest, $creates, $user = "puppetd" ) { 60 exec { "tar -xzf $source" : 61 cwd => $dest, 62 path => "/bin:/usr/bin", 63 user => $user, 64 creates => $creates,
2007 Sep 28
3
[LLVMdev] Bugs in Getting Started Guide
On Thursday 27 September 2007 22:51, Tanya M. Lattner wrote: > The getting started quickly instructions say that you "cd > where-you-want-the-C-front-end-to-live" and the unzip the > front-end, followed by "cd where-you-want-llvm-to-live". Maybe this adds to the confusion: that he has to make decisions ("Where do I want the c-front end to live?") --- and at
2016 Dec 04
2
RES: RES: v2.2.27 released
I don't see it, and can't really think of a good reason why it would happen. This happens in configure? And the first thing you ran was configure, right? No autogen.sh or autoconf/automake? -bash-4.1# cat /etc/redhat-release CentOS release 6.8 (Final) -bash-4.1# uname -a Linux test-centos6.dovecot.net 2.6.32-642.6.1.el6.x86_64 #1 SMP Wed Oct 5 00:36:12 UTC 2016 x86_64 x86_64 x86_64
2006 Apr 27
6
Installation oddity on Fedora Core 5 (PR#8814)
Hello guys: I recently installed FC 5 linux and installed R from source. It installed fine, but there was an oddity that I want to report. Although I used ./configure --prefix=/usr/local/R-2.3.0 make it did not seem to recognize the prefix and went ahead and installed it in the source directory -- I usually ``tar xzf'' it to my home directory and run the installation scripts from there
2005 Nov 28
1
No Rmath.h when making just standalone library
When making only the standalone math library, include/Rmath.h is not there, so compilation fails. A solution is to go to src/include/ and just say `make Rmath.h' there first. This is with R-2.2.0 on GNU/Linux on i686. The failing steps are: tar xzf ../R-2.2.0.tar.gz ./configure cd src/nmath/standalone make Would be nice if this worked, or if the issue were just mentioned in
2007 Sep 28
0
[LLVMdev] Bugs in Getting Started Guide
> Maybe this adds to the confusion: that he has to make decisions > ("Where do I want the c-front end to live?") --- and at the same > time the new user is, ahem, 'new', so he can't see the > implications of such a decision. > > Maybe a cook-book-receive would be more helpful. Don't present > options to the user, but give him a 'quick' result
2013 Jan 09
1
samba-tool not working as i'd expect
Hello all, I'm having problems using the "samba-tool" tool. From the documentation i've read, the following command 'should' work. Apparently i'm missing something. #### [root at vmhost bin]# pwd /usr/local/samba/bin [root at vmhost bin]# ./samba-tool domain provision --realm=mytest.local --domain=MYTEST --adminpass='welcome' --server-role='dc'