[R] substituting XML tags with custom values

2012-03-22 Thread filip
Hello, I have an xml document with a following element: ACAGTTGACACCCTT I would like to parse a new sequence of characters inside the "taxon" tags. I started looking into XML package documentation, but cannot find a simple solution yet. My code: # load packages require(

[R] [Debian][NetBeans] setting NetBeans to work with JRI libraries

2010-10-15 Thread filip
"-Djava.library.path=/home/filip/Pobrane/JRI/". When I run the application I get the following: "Cannot find JRI native library! Please make sure that the JRI native library is in a directory listed in java.library.path. java.lang.UnsatisfiedLinkError: /home/fb/Pobrane/JRI/libjri.so: libR.so: can

[R] Reading a data frame from R to excel

2009-09-15 Thread filip rendel
Hello! I've generated multiple data frames that I wish to export to excel using the function write.table. When I do so all the data is merged into a single column in excel. I Would like the columns of my data frame in separate columns in excel as well but it doesn't work. I tried to download th

[R] Adding rownames with different lengths to a table

2008-04-27 Thread filip rendel
Hello! I would like to add names to a table. The table presents median values, numbers of values (n) and percentage(%) for a given agegroup. Thus I would like to add a label above these three variables for each category. But if I try to use colnames I get a message telling me that the number of

[R] Adding text above a table

2008-04-27 Thread filip rendel
Hello! I've made tables in R and I would like to add text explaining the table in R. How could I do that? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] Adding columns to a grouped data frame

2008-04-10 Thread filip rendel
Hello! I'm working with a big data set of patients. The data consists of different variables sorted rowwise for each patient. Now I want to add a new variable for each patient by adding two different variables of the data frame. [[alternative HTML version deleted]] ___

[R] Naming rows oe columns in a data frame.

2008-04-07 Thread filip rendel
Hello there! I have a really basic question. I have extracted some data from a big database. I have ordered the data in to different agegroups in the rows. Now I want to to have labels of the columns which is going to be divided into men , women and totals. How do I give names to a column? My d