Displaying 20 results from an estimated 10000 matches similar to: "Small Functions for Writing HTML Files"
2002 Mar 05
0
Improved HTML Reporting Functions
Hello Everyone,
First, I'd like to appologize for the e-mail confirmation that was
attached to my last message. It was entirely unintentional.
I've attached a set of R files that make writing HTML reports very easy.
I basically combined the HTML functions I wrote previously, David Dahl's
xtable from CRAN, and then wrote a series of wrapper functions to
automagically write the
2002 Sep 27
3
xtable()
Hi,
Does anyone know how to manually configure the number of digits printed
out from xtable()?
For example, I'm exporting a data frame through xtable() into a LaTeX
table, I only have two columns in the data frame so by default I only get
two decimal places. But I'd like at least 5 decimal places.
I had a look at ?xtable() but can't seem to find an example.
Cheers,
Kevin
2008 May 11
5
Are you writing "imperative" or "declarative" scenarios in your stories?
Hey all,
I just found Bryan Helmkamp''s (of webrat fame) slides on a presentation
he did at GoRuCo 2008:
http://www.brynary.com/2008/4/26/story-driven-development-slides-posted
On slides 21-24 he talks about writing good stories and shows gives two
examples.. the way not to do it and the way to do it. You can also see
the video of the presentation at confreaks
2006 Jun 21
7
Mongrel 0.3.13.1 -- Quick Small Fixes
Hi Everyone,
This is a small release that fixes a little bug, some of the
documentation, and adds the new RedirectHandler code and a @redirect@
call for the mongrel.conf files. It''s fresh so don''t rely on it.
Everyone should upgrade with the usual *gem update* command (which tells
you it''s "Upgrading...") and tell me how it works.
This release fixes:
* The
2007 Jan 11
3
batch job GLM calculations
Hello
I want to batch job the calculation of many GLM-models, extract some values and store them in a file. Almost everything in the script below works (read file, extract values and write them to file) except I fail in indexing the GLM with the modelstructure it should run. Running GLM's conventionally is no problem.
Conventionally a GLM is calculated as:
2006 Dec 25
15
What I Want For Christmas
Calling All Mongrel Minions!
I wanna have some fun and would like this as a Christmas present. The site http://www.workingwithrails.com/ has this lame popularity system that''s kind of irking some of the main Ruby contributors. I think it''s kind of funny, but would like to demonstrate what an army of motivated people can do to these kinds of popularity contests.
So, as a
2006 Sep 04
3
Mongrel Upload Progress 0.2 -- With Instructions and Examples
Hi Folks,
I''m sure tons of people are gonna ruin a whole drawer of their best
panties over this one.
Rick Olson worked on the mongrel_upload_progress gem, documentation and
examples and has almost everything you need to do progress tracked file
uploads using just Mongrel to handle the upload. This means that Rails
(or any other framework) isn''t blocked while the upload
2010 Nov 11
3
Evaluation puzzle
The survexp function can fail when called from another function. The "why" of
this has me baffled, however.
Here is a simple test case, using a very stripped down version of survexp:
survexp.test <- function(formula, data,
weights, subset, na.action, rmap,
times, cohort=TRUE, conditional=FALSE,
ratetable=survexp.us, scale=1, npoints, se.fit,
2007 Mar 06
4
[PIMP] Topfunky''s httperf PeepCode screencast (Zed A. Shaw)
Hi,
Thanks Zed - this is very interesting. One item in particular caught my
eye: Does anyone on this list have any comments or validation that
Rails 1.2.1 is 2-4 times as slow as Rails 1.1.6? Topfunky provided a
link that purports what looks like really horrible performance and
memory characteristics for Rails 1.2.1, even v. 1.1.6:
2006 Jun 29
2
Mongrel 0.3.13.3 Needs Debuggers
Hi Everyone,
I have a small pre-release for Mongrel that will eventually be the
0.3.13.3 release, but it needs some quick testing before I make it
official. There''s a bug for only some folks and I need to find out
what''s causing it.
The bug is that the object_id method gets the signature:
def object_id(param)
end
Which is incredibly evil. Normally this does nothing to
2006 Sep 07
5
Mongrel Ultimate Deployment Certified Rails Aptitude Program
I''m proud to announce the official Mongrel certification program:
http://mongrel.rubyforge.org/certified.html
Move quick, seats are filling fast for the RubyConf courses.
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
2006 Mar 04
5
Correcting Bent Records: Mongrel is not SCGI
Hi,
I kept getting a very weird question about Mongrel
(http://mongrel.rubyforge.org) and SCGI that I think really needs to be
cleared up:
** Mongrel is not SCGI and will never need, use, require, or interact with
SCGI (unless someone wants to write the handler for it). **
For some reason people have been under the impression that Mongrel actually
uses or interacts with my other project SCGI
2006 Dec 22
3
Zed, you''re a moron :-)
Hi !
My mongrel just starting spitting out these nice lines:
The error occured while evaluating nil.accept. TELL ZED HE''S A MORON.
!!!!!! UNHANDLED EXCEPTION! You have a nil object when you didn''t
expect it!
Not sure what happened or why, but just FYI: Zed, you are a moron :-)
Happy holidays!
Gitte Wange
2012 Dec 21
2
Why can't I "unclass" an array?
In a real example I was trying to remove the class from the result of table, just because
it was to be used as a building block for other things and a simple integer vector seemed
likely to be most efficient.
I'm puzzled as to why unclass doesn't work.
> zed <- table(1:5)
> class(zed)
[1] "table"
> class(unclass(zed))
[1] "array"
>
2012 Dec 21
2
Why can't I "unclass" an array?
In a real example I was trying to remove the class from the result of table, just because
it was to be used as a building block for other things and a simple integer vector seemed
likely to be most efficient.
I'm puzzled as to why unclass doesn't work.
> zed <- table(1:5)
> class(zed)
[1] "table"
> class(unclass(zed))
[1] "array"
>
2006 Jun 11
1
StatusHandler
Zed,
Very cool, finally got around to playing with StatusHandler and
StatisticsHandler. One thing that was missing that I wanted was insight
into _what_ the RailsHandler was working on, and what was queued up
while it sat in single-threaded mode -- ie., the current list of requests.
W/ the attached mongrel.conf, I hacked the RailsHandler to keep a hash
of active requests, and spit that out
2006 Sep 03
4
Mongrel 0.3.13.4 Pre-Release -- Docs and more Docs
Hi Everyone,
Just want to get out another ping on the Mongrel pre-release saga. I''ve
updated a bunch of the documentation to include documents people have
donated and to beef up the FAQ for most of the questions people have
asked over the past month.
INSTALL
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
CHANGES
* Fixed memory leak by switching to Sync rather
2006 Mar 15
9
Mongrel Web Server 0.3.11 -- Edge Rails and Win32Compliant
I don''t think there''s a way to do that other than using a proxy
(ISAPI_REWRITE) or just a server-side redirect. I''d love to be proven
wrong though.
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of frazer horn
Sent: Wednesday, March 15, 2006 9:13 AM
To: rails@lists.rubyonrails.org
Subject:
2007 Aug 01
5
[HELP] Mongrel Needs a Patch Maven
Hey folks,
I''m falling behind in my Mongrel duties and seriously need to recruit an enterprising individual to take on the patch queue and help push out a new release with some minor fixes. The goal would be to just get patches that are currently languishing, pull them together, put them in the source, write some tests to try them, and then one slight design change.
If this works out
2007 Aug 11
3
The Team is In Place
Hello Everyone,
I''d like to just officially announce that the new volunteers are in charge and given control of the project.
I won''t be doing anything more than helping them get ramped up, but they''ll be in charge of doing all the stuff you folks want and are basically the owners from now on.
Everyone in the new volunteer list will probably do a little announce, but