similar to: Server-side Image Maps in Rails

Displaying 20 results from an estimated 1000 matches similar to: "Server-side Image Maps in Rails"

2006 Dec 11
1
a web interface to identify()
i have a function like this: # show a plot and run a script when the user clicks on a plot, # where the script arguments correspond to the user-selected point. blah <- function(x, y) { plot(y~x) n <- identify(x=x, y=y) com <- system(command=paste("bleh", names(y)[n])) } i would like to do this via a web page instead of x11() etc. eg: 1) a user clicks on
2006 Mar 10
0
link_to(... :popup => true) problem
I have a file_column that points to a pdf. I want that pdf to open in a new window, thus wrote the code: <%= link_to(''PDF version'', url_for_file_column(''floor_plan'', ''pdf_file''), :popup => true) %> which generates the code: <a href="/floor_plan/pdf_file/12/first_floor.pdf" onclick="window.open(this.href);return
2004 Aug 11
1
RxFax - tiff file problem
Hi all, We use tiff version 3.5.7-2 and spandsp-0.0.1k with asterisk version 0.7.2-4 on debian unstable. Our asterisk server receives calls and faxes from a mobile operator. We are connected to their Cisco router which connects to our asterisk over VoIP that goes inside a Vlan over 100Mbit fiber which passes a few switches. RxFax works and we receive faxes, but the tiff file is sometimes malformed
2001 Feb 03
1
tk non-widget commands (esp. update and winfo)
Hi, I've been playing with the tcltk package. It's very nice to have access to buttons, menus etc. now. Thank you! Alas, I also have questions: In Tcl everything is a string [*]. This is not the case in R, of course. So why are return values of tk commands still strings? (Is there any other reason than speed or "package is work in progress"?) Example: > tt <-
2002 Oct 01
2
Does R have graphlets?
I've been experimenting some with the graphlets which S-Plus 6.1 has. Is there something similar in R? I've looked through documentations, and at SJava, but haven't found it. (If you don't know what a graphlet is, here's what it appears to be: a graphlet is a binary file that encodes information about a graph. Java uses spgraph.jar to display the graph and allow certain
2014 Aug 22
0
Wine release 1.7.25
The Wine development release 1.7.25 is now available. What's new in this release (see below for details): - Implementation of the packet capture library. - A few more DirectWrite functions. - Improvements in HTML table support. - More VBScript math functions. - Various bug fixes. The source is available from the following locations:
2011 Jan 11
0
modified FAST Script from package SensoMineR for the R community - Reg
###Dear R users ###I have been using SensoMineR package from CRAN for most of my work in sensory data analysis and from my usage experience, I encountered some areas for improvement and considered ###modifying the function in SensoMineR package for my personal use. I felt that it could be useful to share this to the community for enabling adoption by other users where they might require a
2009 Feb 16
1
Help with rgl
Hi, I don't know much about the RGL package, and I have read the documentation and tried some parameters, with no luck... I would like to generate a movie from a 3D object (code below), where the vortex A is closer to the observer, and then the object rotates and the B vortex gets closer. I would like to capture this movie to a file. By the way, I am not being able to insert unicode text
2009 Mar 10
1
North Arrow (.png file) on a Map
Hi list. I would like to know how do I insert a North arrow, stored as a png file in my computer, in a map? I found lots of post asking similar things, one of them mentioned the pixmap package. The map was done using map() and shapefiles (the code is below). I’m using the pixmap () and addlogo() functions. Well I can import the png with pixmap() function (I guess, once there’s no error message),
2000 Nov 20
1
Bug in stars.R (PR#739)
Hi all, Please let me know if this isn't the correct place to report bugs in contributed code. Otherwise, the following code contains one additional line and a short comment above it. The extra line of code catches the unusual situation where a data column contains all 0 values. The corrected code is below the signature. Thanks for your help. Tom Thomas S. Dye, Ph.D.
2007 Apr 03
1
which points within an ellipsoid? Sorting data in 3d
Hello, in a three dimensional coordinate system, I'd like to find all my experimental data points that fall within an ellipsoid around a fixed coordinate. The fixed point is defined by (x.coord.point, y.coord.point, z.coord.point). The coordinates of the ellipsoid are given by the three vectors x,y,z. In a previous version of my code, I simply used a box instead of an ellipsoid to sort
2006 Oct 16
5
Re : Generate a random bistochastic matrix
Thanks, I tried someting like this, but computation takes times for large matrices btransf <- function(y,X=length(y)^4) { N <- length(y) bm <- matrix(rep(1/N,N^2),N,N) for(j in 1:X){ coord <- sample(1:N,4,replace=T) d <- runif(1,0,min(bm[coord[1],coord[2]],bm[coord[3],coord[4]]))
2012 Jun 30
2
[LLVMdev] llc -O# / opt -O# differences
Hey everyone, I'm running stock LLVM 3.1 release. Both llc and opt programs have the -O# arguments, however it looks like the results are somewhat different. Here's a silly unoptimized bit of code which I'm generating from my LLVM-backed program ; ModuleID = 'foo' %Coord = type { double, double, double } define double @foo(%Coord*, %Coord*) nounwind uwtable ssp { entry:
2008 Mar 29
1
A patch for extending pdf device to embed popup text and web links
Dear all, I am sending a patch for extending pdf device to embed popup text and web links. I implemented this feature by using annotation object, a interactive feature of pdf. You can see a sample code for using this feature in the following, and sample pdf is in
2016 Oct 24
2
RFC: (Co-)Convergent functions and uniform function parameters
Hi all, Some brain-storming on an issue with SPMD/SIMT backend support where I think some additional IR attributes would be useful. Sorry for the somewhat long mail; the short version of my current thinking is that I would like to have the following: 1) convergent: a call to a function with this attribute cannot be moved to have additional control dependencies; i.e., moving it from A to B is
2006 Jan 25
1
How to use rfm.test ? (Package MarkedPointProcess)
I would like to compute the MC test (rfm.test) available in the package MarkedPointProcess (for the data BITOEK for example) in order to test the dependence between the marks and their locations. Why the syntax of rfm.test is false here? I have the message : ****************************** ML WARNING! Forbidden values! -- if there are too many warnings try narrower lower and upper bounds for the
2007 Oct 26
1
Help needed on calculation of Moran's I
Hi, I am trying to calculate Moran's I test for the residuals for a regression equation, but I have trouble converting my coordinates into nb format. I have used the dnearneigh() funtion now with an arbitrarily high upper distance to make it include all plots. However, when I do the lm.morantest() I get a Moran's I value which is the same as the expected value and a P-value of 1. I
2011 Aug 23
0
How to assign vector value as object name
Dear list, I have a table with entries for 20 animals - x and y coordinates to analyze movement with the package adehabitat. The package does all the necessary analyses, but I need to create an object of class ltraj for each animal first. For this kind of object I need to define xy coordinates, id, and few other things for each individual. Now I don't want to run a code 20 times
2016 Oct 24
2
RFC: (Co-)Convergent functions and uniform function parameters
On 24.10.2016 21:54, Mehdi Amini wrote: >> On Oct 24, 2016, at 12:38 PM, Nicolai Hähnle via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> Some brain-storming on an issue with SPMD/SIMT backend support where I think some additional IR attributes would be useful. Sorry for the somewhat long mail; the short version of my current thinking is that I would like to have the following:
2007 Dec 12
2
problem applying a conditional formula to each element of a matrix
I'm applying a function (Cov.f) defined below to each element of a distance matrix. When I run the code below, I get a warning message (below) and elements of returned matrix [2,3] and [3,2] are not zero as I would expect. Clearly, there is an error... What am I doing wrong? Thanks. --Dale Warning message: In if (h <= phi) { : the condition has length > 1 and only the first element