similar to: How to read a xml file?

Displaying 20 results from an estimated 2000 matches similar to: "How to read a xml file?"

2016 Mar 31
2
R igraph
Estimados Copio un mensaje de error que da igraph, es más fácil verlo que explicarlo. > fastgreedy.community(udatos) Error in .Call("R_igraph_community_fastgreedy", graph, as.logical(merges), : At fast_community.c:553 : fast-greedy community finding works only on graphs without multiple edges, Invalid value > cluster_louvain(udatos) IGRAPH clustering multi level, groups: 7,
2016 Apr 01
2
R igraph
Estimado Luisfo Chiroque Hay aristas múltiples, eso es por la preparación de los datos, es que separe por componentes, no me refiero al término componente estadístico, sino a descomposición de algo en los componentes que lo construyen, algunos son comunes y otros no, cuándo son comunes hay una relación en la red. Voy a probar con simplify, cuándo lo leí yo lo descarté, lo releeré, ¿Qué opina de
2016 Jun 01
2
data.frame colname igraph
Envío el mismo código con un head, observar que el data.frame no es al estilo: degree(datos.network) 1 Ficha 1022 9 2 Ficha 1024 10 > version _ platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64,
2016 Jun 01
2
data.frame colname igraph
Si, ese es el problema, lo que implica por ejemplo que no pueda ordenar el data.frame por grados. Javier Rubén Marcuzzi De: JCMld Enviado: miércoles, 1 de junio de 2016 4:28 Para: 'Javier Marcuzzi'; R-help-es en r-project.org Asunto: RE: [R-es] data.frame colname igraph Creo que la conversión a data.frame está devolviendo un data frame con una sola columna llamada
2006 May 24
0
Problems validating form with collection_select
I have the following models: class Comandancia < ActiveRecord::Base has_many :elementos end class Elemento < ActiveRecord::Base belongs_to :comandancia validates_presence_of :nombre, :apellido_paterno, :apellido_materno, :comandancia end In the view for New Elemento I''m using <%= start_form_tag :action => ''create'' %> <%= render :partial =>
2012 Apr 27
4
salida informe html
Buenos días, Como resultado final de unos análisis espaciales que hago, genero unos mapas y gráficos. He creado una ficha como esta a mano: http://dl.dropbox.com/u/7026890/CM/RSesmaf.html en la que presento un mapa resultado con los puntos de muestreo y una serie de gráficos de evolución. ¿Sería posible generar algo similar con R? Por ahora lo que he encontrado sería escribir el html línea a
2016 May 31
2
data.frame colname igraph
Estimados Tengo un problema, creo que sencillo, pero hay algo que hice mal, coloco el código, básicamente desde igraph se realiza un análisis, y se me ocurre tener un data.frame para ordenar los resultados, pero justo en ese punto aparece un problema. ¿Alguna sugerencia? > version _ platform x86_64-w64-mingw32 arch x86_64
2016 Aug 29
4
encontrar fechas saltadas
Hola a todos: Apliqué el método, pero me salió lo siguiente; error in FUN(X[[i]], ...) : only defined on a data frame with all numeric variables. Me imagino que el error surgió ya que la tabla de valores que necesito encontrar tengo "FECHAS", "HORA" Y NUMERO . Por ejemplo; fecha hora datos 20/11/12 2:00:04 AM 12.905 21/11/12 3:00:04 AM 12.889 22/11/12 4:00:03 AM
2005 Dec 31
1
Error when Testing AWS API (ArgumentError: illegal refid http://test.host/login)
OK, I''m finally starting to play around with the AWS part of Rails, and I''m running into problems with the functional tests. If I use the generator to create the web service as ./script/generate web_sevice MyTest do_it and then run the unit tests without further editing the code, I get the following error: test_do_it(MyTestControllerApiTest): ArgumentError: illegal
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
2010 Jun 22
0
Working cludge [Re: SSOAP fails with .types[[1]] : subscript out of bounds]
Hi, so, last post from here unless I can provide any more input to fix the upstream package. On Tue, 2010-06-22 at 10:02 +0200, Steffen Neumann wrote: > So I got a bit further, the reason for the error is > that the WSDL *does not have* any <wsdl:types>...</wsdl:types>, I created a local copy and inserted a dummy <wsdl:types>...</wsdl:types> element. Then, my
2013 Jul 06
1
Duda trabajando con nombres de objetos que se reciben como parámetros
Algo asi? l <- list()l$nombre <- "Ana"l$apellido <- "Pérez"parametro <- "nombre"paste(l[ parametro][[1]], 'OnValidate', sep='')[1] "AnaOnValidate"l[ parametro][[1]][1] "Ana"x <- 1:5AnaOnValidate <- function(x) print(x)if (exists(paste(l[ parametro][[1]], 'OnValidate', sep=''))) do.call(paste(l[
2006 Sep 06
0
soapenc:base64 and xsd:base64Binary
Hello guys, I have a little mix in all those webservices and wsdl files and all this things, and I have maybe a strange question. I''m trying to consume webservice from different webservice implementation than ror. And I there is one thing from ror regenerated wsdl file. Method parameter defined by :base64 type is defined in wsdl as ''soapenc:base64''. My question is, why
2009 Feb 02
12
[RSpec] rcov and/or rexml bug?
Hi, Running: Ruby 1.8.7 p72, RSpec 1.1.12 and rcov 0.8.1.2.0, I get the following error message with $ rake spec:rcov -- /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]'': no implicit conversion from nil to integer (TypeError) from /usr/local/ruby1.8.7//lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap'' from
2007 Jun 07
1
Undefined method `register'' for REXML::Encoding:Module
Has anyone seen the below error before? It appears to only occur when Puppet runs automatically (i.e. a "puppetd --test" doesn''t cause it). I have recently installed new Ruby rpms on the server and I''m guessing that I may have left out something when I built the RPMS (based on FC7 SRPM). > -----Original Message----- > From: report@melrhweb1.nmh-au
2006 Apr 08
1
How do I fix these annoying errors?
C:\rails\brablog>ruby script/generate scaffold c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class has `-'' without escape
2013 Jul 06
2
Duda trabajando con nombres de objetos que se reciben como parámetros
Eva, ¿Algo asi o te entiendo mal? l <- list()l$nombre <- "Ana"l$apellido <- "Pérez"parametro <- "nombre"if (exists(paste('nombre', 'OnValidate', sep=''))) nombreOnValidate(1:5) # cuidado con el enviroment nombreOnValidateif (exists(paste('s', 'um', sep=''))) sum(1:5) # esto lo agrego como ejemplo[1] 15l[
2007 Nov 12
1
Microsoft SOAP - Help!!
Hello, I am trying to access Microsoft Live Search Using SOAP through R. In R I am using the RCurl packages to make the calls. I have the following situation that looks crazy and cannot figure out how to solve it: #SOAP Request library(RCurl) h = basicTextGatherer() body='<?xml version="1.0" encoding="ISO-8859-15"?> <SOAP-ENV:Envelope
2006 Feb 28
0
Ruby Feedparser and exceptions on valid feeds
I am using Ruby Feedparser and keep running into situations when a feed is valid but feedparser throws an exception - REXML::ParseException: Declarations can only occur in the doctype declaration. The following feed does validate at feedvalidator.org (with a warning, but does validate): http://www.engadget.com/rss.xml However, when I run feedparser I get this error: <REXML::ParseException:
2006 Jan 25
0
screenscraping using htmltools and rexml
Hi, I need to do some screen scraping and I''ve spent a couple hour getting htmltools and rexml do the right thing. Here''s the code: parser = HTMLTree::Parser.new(false, false) parser.feed(res.body) tree = parser.tree.html_node.as_rexml_document I works for one page, but for another I get "undefined method `add'' for #<HTMLTree::Element:0x37f9cc8>" in