similar to: converting XML document to table or dataframe

Displaying 18 results from an estimated 18 matches similar to: "converting XML document to table or dataframe"

2013 Apr 12
1
Problem with handling of attributes in xmlToList in XML package
Hello all, I have a problem with the way attributes are dealt with in the function xmlToList(), and I haven't been able to figure it out for days now. Say I have a document (produced by nmap) like this: > mydoc <- '<host starttime="1365204834" endtime="1365205860"><status state="up" reason="echo-reply"
2008 Jun 25
0
Memory allocation failed: Copying Node
Following code bugs with "Memory allocation failed: Copying Node" error after parsing n thousand files. I have included the main code(below) and functions(after the main code). I am not sure which lines are causing the copying Node which results in memory failure. Please advise. #Beginning of Code for(i in 1:nrow(newFile)) { if(i%%3000 == 0) gc()
2011 Aug 16
1
convert an xml object into a list on R 2.13
Hi, I am manipulating xml objects using the package xml. With the version 2.10.1 this package included the function xmlToList that was converting the xml into a list straight away. This function seems to have gone when I moved to 2.13.0. Does someone has an equivalent for it? Thanks, Samuel [[alternative HTML version deleted]]
2006 May 30
11
Display XML file, with some formatting.
Hi. Im quite new to this Rails thing, but it seems like a good product so why not try it out whit a little prototype i need to build. What i want is to load any given XML file, and display it with some formatting. I have some XSD shemes to validate the XML files against, but its not vital rigth now. But how should i approach this task? At first it would proberly be a good idea to load the
2013 Jan 31
2
[LLVMdev] Tablegen problem populating TSFlags
It seems like this code should work with Tablegen, but it generates the error: "error:Invalid TSFlags bit in ADD" Here's the code: =================================== include "llvm/Target/Target.td" def MyInstrInfo : InstrInfo; def MyTarget : Target { // Information about the instructions... let InstructionSet = MyInstrInfo; } def r1 :
2007 Dec 10
1
Question re: RWinEdt conflicting with my WinEdt
Hi, This is a question regarding the RWinEdt package for R. I have WinEdt 5.5, RWinEdt 1.7-9, and R 2.6.0 on WindowsXP. Somehow my configuration or start up files between RWinEdt and WinEdt are getting confused. Usually when I open either one, the last files I was working on *with that program* are opened automatically. So if I last used mydoc.tex in WinEdt and myprogram.R in RWinEdt those
2005 Apr 13
1
How to plot Contour with NA in dataframe
Dear friends, I am trying to produce Contour Plot with R, but there are some NA in my data matrix. After I ran the following R script, I got the error message:"no proper `z' matrix specified". Does anybody know how to plot contour chart with R for the non-strict matrix? Thank you in advance!!!
2010 Jul 06
1
R2wd- how to open an existing document
Hi: How?can one open an existing word document with wdGet() I?am getting an error message when trying to open it like this: wdGet(filename="myDoc.doc",path="c/mydata") Looking at Tal Galili's website example it appears that double backslashes are used but i tried it and didn't work either. Thanks ? Felipe D. Carrillo Supervisory Fishery Biologist Department of the
2013 Apr 04
1
Non-vignette sweave file in package
Dear all, I'm documenting an elaborate analysis as a private package. The package writes all required output to a database. I use a Sweave file to transform all the results from the database into a report. Now I would like to add this Sweave to my package. I'm a bit puzzled on how to do that. It is not a vignette: the data is not available when the package is build and I need to
2008 Jan 24
1
package manual in pdf
Hi all, I am trying to write a pdf manual for my package. I create a file inst\doc\myDoc.tex. I taught that R CMD build will call latex on this file (like it is said in Writing R extension), but it does not happen. I also notice that a pdf manual is produce automatically but with a not so good presentation (very long lines that step outside the page for example). Where can I find the source code
2009 Nov 12
1
XML: Reading transition matrices into R
Hello, from a software I have the following output in xml (see below): It is a series of matrices, for each age one. I have 3 categories (might vary in the application), hence, 3x3 matrices where each element gives the probability of transition from i to j. I would like read this data into R (preferably in a list, where each list element is one of the age specific matrices) and - after altering
2008 Sep 05
5
Lowest k values of list
Hi @ all, how do I get the largest or lowest k values of list? It must similar to the min() / max() function, but I just don't get it. Best wishes, Markus
2015 Jun 29
0
Support for transparency in metafile export & support for export to Powerpoint
Dear all, For vector-based output, PDF export of R graphs works well, but unfortunately Office on Windows provide poor support for PDF and importing & exporting to other formats using Inkscape can be buggy. Enhanced metafile export in turn does not support transparency (also not in package devEMF - are there any plans to support this perhaps in the future?). And rasterising graphs to a PNG I
2006 Jul 17
6
Output and Word
Hi I have just started to have a look at R. I have used most stats software packages and can use perl, visual basic etc. I am interested in how well it handles lots of output e.g. tables or charts. How would you get lots of output most easily and quickly into a Word document? Sharon Snowdon ------------------------------------------------------------------------ - FIGHT BACK AGAINST SPAM!
2010 Oct 28
2
How to enable Arial font for postcript/pdf figure on Windows?
Hi, I need to generate some figure using the Arial font as a requirement for PLoS. Following their guidelines, I have converted the windows font files arial.tff files to .afm using tff2afm (exec file from MikTeX), but when I try to generate a postcript file, the postcript device does not recognize the .afm files. The code I use to test the new font is the following:
1999 Sep 09
0
print: spool filename not the doc filename
I use [Epson Stylus] path = /var/spool/samba comment = Epson Stylus Photo 750 - PC DO printer name = epson browseable = yes printable = yes public = yes writable = no create mode = 0700 printer driver = EPSON Stylus Photo 750 Printing is ok from win9x. I have filename problems... Suppose I print the file "mydoc.doc": as soon as I print a file, when it still is in /var/spool/samba, I
2006 Apr 07
0
odt2txt: OpenDocument to Markdown
I wrote myself a script to convert Open Document files to Markdown. Being able to do "odt2txt.py mydoc.odt | less" is the main motivation, but it also works for doing command line conversion of odt to html by combining odt2txt with any of the Markdown implementations. If anyone uses OpenOffice and wants to check it out: http://www.freewisdom.org/projects/python-markdown/odt2txt.php
2008 Aug 25
0
How to work with a file through the VBScript?
I have same script with generates a MS Word document based on a data in a Lotus Notes database. I can run Word from Lotus Notes well but I have a problem to open a Word document. This code Code: Set myDoc = myWord.Documents.Open("C:\windows\temp\test.doc") causes this error prompt (http://www.abclinuxu.cz/images/screenshots/5/3/102535-store-for-snapshots-16717.png). ("Could not