Re: [R] XML to CSV

2017-01-25 Thread Franzini, Gabriele [Nervianoms]
g if anyone had any suggestions. Thank you, Andrew On Thu, Jan 5, 2017 at 7:39 AM, Franzini, Gabriele [Nervianoms] <gabriele.franz...@nervianoms.com> wrote: Hello Andrew, as you are "clean slate" anyway in handling XML files, you could take a look to XSLT processing -- also an

Re: [R] XML to CSV

2017-01-05 Thread Franzini, Gabriele [Nervianoms]
Hello Andrew, as you are "clean slate" anyway in handling XML files, you could take a look to XSLT processing -- also an off-topic area. There are free tools available around, and many examples of "XML to CSV XSLT" on StackOverflow. HTH, Gabriele -Original Message- On January 4,

Re: [R] Presentation tables in R (knitr)

2014-11-26 Thread Franzini, Gabriele [Nervianoms]
I found also knitr + html + the ReporteRs package a good combination, and less intimidating than Latex. Have a look at their FlexTable tool. HTH, Gabriele -Original Message- From: Tom Wright [mailto:t...@maladmin.com] Sent: Tuesday, November 25, 2014 9:12 PM To: r-help@r-project.org

Re: [R] converting XML document to table or dataframe

2013-01-31 Thread Franzini, Gabriele [Nervianoms]
Hello, R is good at handling XML, but in this case I would rather do the first step with an XSLT transformation, e.g. with Saxon, possibly to a CSV file. HTH, Gabriele -Original Message- From: Anika Masters [mailto:anika.mast...@gmail.com] Sent: Tuesday, January 29, 2013 3:01 AM To:

Re: [R] Create a Data Frame from an XML

2013-01-24 Thread Franzini, Gabriele [Nervianoms]
Hello Adam, I had a similar problem with a big dataframe, and building an xmlTree in the clean way was extremely slow; so i resorted to manual method. Not tested, but if your dataframe is my_df, then something like the following should do: buildEntry - function(x) { cat(paste('z:row BRAND=',

Re: [R] run R script automatically by double-clicking WinXP desktopicon

2009-09-23 Thread Franzini, Gabriele [Nervianoms]
Hello Chris, I had the same problem, and I ended up driving R Gui through an Autoit script, see http://www.autoitscript.com/autoit3/ Regards, Gabriele Franzini -Original Message- From: cr...@binghamton.edu [mailto:cr...@binghamton.edu] Sent: 22 September 2009 19:37 To:

Re: [R] R connectivity with Oracle DB

2009-05-29 Thread Franzini, Gabriele [Nervianoms]
Hello Madan, I am rather novice as well, so I went the ODBC way. If you define an ODBC connection to Oracle, with System DSN dsn-name, the code to get the results of a query into, say, mydata is like : library(RODBC) # First of all channel - odbcConnect(dsn-name, uid=someuser) # double quotes

Re: [R] Building GUI for custom R application

2009-04-15 Thread Franzini, Gabriele [Nervianoms]
Hello Harsh, I found useful the fgui package ( http://www.people.fas.harvard.edu/~tjhoffm/fgui.html ). Regards, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL Nerviano Italy -Original Message- From: Barry Rowlingson [mailto:b.rowling...@lancaster.ac.uk]

Re: [R] change default output size when using Sweave

2009-04-09 Thread Franzini, Gabriele [Nervianoms]
Hi, I had a similar problem, and I took the direction of squeezing the output into a minipage, e.g.: ... @ \begin{minipage}[c]{0.6\textwidth} fig=TRUE, echo=FALSE= plot(...) abline(...) @ \end{minipage} ... HTH, Gabriele Franzini ICT Applications Manager Nerviano Medical Sciences SRL