Displaying 20 results from an estimated 120 matches similar to: "Using R htmlParse() for manipulating URLs to access multiple pages"
2013 Feb 28
0
Scraping data from website---Error in htmlParse: error in creating parser
I'm trying to scrape football projections from accuscore.com for the
different positions (right now the projections are set to zeros, but that
will change). I can get the QB projections, but I can't get the
projections for any of the other positions (e.g., RB). How can I get the
RB projections?
I'm not sure what the actual website for the RB and other projections is.
When I go to
2012 Sep 14
0
htmlParse pop ups over web pages
Hello All,
I am trying to write a routine that loops over some links and parses those links using htmlParse. The problem is that one of the links may display a pop up window on top of that link's web page. If there is a pop up, the routine bombs and I get an error message that the url doesn't exist.
Does the XML package (or perhaps another package) provide a way to deal with this
2009 Jun 30
1
How to pass parameters to htmlParse Bank of Canada html pages
To get USDCAD rates from Bank of Canada, we first go
url <- "http://banqueducanada.ca/en/rates/exchange-avg.html"
select 12 months for Rates for the past and click "Get Rates" button. Then
the page moves to
address <- "http://banqueducanada.ca/cgi-bin/famecgi_fdps"
and the rates show in the html page.
htmlParse() can read the html document but
2012 May 21
1
htmlParse Error
I am trying to parse a webpage using the htmlParse command in XML package as
follows:
library(XML)
u = "http://en.wikipedia.org/wiki/World_population"
doc = htmlParse(u)
I get the following error:
Error in htmlParse(u) :
error in creating parser for http://en.wikipedia.org/wiki/World_population
I am using a R 2.13.1 (32 bit version) on a 64 bit Windows. (I tried
installing it in
2012 Sep 04
0
get only little part of html with htmlParse
Here is my code.
there are three method to get text to be parded by htmlParse function.
1.file on mycomputer
options(encoding="gbk")
library(XML)
xmltext1 <- htmlParse("/home/tiger/Desktop/27174.htm" )
#/home/tiger/Desktop/27174.htm is the file of http://www.jb51.net/article/27174.htm downloaded on my computer.
2.url
options(encoding="gbk")
2012 Jan 30
1
Getting htmlParse to work with Hebrew? (on windows)
Hello dear R-help mailing list.
I wish to be able to have htmlParse work well with Hebrew, but it keeps to
scramble the Hebrew text in pages I feed into it.
For example:
# why can't I parse the Hebrew correctly?
library(RCurl)
library(XML)
u = "http://humus101.com/?p=2737"
a = getURL(u)
a # Here - the hebrew is fine.
a2 <- htmlParse(a)
a2 # Here it is a mess...
None of
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
2012 Jul 03
0
need help EM algorithm to find MLE of coeff in mixed effects model
Dear All,
have a general question about coefficients estimation of the mixed model.
I simulated a very basic model: Y|b=X*\beta+Z*b +\sigma^2* diag(ni);
b follows
N(0,\psi) #i.e. bivariate normal
where b is the latent variable, Z and X are ni*2 design matrices, sigma is
the error variance,
Y are longitudinal data, i.e. there are ni
2011 Sep 05
2
htmlParse hangs or crashes
Dear colleagues,
each time I use htmlParse, R crashes or hangs. The url I'd like to parse is included below as is the results of a series of basic commands that describe what I'm experiencing. The results of sessionInfo() are attached at the bottom of the message.
The thing is, htmlTreeParse appears to work just fine, although it doesn't appear to contain the information I need (the
2015 Dec 23
4
C7 apache file access
Pulling out what little hair I have here, but stumbled onto a possible
problem.
I have a server running C6 apache that is set up with personal
directories and no problem showing the files.
You can see it at: medon.htt-consult.com/~rgm/pogo
So I have a C7 apache server I am building. Files I create on the new
server are listing fine. Files I have copied (with cp -avr ...) get
permission
2013 Feb 21
4
Getting htmlParse to work with Hebrew? (on windows)
Hello dear R-help mailing list.
Looks like the same issue in Russian:
library(RCurl)
library(XML)
u = " http://www.cian.ru/cat.php?deal_type=2&obl_id=1&room1=1"
a = getURL(u)
a # Here - the Russian is fine.
a2 <- htmlParse(a)
a2 # Here it is a mess...
None of these seem to fix it:
htmlParse(a, encoding = "windows-1251")
htmlParse(a, encoding =
2015 Dec 23
3
C7 apache file access
On 12/23/2015 02:36 PM, Paul Heinlein wrote:
> On Wed, 23 Dec 2015, Robert Moskowitz wrote:
>
>> Pulling out what little hair I have here, but stumbled onto a
>> possible problem.
>>
>> I have a server running C6 apache that is set up with personal
>> directories and no problem showing the files.
>>
>> You can see it at:
2004 Apr 27
2
Problems with Samba 3 and XP Roaming Profiles
I've got some annoying Problems with roaming profiles. Perhaps someone is
able to help me...
I would like to use Samba as a PDC and for storing NT roaming profiles. When
I first installed Samba 3.02 and XP SP1 (Before that I used Samba 2.2.8a and
XP without SP1), XP downloaded the old profiles it found. But upon shutdown
or logoff, changes to the profiles were not written to the server. I
2005 May 26
1
export the graphical result of bwplot()
Dear all,
Maybe somebody can help me to understand my problem:
Inside a R script, I try to export the graphic results of 'bwplot' in some
jpeg files.
The data source ('main') is a mix of numeric and factor values
the "analysis_bwplot()" contains the loops (i and j) and calls the
"analysis_var_var_bwplot()" method.
"analysis_var_var_bwplot()" uses
2012 Jul 03
2
EM algorithm to find MLE of coeff in mixed effects model
I have a general question about coefficients estimation of the mixed model.
I simulated a very basic model: Y|b=X*\beta+Z*b +\sigma^2* diag(ni);
b follows
N(0,\psi) #i.e. bivariate normal
where b is the latent variable, Z and X are ni*2 design matrices, sigma is
the error variance,
Y are longitudinal data, i.e. there are ni
2008 Jul 01
8
Scaffolding: Create, Edit, Destroy in admin area
Hi Community,
I''m currently trying to create a blog software in rails, but I''ve got
a problem:
I generated scaffolding for my articles and only want administrators
to write, edit or delete articles. So I wanted to move this parts to
another, secured controller. The one controller to display articles is
called articles :), the other is also called articles, but is located
in a
2015 Dec 23
0
C7 apache file access
On Wed, 23 Dec 2015, Robert Moskowitz wrote:
> Pulling out what little hair I have here, but stumbled onto a possible
> problem.
>
> I have a server running C6 apache that is set up with personal directories
> and no problem showing the files.
>
> You can see it at: medon.htt-consult.com/~rgm/pogo
>
> So I have a C7 apache server I am building. Files I create on the
2015 Dec 23
0
C7 apache file access
On 12/23/2015 12:05 PM, Robert Moskowitz wrote:
>> If SELinux is working, then do
>>
>> setsebool -P httpd_enable_homedirs on
>
> Did not help.
>
> in messages I see:
>
> Dec 23 14:54:04 medon dbus-daemon: dbus[444]: avc: received
> policyload notice (seqno=3)
> Dec 23 14:54:04 medon dbus[444]: avc: received policyload notice
> (seqno=3)
> Dec
2015 Dec 23
0
Solved - Re: C7 apache file access
On 12/23/2015 04:36 PM, ????????? ???????? wrote:
> Robert Moskowitz ????? 2015-12-23 23:56:
>> On 12/23/2015 03:26 PM, John R Pierce wrote:
>>> On 12/23/2015 12:05 PM, Robert Moskowitz wrote:
>>>>> If SELinux is working, then do
>>>>>
>>>>> setsebool -P httpd_enable_homedirs on
>>>>
>>>> Did not help.
2010 Aug 09
0
No "Group Policy" tab in OU properties
Hi all,
Recently I deployed a Samba 4 ADS, using this (
http://wiki.samba.org/index.php/Samba4/HOWTO) as a guide.
Mostly it went well, until I came to the step of defining the group policy
for the OU.
I have an OU with users in them, and when I right-click on the OU container
and go to properties, I only have the following options:
- General
- Managed by
- COM+
I am therefore missing the