similar to: Scan data from a .txt file

Displaying 20 results from an estimated 4000 matches similar to: "Scan data from a .txt file"

2005 Nov 17
2
[Rd] Scan data from a .txt file
[Re-directing to R-help, as this is more appropriate there.] I tried copying the snippet of data into the windows clipboard and tried it: > dat <- read.table("clipboard", header=T) > dat Name Weight Height Gender 1 Anne 150 65 F 2 Rob 160 68 M 3 George 180 65 M 4 Greg 205 69 M > str(dat) `data.frame': 4 obs.
2005 Dec 01
1
Transfer String Array from R to java
I have a data frame which has the following data. data<-read.table("table.txt",header=TRUE) data X14A_U133A_StatPairs X14A_U133A_Detection X14B_U133A_Signal 1 AFFX-BioB-5_at 403.0 409.3 2 AFFX-BioB-M_at 757.3 574.4 3 AFFX-BioB-3_at 284.4 327.3 4 AFFX-BioC-5_at
2006 Feb 22
4
heatmap.2 in gplots package
Hello all, I am using the heatmap.2 function in the gplots package. I want to supress the reordering of the columns of the data matrix i pass to the function. I used the statement, heatmap.2(z,Colv=FALSE,dendrogram="row",col=redgreen(75)) where z, is the matrix of data. The output i want should have the rows reordered along with the dendrogram and the columns should be in the original
2005 Dec 01
1
Row wise function call.
I have another issue.i have a function which calculates the log2(col i /col2) value, where i stands for columns 3,4,...etc. data<-read.table("table.txt", header=TRUE) iratio<-function(x){ for(n in 3:ncol(data)){ z<-log2(data[x,n]/data[x,2]) } } Where x- the row number of the data frame(data). i want to store the ratios for each row in a object z, which can be accessed
2005 Oct 17
1
Display a plot in an applet.
Hello, I am trying to display a plot produced in R as part of an Applet. Stating more clearly, i want to display a scatter plot(X axis data:1,2,4,5 and Y-axis data:4,6,5, 7)produced in R as an Applet. How can this be done? Please let me know. Thanks, Vasu. [[alternative HTML version deleted]]
2005 Nov 18
2
Image display in R
Hi all, I am trying to display a matrix of plots(images), for example a 3*3 matrix of 9 image plots, such that when a user clicks on a image i can show the enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and mfg), but it creates multiple plots in a single image file. So, i won't be able to highlight a particular plot when the user clicks on it. To be more clear, can i
2005 Nov 18
2
Image display in R
Hi all, I am trying to display a matrix of plots(images), for example a 3*3 matrix of 9 image plots, such that when a user clicks on a image i can show the enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and mfg), but it creates multiple plots in a single image file. So, i won't be able to highlight a particular plot when the user clicks on it. To be more clear, can i
2005 Oct 05
2
R and Java
I am a grad student and am working on a project where i need to integrate java and R. I have a front end in java and i need to call R functions and be able to dispaly the plots and graphs produced by R on my java front end. I came across some tools like SJava and rserve...but am not sure which best suits my application. Your suggestion will be really helpful. Thanks, vasu. [[alternative HTML
2005 Nov 25
1
read.table without sep
Hello all, I have a data file table.txt which i have attached. I am trying to pass the columns as arguments to a function "totnorm" where i am displaying a total normalization plot. The function is given below: totnorm<-function(x,y){scale<-sum(x)/sum(y);xlab<-colnames(x);ylab<-colnames(y);x1<-x[[1]];y1<-scale*y[[1]];plot(x1,y1,xlab=xlab,ylab=ylab,col=6, col.lab=4);}
2005 Nov 25
1
read.table without sep
Hello all, I have a data file table.txt which i have attached. I am trying to pass the columns as arguments to a function "totnorm" where i am displaying a total normalization plot. The function is given below: totnorm<-function(x,y){scale<-sum(x)/sum(y);xlab<-colnames(x);ylab<-colnames(y);x1<-x[[1]];y1<-scale*y[[1]];plot(x1,y1,xlab=xlab,ylab=ylab,col=6, col.lab=4);}
2007 Aug 02
1
dovecot 1.0.2, sieve 1.0.2 and regex
I've just ported a largeish procmail script across to sieve and want to get to use wildcards in filing mail and can't seem to get regex to work. The script starts nicely with: > require ["fileinto","regex","envelope","vacation","regex"]; and a bit down these few lines comes into play: > elsif header :regex "From"
2004 Aug 06
2
sppex player
hi, i want to use ogg speex streaming .can u suggest a player. thanks, sailaja Yahoo! India Matrimony: Find your partner online.Post your profile. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org' containing only the word 'unsubscribe' in the
2001 Mar 14
2
scan
Hello, I have a problem. I have to read a HUGE file which has to be line processed, so I would like to use scan like p <- scan(pfile,what=c(0,0,0,"",0,""),nlines=1) but it continues to read the first line, so I have to add a skip and increment the skip after each read. It takes forever to read a test file of 1 Mb, the real one is in 60's Mb Is there a way to read line
2006 May 09
4
ruby equivalent of phpinfo()
Is there a ruby equivalent for the phpinfo() php function that displays all the variables and environment settings ? Thanks, vasu. -- Posted via http://www.ruby-forum.com/.
2004 Aug 06
1
sppex player
Hi, You can also use the Java jlGui Music player (http://www.javazoom.net/jlgui/jlgui.html) with the java implementation of Speex (http://jspeex.sourceforge.net). This will play Speex streams and files on any platforms, including Linux, Mac and Windows, or even inside a web page. Tyler Knott wrote: > sailaja akkineni wrote: > >> hi, >> i want to use ogg speex streaming
2005 Jan 17
1
pairs: altering pch options on upper and lower panel of pairwise scatter plots
Hello, I can't figure out how to use the upper.panel and lower.panel options in pairs to alter the label options for either panel independently of the other. I would like to be able to show the pairwise scatter plots for the data as they are (a vanilla pairs plot?) but separately to be able to label the points according to a factor level. It is easy enough to do this independently, but I
2007 Oct 26
1
Problems with scan() in a tab-sep .txt file with cells that have '///' (three frontslashes)
Hello all, I'm using the following scan() parameters on a tab-separated text file that was generated by R. temp_file <- scan(file = outfile, sep="\t", what = character(), skip = 1, nlines = 1) The problem is that within some cells, there are cases where there are three frontslashes ( /// ). However, the file itself is tab-separated, and the exact problem is that even if I
2006 Jul 28
3
forms to pdf generation
hello Everyone, would like to search this subject in the forms, but since search is disabled I am posting this one. Any insight is much appreciated. I am a newbie to ROR. Wondering what it takes to take a form that is filled by a user and generate a PDF on the fly for his to save or print. I am aware of some PDF libraries for PHP to accomplish this, but not quite sure how to get this done
2006 Aug 02
4
Search function in this Forum ??
This forum has been a great resource for me. It would be great if i can search the forum before posting any question, as i''m sure someone has already posted that question before. The search function has been disabled for quite sometime now. I''ve already emailed the administrator but haven''t got any response. any idea on when this would be enabled ? Thanks, VASU.
2006 May 29
3
Ruby on Rails hosting on BlueHost.com -- Feeback needed
hi Friends, Planning to use BlueHost.com for my Ruby on Rails application hosting on their $6.95 per month. Is anyone using them ? What version of ROR do they provide ? What kind of webserver does they provide ? How much RAM ? Can i re-start the web-server if my ROR application demands ? May be the above answers would be best answered by their sales dept. But if anyone is using them, please