Tobias Sing
2009-Jun-09 14:07 UTC
[R] Writing Reports from R in Office Open XML format (ooxmlWeave?)
Dear all, has someone implemented functionality for writing reports from R in Office Open XML format (*), similar to what odfWeave does for the ODF format of OpenOffice? It would be great to have a kind of "ooxmlWeave".... at least for those of us who are forced to work in an MS ecosystem. (*) Office Open XML is the default, XML-based, file format for MS Word: http://en.wikipedia.org/wiki/Office_Open_XML Kind regards, Tobias
Duncan Temple Lang
2009-Jun-09 14:22 UTC
[R] Writing Reports from R in Office Open XML format (ooxmlWeave?)
Yes. We will release a version in the next few weeks when I have time to wrap it all up. There is also a Docbook-based version that uses R extensions to Docbook for authoring structured documents. D. Tobias Sing wrote:> Dear all, > > has someone implemented functionality for writing reports from R in > Office Open XML format (*), similar to what odfWeave does for the ODF > format of OpenOffice? It would be great to have a kind of > "ooxmlWeave".... at least for those of us who are forced to work in an > MS ecosystem. > > (*) Office Open XML is the default, XML-based, file format for MS > Word: http://en.wikipedia.org/wiki/Office_Open_XML > > Kind regards, > Tobias > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Ronggui Huang
2009-Jun-09 14:55 UTC
[R] Writing Reports from R in Office Open XML format (ooxmlWeave?)
Wow, It sounds great. Looking forward to it. 2009/6/9 Duncan Temple Lang <duncan at wald.ucdavis.edu>:> Yes. We will release a version in the next few weeks > when I have time to wrap it all up. > There is also a Docbook-based version that uses > R extensions to Docbook for authoring structured > documents. > > ?D. > > Tobias Sing wrote: >> >> Dear all, >> >> has someone implemented functionality for writing reports from R in >> Office Open XML format (*), similar to what odfWeave does for the ODF >> format of OpenOffice? It would be great to have a kind of >> "ooxmlWeave".... at least for those of us who are forced to work in an >> MS ecosystem. >> >> (*) Office Open XML is the default, XML-based, file format for MS >> Word: http://en.wikipedia.org/wiki/Office_Open_XML >> >> Kind regards, >> ?Tobias >> >> ______________________________________________ >> R-help at r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- HUANG Ronggui, Wincent PhD Candidate Dept of Public and Social Administration City University of Hong Kong Home page: http://asrr.r-forge.r-project.org/rghuang.html
Derek Eder
2009-Sep-03 17:17 UTC
[R] Converting from "date strings" to internal POSIX format?
I need to convert a date-style string: "2009-06-16 09:28:17.746" To its POSIX representation: 1245137297746 The function below converts my POSIX date to a string ... now I need to go backwards! render.t32 <- function(t32, tz = "CET") { timez <- ISOdatetime(1970,1,1,0,0,0, tz ="UTC")+t32/1000 return(format(timez,"%Y-%m-%d %H:%M:%OS3",tz="CET")) }> render.t32(1245137297746)[1] "2009-06-16 09:28:17.746" Have not succeeded in my attempts to understand POSIX and I thank you for your attention. ~Derek Derek N. Eder Gothenburg University Vigilance and Neurocognition Laboratory Medicinaregatan 8B Box 421 Gothenburg Sweden SE 405 30 tlf (031) 342-8261 mobil 0704 915 714 "The most dangerous thing in the jungle is not the snakes, the spiders, the tigers, ... The most dangerous thing in the jungle is your mind!"
Gabor Grothendieck
2009-Sep-03 17:24 UTC
[R] Converting from "date strings" to internal POSIX format?
I assume you mean you wish to convert it from text to to the numeric representation that POSIXct uses:> options(digits = 20) > as.numeric(as.POSIXct("2009-06-16 09:28:17.746"))[1] 1245158897.746 If you just want convert it to POSIXct then omit the as.numeric part. On Thu, Sep 3, 2009 at 1:17 PM, Derek Eder<derek.eder at lungall.gu.se> wrote:> I need to convert a date-style string: ?"2009-06-16 09:28:17.746" > To its POSIX representation: 1245137297746 > > > The function below converts my POSIX date to a string ... now I need to go backwards! > > > render.t32 <- function(t32, tz = "CET") > ?{ > ? timez <- ISOdatetime(1970,1,1,0,0,0, tz ="UTC")+t32/1000 > ? return(format(timez,"%Y-%m-%d %H:%M:%OS3",tz="CET")) > ?} > > >> render.t32(1245137297746) > [1] "2009-06-16 09:28:17.746" > > > Have not succeeded in my attempts to understand POSIX > and I thank you for your attention. > > ~Derek > > > Derek N. Eder > Gothenburg University > Vigilance and Neurocognition Laboratory > Medicinaregatan 8B > Box 421 > Gothenburg Sweden > SE 405 30 > > tlf (031) 342-8261 > mobil 0704 915 714 > > "The most dangerous thing in the jungle is not the snakes, the spiders, the tigers, ... > The most dangerous thing in the jungle is your mind!" > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >