Displaying 20 results from an estimated 600 matches similar to: "Text Mining with Facebook Reviews (XML and FQL)"
2012 Nov 16
1
xmlParseDoc parser errors
Hi,
I have some XML files that have a processing instruction directly
after the XML declaration
when I do
kgroup.reading <- character(0)
for (file in file_list){kgroup.reading <-
xmlParseDoc(file.path("c:","projects","respositories","dk","004",file))}
I get the error
file name :1: parser error : Start tag expected, '<' not found
2011 Feb 13
1
RCytoscape setPosition error
Hi
Can some one please point out where i am wrong.
I am trying to position set of nodes column-wise in cytoscape using
RCytoscape
A----D
B----E
C----F
-------------------
g <- new ('graphNEL', edgemode='undirected')
cw <- CytoscapeWindow ('smallExample', graph=RCytoscape::makeSimpleGraph())
layout (cw, 'jgraph-spring')
redraw(cw)
nodesFr = c('A',
2011 Apr 06
1
Treatment of xml-stylesheet processing instructions in XML module
Hello again,
Another stumble here that is defeating me.
I try:
a<-readLines(url("http://feeds.feedburner.com/grokin"))
t<-XML::xmlTreeParse(a, ignoreBlanks=TRUE, replaceEntities=FALSE,
asText=TRUE)
elem<- XML::getNodeSet(XML::xmlRoot(t),"/rss/channel/item")[[1]]
And I get:
Start tag expected, '<' not found
Error: 1: Start tag expected, '<' not
2008 Mar 13
0
ActionView::TemplateError when FQL query does not return any results
I submitted this as a bug here:
http://rubyforge.org/tracker/index.php?func=detail&aid=18799&group_id=4187&atid=16130
However, I just realized that I probably should have posted here first. Has
anyone else had a similar experiance with queries that don''t return results?
I have the following FQL Query:
"SELECT uid FROM user WHERE has_added_app = 1 AND uid IN (SELECT
2008 Jan 16
10
Towards a 1.0 release
Hey everybody.
I''ve been using Facebooker on several projects over the last few
months and feel like it is really starting to mature. I''d like to push
towards a 1.0 release within the next month. I''d really like
everybody''s input on what still needs to be done, as well as some help
in wrapping things up. I''ve created a list of things that still
2012 May 15
1
KEGGSOAP installation error
Hello,
I'm trying to install KEGGSOAP with bioconductor but i'm facing this
problem:
/> biocLite("KEGGSOAP")
BioC_mirror: http://bioconductor.org
Using R version 2.15, BiocInstaller version 1.4.4.
Installing package(s) 'KEGGSOAP'
trying URL
'http://www.bioconductor.org/packages/2.10/bioc/src/contrib/KEGGSOAP_1.30.0.tar.gz'
Content type
2009 May 20
2
Example for parsing XML file?
Hi,
I am trying to parse XML files and read them into R as a data frame,
but have been unable to find examples which I could apply
successfully.
I'm afraid I don't know much about XML, which makes this all the more
difficult. If someone could point me in the right direction to a
resource (preferably with an example or two), it would be greatly
appreciated.
Here is a snippet from one of
2008 Mar 24
1
Support for unparsed responses and json parser
This is my first message to the list. Hello everybody!
I just wanted to let you know that I submitted a couple of patches for
two features that you might find them of interest.
The first one adds support for unparsed responses to
Facebooker::Session and Facebooker::Service models. This allows to use
the
Facebooker::Session.post method to obtain a plain response from the
Facebook API, useful for
2015 Apr 11
1
XML Parser failing due to cryptic Serial Number.
I set virt-manager in qemu:///system space and tried to add new VM but it didn't proceed. Found out serial in crypic form.
# cat /sys/devices/virtual/dmi/id/product_serial
ÿÿÿÿÿÿÿ
#virt-manager --debugTraceback (most recent call last):
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 225, in _reparse_xml
self._xmlobj = self._build_xmlobj(self._get_raw_xml())
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when
using multiple mongrels. I can successfully add and edit data on my
index via the DRB server, however, when I search the index, I get the
following error:
DRb::DRbConnError (DRb::DRbServerNotFound):
/usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server''
/usr/lib/ruby/1.8/drb/drb.rb:1709:in
2012 Sep 26
1
RCURL ftp upload - ASCII or Binary type?
I'm trying to upload a file using RCURL:s ftpUpload() to a ftp-server using the following command:
> ftpUpload("'VERY.ODD.FILE.NAME(+1)'",to="ftp://x.x.x.x/","' VERY.ODD.FILE.NAME(+1)'",userpwd="USER:PASSWORD")
OK
0
The file I'm trying to upload is a very simple text-file but with a bit weird filename. Note the ' on each
2013 Mar 20
1
htmlParse (from XML library) working sporadically in the same code
I am using htmlParse from XML library on a paricular website. Sometimes code fails, sometimes it works, most of the time id doesn't and i cannot see why. The file i am trying to parse is
http://www.londonstockexchange.com/exchange/prices-and-markets/international-markets/indices/home/sp-500.html?page=0
Sometimes the following code works
n<-readHTMLTable(htmlParse(url))
But most of the
2009 Sep 24
2
Downloading data from from internet
Hi all,
I want to download data from those two different sources, directly into R :
http://www.rateinflation.com/consumer-price-index/usa-cpi.php
http://eaindustry.nic.in/asp2/list_d.asp
First one is CPI of US and 2nd one is WPI of India. Can anyone please give
any clue how to download them directly into R. I want to make them zoo
object for further analysis.
Thanks,
--
View this message in
2008 Jan 15
0
Best way to build a query?
Hello,
I am currently taking various users parameters and build an FQL query.
For example, I I was given:
query = "indian reservation"
date: 20050101 to 20070303
location = USA
Human version: Get all of the documents containing "indian reservation"
which were published between 20050101 to 20070303 in the USA
FQL: +content:(indian reservation) +date:{20050101 20070303}
2010 Aug 30
4
getNodeSet - what am I doing wrong?
Hi,
Why is the following retuning a nodset of length 0:
> library(XML)
> test <- xmlTreeParse(
> "http://www.unimod.org/xml/unimod_tables.xml",useInternalNodes=TRUE)
> getNodeSet(test,"//modifications_row")
Thanks for any hint.
Joh
2007 May 10
5
Segmentation fault on large index
I''m getting a segmentation fault on a large index (15GB). I''m running
ferret 0.11.4 on OpenSuSE 10.2 with ruby 1.8.6. The segmentation
fault appeared after I optimized the index, see further below for the
error message I got before that. Ferret works perfectly on other (smaller)
indexes.
Is this a known issue, and if so, is there a workaround?
--------------------- after
2009 Apr 22
1
how can I get the friends of a fb user only using his facebook id
hello,
with facebooker can I get a list of someone''s facebook friends, only using
his facebook id?
If yes, then please let me know how... (and don''t read further)
If this is not possible, then here is my problem:
-------------------------------------------
I have a flash movie embedded in the canvas page of my Facebooker
application.
The movie gets information from an xml
2009 Jan 17
1
2009 Wish list for R
2009 Wish list for R (no particular order):
- some way of placing backslashes in literal strings without escaping them.
Useful for latex, regular expressions and Windows file paths. This seems
to come up from time to time on the lists. Ruby, python, Perl and other
scripting languages have various ways to handle this which might be used
as a model.
- in Windows, some way to tell
2013 Jan 29
2
converting XML document to table or dataframe
I am a relatively new user to R, and I am trying to learn more about
converting data in an XML document into "2-dimensional format" such as a
table or array. I might eventually wish to export this data into a
relational database such as SQL, and/or to work with this data within the R
package.
My sample XML document is located at "
2012 May 31
2
Add another one: the same sealert problem
I hadn't paid attention when one or two folks recently posted this, but
it's hit us, also:
$ sealert -l d1655210-f43c-4737-98dc-86b6aac82bb6
Entity: line 53: parser error : Input is not proper UTF-8, indicate
encoding !
Bytes: 0x99 0x3C 0x2F 0x74
<tpath>`</tpath>
^
failed to connect to server: xmlParseDoc() failed
I tried reinstalling