search for: chemsitry

Displaying 5 results from an estimated 5 matches for "chemsitry".

2005 Jun 10
3
mask a matrix
...ix with identical dimentions. matrix A contains information of 0 and 1, and matrix B contains data. I only want the data in matrix B where matrix A has 1's. the places where matrix A has 0's, I want NA's in matrix B. How do I do that?? Thank you very much. Lei Jiang Department of Chemsitry University of Washington Box 351700 Seattle, WA 98195 Phone: 206-616-6882 Fax: 206-685-8665
2004 Nov 20
2
subset on data frame
...d like to subset according to rownames. subset(mydataframe, rownames(mydataframe) == myrow, select = mycols) it turned out that "myrow" cannot be a vector. But I have multiple rows to pick. Is there a way to get around this problem?? Thank you for your help!! Lei Jiang Department of Chemsitry University of Washington Box 351700 Seattle, WA 98195 Phone: 206-616-6882 Fax: 206-685-8665
2004 May 04
2
error in file(file, "r"): all connections are in use
Hi, there. I am trying to read multiple files into R, but I got following message Error in file(file, "r"): All connections are in use. I clean up memory everytime I read in one file. Do i have to somehow release file connection everytime i read in one?? Thanks. Lei Department of Chemsitry University of Washington Box 351700 Seattle, WA 98195 Phone: 206-616-6882 Fax: 206-685-8665
2003 Jan 23
1
subset dataframe based on rows
...nd of the row else append a false at the end of the row in the end I want to be able to subset the whole data based on the appended true or false value. I could literally code like this, but I think there must be a better way to do this. Can someone give me a hint?? thanks. Lei Department of Chemsitry University of Washington Box 351700 Seattle, WA 98195 Phone: 206-616-6882 Fax: 206-685-8665
2002 Mar 28
3
how to run .r batch file
...n batch mode in the Rgui. but it didnt work. I checked the doc. it said Rcmd BATCH inputfile. it didnt work either. Can someone help? thank you. thank you. also if you can shed some light on passing command line arguements (like mybatchfile arg1 arg2), I would appreciate it!! Lei Department of Chemsitry University of Washington Box 351700 Seattle, WA 98195 Phone: 206-543-4153 Fax: 206-685-8665 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or...