search for: jkorpela

Displaying 7 results from an estimated 7 matches for "jkorpela".

Did you mean: korpela
2008 Oct 12
1
Thin spaces
Hi all, I'm looking at providing some nicer number formatting features for axes in ggplot2. One thing I would like to do is use thin spaces to separate digits, like you can in latex. I realise I can use unicode spaces to do this (e.g. http://www.cs.tut.fi/~jkorpela/chars/spaces.html), but what are the possible pitfalls. Is this likely to work on all graphics devices across all platforms? Thanks, Hadley -- http://had.co.nz/
2007 Oct 16
3
Sweave/ESS-like tools for HTML
...les for Sweave and I would edit them using ESS in emacs. What options do I have for producing HTML with embedded R content and what is a good, preferably emacs-based, way of editing the source code? One basic problem is trying to present mathematical expressions in HTML (see http://www.cs.tut.fi/~jkorpela/math/) but, aside from that, there are questions of presenting input R expressions and the corresponding output and of incorporating graphics files produced by R. I could try to use latex2html or texi2html but the output from latex2html at least would be quite inconvenient to use because it genera...
2005 Nov 17
1
original filename doesn't display in file_field
In my item upload view I have: <%= file_field ''item'', ''file'' %> and in my Item model: def file @file #@file.original_filename # <- also tried this end def file=(file) @file=file end And if the upload bails because of errors (and renders the same page), all other fields (text_field, text_area, etc.) retain their inputted values, but the file
2007 Jun 03
3
remote_form_for issue
Hi everybody, I''m trying to change my current forms in my app to remote_forms. It was my understanding that remote_form_for and form_for work in the same way, so I just wanted to change the methods. My code looks like: <% form_remote_for :post, :url => posts_url do |f| %> <%= render :partial => ''form_posts'', :locals => {:f => f} %> <%=
2007 Aug 31
1
locales and readLines
R-developers, I'm looking for some 'best practices', or perhaps an upstream solution (I have a deja vu about this, so sorry if it's already been asked). Problems occur when a file is encoded as latin1, but the user has a UTF-8 locale (or I guess more generally when the input locale does not match R's). Here are two examples from the Bioconductor help list:
2006 Aug 11
5
actionmailler corrupting emails
Hi All, I have a problem with actionmailer corrupting my html emails. It is adding the character ''3D'' before any quotes (single or double) in my source and smattering ''='' characters throughout as well. Very strange. Here''s an example from one of the emails: ________________ <body> <div id=3D''wrapper''> <div
2007 Feb 18
11
Tabulation with ENTER key
Dear all, I think this can be interesting for others too. For a while I tried to solve that problem - how to tabulate with ENTER/RETURN key too and not only with TAB. You know the problem - you are entering a lot of numbers from numeric keypad but you need to go far left to press TAB. This prevents one-hand data entry and prohibits web apps to be used by accountants, for instance. Here is a