Displaying 20 results from an estimated 22 matches for "htmltools".
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All,
Rails 1.1.2
Win XP Pro
Rubyful Soup 1.0.4
htmltools 1.0.9
I am terribly confused as to what pulling in a gem does with respect to
how many modules get loaded at runtime.
I am using two gems in my app, Rubyful Soup and htmltools.
RubyfulSoup requires one module from the htmltools gem
(html/sgml-parser).
My app requires the RubyfulSoup gem.
When...
2006 Jun 05
6
HTML Parsing libraries
Hi,
What is the best way to parse HTML?
Or is there a simple way to convert a table to an array?
I tried beautiful_soup and the built-in htmltools, but have trouble
getting them to run.
Any pointers?
Thanks, Hari
--
Posted via http://www.ruby-forum.com/.
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>"...
2006 May 16
0
htmltools 1.09 doesn''t play nice with ActionPack strip_tags!
All,
I''ve discovered an incompatibility between HTMLTools 1.09 (a very handy
HTML parser) and ActionPack 1.12.1.
Basically, they both do some HTML parsing and they both create a module
named HTML::Tag, which causes confusion when said Tag object attempts to
be instantiated in the ActionPack context.
That said, now I get to choose which one''s...
2017 Sep 28
1
rgl crash on windows 7
...rDevices/libs/x64/grDevices.dll FALSE
graphics C:/Program
Files/R/R-3.4.1/library/graphics/libs/x64/graphics.dll FALSE
stats C:/Program
Files/R/R-3.4.1/library/stats/libs/x64/stats.dll FALSE
Rcpp
c:/kw/R/win-library/3.4/Rcpp/libs/x64/Rcpp.dll TRUE
htmltools
c:/kw/R/win-library/3.4/htmltools/libs/x64/htmltools.dll FALSE
jsonlite
c:/kw/R/win-library/3.4/jsonlite/libs/x64/jsonlite.dll TRUE
tools C:/Program
Files/R/R-3.4.1/library/tools/libs/x64/tools.dll FALSE
httpuv
c:/kw/R/win-library/3.4/httpuv/libs/x64/httpuv....
2006 Jun 23
1
rubyful_soup works fine as an RB file but bugs in Rails
...#2):
1: <%
2: require ''rubyful_soup''
3: require ''open-uri''
4:
5: url = "http://www.google.com/search?q=ruby"
RAILS_ROOT: /app/sites/exe/ifeel/public/../config/..
Application Trace | Framework Trace | Full Trace
/usr/lib64/ruby/gems/1.8/gems/htmltools-1.09/lib/html/stparser.rb:11
/usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
#{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require''
/usr/lib64/ruby/gems/1.8/gems/htmltools-1.09/lib/html/tree.rb:16
/usr/lib64/site_ruby/1.8/...
2017 Oct 18
1
dygraphs, multiple graphs and shiny
...https://stackoverflow.com/questions/30509866/for-loop-over-dygraph-does-not-work-in-r
the solution to have the plot shown from a RNotebook is code like this:
> library(dygraphs)
> lungDeaths <- cbind(mdeaths, fdeaths)
> res <- lapply(1:2, function(i) dygraph(lungDeaths[, i]))
> htmltools::tagList(res)
and if you put that into an RNotebook and knit it, it works. Okay in order to have a reproducible example, I now try to create a Shiny App using that example, and the template generated by RStudio. To use dygraphs in Shiny, you replace the normal render and plot routines, such...
2022 Oct 29
1
tools:: extracting pkg dependencies from DCF
...quot; "tibble"
>> >> >> >> [6] "tidyr" "testthat" "xml2" "knitr" "rmarkdown"
>> >> >> >> [11] "flextable" "officer" "stats" "htmltools" "grid"
>> >> >> >>
>> >> >> >>
>> >> >> >> The only gotcha that I see immediately is that "LinkingTo" isn't always
>> >> >> >> there (whereas it is with real output from av...
2006 Jan 10
1
OT: Scraper library recommendation
...e here has experience
in the area, so...
I''m writing a website scraper script that needs to download a web page,
traverse the (X)HTML tree and finally insert data and HTML pieces into
a DB. Eventually this data will be served up as RSS and/or Atom.
I''m currently using html/tree (htmltools); I''ve also tried Rubyful Soup;
both have their own shortcomings. What do you people suggest?
Regarding htmltools: I had to tweak it quite a bit, as it wouldn''t recognize
XHTML-style "empty" tags (for instance, it dislikes <link ... />).
What''s even worse...
2018 Oct 09
1
Cannot install packages
Hi,
Every package I try to install in R i get the same error "had non zero-exit
status".
I use Ubuntu 18.04.1 LTS
how can i fix this? Thank you
This shows up when I try install.packages("Rcmdr", dep=T)
Error : package ?htmltools? was installed by an R version with different
internals; it needs to be reinstalled for use with this R version
ERROR: lazy loading failed for package ?rmarkdown?
* removing ?/home/ernes/R/x86_64-pc-linux-gnu-library/3.5/rmarkdown?
ERROR: dependency ?shiny? is not available for package ?miniUI?
* r...
2006 Mar 17
0
Installed Gems on godaddy.com
...m/_h_admin_/gems.html#RedCloth>,
sqlite-ruby <http://www.situationman.com/_h_admin_/gems.html#sqlite-ruby>. Easy
to install, multi-user blog software
Executable is elitejournal.
*gnuplot 2.2* [www] <http://rgplot.rubyforge.org/> Utility library to aid
in interacting with gnuplot
*htmltools 1.09* [www] <http://ruby-htmltools.rubyforge.org/> This is a
Ruby library for building trees representing HTML structure.
*instiki 0.10.2* [www] <http://www.instiki.org/> - depends on
madeleine<http://www.situationman.com/_h_admin_/gems.html#madeleine>,
rails <http://www.situ...
2002 Oct 02
0
rsync rsh XP->Unix Terminal Read cygwin
...h
I am using the cygwin version of rsync, and the windows XP version of remsh.
Can anybody tell me what is happening? Any hints on what to do next?
Administrator@WOTTPAWLOWM-XP1
/cygdrive/e/perforce_data/atlantic_it4sb2/devroot/
src/iwr/impromptuserver/app.exe/child.lib
$ rsync -v -n --progress htmltools.cpp defender:/home/pawlowsm/test
Terminal read: The parameter is incorrect.
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data strea...
2016 Nov 04
0
Major Update to rms package: 5.0-0
...lists so can handle mixture of numeric and character, e.g., name of
clustering variable
* survplotp.npsurv: new function for interactive survival curve graphs
using plotly
* anova, summary, latex, print for model fits: use options(grType='html')
or 'latex' to set output type, output htmltools::HTML marked html so that
chunk header doesn't need results='asis'
* latex methods - set file default to ''
* GiniMd: moved to Hmisc package
* plot.nomogram: fixed bug where abbreviations were being ignored. Thanks:
Zongheng Zhang
* nomogram: improved examples in help file
* su...
2016 Nov 04
0
Major Update to rms package: 5.0-0
...lists so can handle mixture of numeric and character, e.g., name of
clustering variable
* survplotp.npsurv: new function for interactive survival curve graphs
using plotly
* anova, summary, latex, print for model fits: use options(grType='html')
or 'latex' to set output type, output htmltools::HTML marked html so that
chunk header doesn't need results='asis'
* latex methods - set file default to ''
* GiniMd: moved to Hmisc package
* plot.nomogram: fixed bug where abbreviations were being ignored. Thanks:
Zongheng Zhang
* nomogram: improved examples in help file
* su...
2016 Nov 03
0
Massive Update to Hmisc package
...g>
* ggfreqScatter: added html argument
* knitrSet: was ignoring default figure h and w
* html.summaryM: new function using new version of latex.summaryM
* markupSpecs: new list object defining markup elements for latex and html,
used by summaryM
* show.html, print.html: removed; conflicted with htmltools/rmarkdown
* label: required exact match on attribute name "label" to not retrieve the
"labels" attribute (thanks: Ivan Puzek)
* htmlSN: new function to convert floating point to scientific format usint
html
* upData, cleanup.import: fix NA becoming new factor levels (thanks: Bea...
2016 Nov 03
0
Massive Update to Hmisc package
...g>
* ggfreqScatter: added html argument
* knitrSet: was ignoring default figure h and w
* html.summaryM: new function using new version of latex.summaryM
* markupSpecs: new list object defining markup elements for latex and html,
used by summaryM
* show.html, print.html: removed; conflicted with htmltools/rmarkdown
* label: required exact match on attribute name "label" to not retrieve the
"labels" attribute (thanks: Ivan Puzek)
* htmlSN: new function to convert floating point to scientific format usint
html
* upData, cleanup.import: fix NA becoming new factor levels (thanks: Bea...
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote:
> I used bcond locally and wrongly assumed that fedpkg build would
> support --with BCOND and --without BCOND. Instead, the way to activate
> it is to change to "%bcond_with check" and then revert to
> "%bcond_without check". The only difference with bootstrap is that
> "bootstrap" is recognized
2020 Jun 04
2
mclust package installation is preparing for lazy loading and never finishes
...tf8
callr ellipsis hexbin mime processx
robustbase uuid
cellranger evaluate highr modelr progress
rprojroot vctrs
cli fansi hms modeltools promises rstudioapi
viridisLite
clipr farver htmltools mstate ps
rvest webshot
coda.base flexmix htmlwidgets muhaz purrr
scales whisker
colorspace flexsurv httr munsell qpdf
selectr withr
crayon flextable isoband mvtnorm quadprog...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...R-GenomicFeatures
* R-GenomicRanges
* R-getPass
* R-ggplot2
* R-ggplot2movies
* R-gh
* R-git2r
* R-globals
* R-glue
* R-gmailr
* R-gmp
* R-gplots
* R-gsl
* R-gss
* R-gtable
* R-gtools
* R-haven
* R-here
* R-hexbin
* R-hgu133acdf
* R-hgu95av2cdf
* R-hgu95av2probe
* R-highlight
* R-highr
* R-hms
* R-htmltools
* R-htmlwidgets
* R-httpuv
* R-httr
* R-hunspell
* R-igraph
* R-import
* R-ini
* R-inline
* R-IRanges
* R-IRdisplay
* R-IRkernel
* R-iterators
* R-itertools
* R-jose
* R-jpeg
* R-jqr
* R-jsonlite
* R-knitr
* R-labeling
* R-lambda.r
* R-later
* R-lazyeval
* R-lintr
* R-listenv
* R-littler
* R-lmodel...
2006 Jun 27
25
1.1.3 available.
Hello,
DHH has just announced the release of Rails 1.1.3
http://weblog.rubyonrails.org/2006/6/27/rails-1-1-3-security-fix-and-minor-fixes
rails-1.1.3
activerecord-1.14.3
actionpack-1.12.2
actionmailer-1.2.2
actionwebservice-1.1.3
The announce without the repetition :)
"Rails 1.1.3: Security fix and minor fixes
Posted by David June 27, 2006 @ 08:07PM
We''ve found and fixed a