similar to: ajax search

Displaying 20 results from an estimated 600 matches similar to: "ajax search"

2006 Jan 18
3
Partial Problems
Hey guys, I''m having a little trouble working out partials. I have successfully made a partial work in my list.rhtml, but as I see it on the 15min introductry video. They guy uses one partial on multipul pages. At the moment I am trying this in my show.rhtml, I write <%= render :partial => "journal" %> and I get this. NoMethodError in Write#show > > Showing
2004 Jan 04
4
wxRuby Windows installer available for testing
I have a first cut of a windows installer for wxRuby available for testing. It can be downloaded with this URL: http://curthibbs.us/wxruby-mswin-0.2_debug.zip This installer currently assumes that you have installed Ruby from Andy Hunt''s one-click Ruby Installer for Windows, *and* that you have installed it in the default directory (C:\ruby). I still need to figure out how to read
2007 Sep 28
6
Prevent indexing depending on variable
Hi guys, I''m using attachment_fu on my site to allow users to upload pictrues. Pictures can be set to only allow friends to view them. The problem I''m having is ferret is indexing the images along with their thumbnails which means I end up with a lot of broken images in the search. Also it''s indexing images whose privacy is set to 1 (friends only). How could I go about
2007 Sep 08
8
SVN and Rails problem
Hi guys, I''ve finally managed to get my server up and running with mongrel_cluster and all that jazz. My rails app works fine, but when I try to access my svn repos as I was doing before everything was setup rail is giving me a 404. What can I add to my httpd.conf to prevent this? Here''s a snip from my httpd.conf relating to the domain: ---HTTPD.CONF---------------------------
2003 Jan 22
4
Read.table for macs
Dear All, I've been using R for windows for a while, without too many problems. However, I'm forced to use the MAC OS system for teaching, because our teaching labs are mac only (not my idea!!). I have a very basic problem, but one that doesn't appear on the FAQs. I simply want to import data from a spreadsheet. I'm using exactly what works fine on Windows, namely: 1 save
2006 Nov 17
2
Data table in C
After getting one list done, I am now struggling to form a data frame in C. I tried to do a list of lists which gives me : $<NA> $<NA>[[1]] [1] "BID" $<NA>[[2]] [1] 0.6718 $<NA>[[3]] [1] 3e+06 $<NA> $<NA>[[1]] [1] "BID" $<NA>[[2]] [1] 0.6717 $<NA>[[3]] [1] 5e+06 $<NA> $<NA>[[1]] [1] "BID"
2006 Nov 09
2
Retrieving function name
Hi, Does anyone know how I can retrieve a function name, for example If I have a function f as follows: f <- function( myfunc ) { print( name_of(myfunc) ); } I want to know what I should have as "name_of" such that I could call this with : f( median ) and it would print "median" or f( my_function_name ) and it would print "m_function_name". So far all I
2006 Nov 14
2
String to list and visa versa
Hi, I need to collapse a list into a string and then reparse it back into the list. Normally when I need to do this I simply use write.csv and read.csv, but I need to do this in memory within R rather than writing out to file. Are there any bespoke commands that any knows of that does something like this or any tips for doing this that anyone can suggest? I basically don't care
2006 Nov 21
1
dyn.load
Hi everyone, Now I know there is information on this in the help files - which I have read. I am very close to implementing this but can't quite get how to remove this final hurdle. I have a DLL called "X.DLL" which I have no original code for, just the DLL. I have created a wrapper C file for the calls in X.DLL, and have successfully (I think) created a wrapper DLL for X
2004 Jan 06
2
Debug and Release builds of the wxRuby Windows Installer
Ok, I now have both debug and release build installers for wxRuby 0.2 on windows. As I said in my earlier emails these are designed to install on top of Andy Hunt''s one-click Ruby Installer for Windows (version 1.8.0). In the start menu I create a wxRuby group with shortcuts to run the sample apps and to display "wxRuby Help" (which is just a freshly updated version of the
2006 Oct 27
1
Overloading functions
Hi Everyone I have a function f which does something using a function g. Function f is in a library and g has a default stub in the library but will be mainly overloaded in a later R script. For example: ########## In a compiled package 'P' ################# g <- function() { cat("Original function g"); } f <- function( newGsource=NULL ) { if(
2004 Jan 06
5
Another Updated - wxRuby Windows installeravailable for
Hmm everything installed fine but when I try to run the samples I get an error dialog stating: "rubyw.exe - unable to Locate Component This application has failed to start because MSVCRTD.dll was not found. Re-installing the application may fix this problem." Which unless you are supplying the debug microsoft dll''s, re-installing will have no effect :) This was on WinXP
2005 Jul 16
14
Thoughts on Second-Tier Documentation
In the course of this argument, keep in mind that I think Rails is making excellent progress in the development of documentation and community. I am only trying to develop discussion of where we need to go next. A consistent theme we are seeing on this list, I believe, is frustration caused by the lack of second-tier documentation. So far we have... -- the various tutorials which are
2012 May 30
2
Simple example for High performance computing with R?
Dear list, I want to run two independent calculation (A, B) and then combined their results to do a plot in R. Before I just run calculation A first, then calculation B. It will take some times. I just have one server with multiple core. I noticed that there are some nice package in R for parallel calculation, such as parallel, multicore and snow. Also there is a book, O?Reilly ? ?Parallel R,
2007 Jan 30
4
Speed of for loops
Hi Everyone, I have a question about for loops. If you have something like: f <- function(x) { y <- rep(NA,10); for( i in 1:10 ) { if ( i > 3 ) { if ( is.na(y[i-3]) == FALSE ) { # some calculation F which depends on one or more of the previously generated values in the series y[i] = y[i-1]+x[i]; } else { y[i] <- x[i]; } } } y } e.g. >
2007 Jan 30
4
Speed of for loops
Hi Everyone, I have a question about for loops. If you have something like: f <- function(x) { y <- rep(NA,10); for( i in 1:10 ) { if ( i > 3 ) { if ( is.na(y[i-3]) == FALSE ) { # some calculation F which depends on one or more of the previously generated values in the series y[i] = y[i-1]+x[i]; } else { y[i] <- x[i]; } } } y } e.g. >
2006 Sep 12
2
Memory problems with a custom R package
Hi everyone, I have been attempting to build a very simple R package interfacing with some very simple C++ code. Everything I try though results in the function working but on return it produces a memory error. Here is the output: ***********OUTPUT*************************** > library(MyPackage) > hello(); *** caught segfault *** address 0x3, cause 'memory not mapped'
2006 Oct 25
1
Cross-compilation
Hi everyone, I am trying to cross-compile a package I wrote using the Yan and Rossini tutorial "Building Microsoft Windows versions of R and R packages using Intel Linux". I have got reasonably far with this but when doing the linking using the line: i586-mingw32-g++ -shared -s -o mylibrary.dll mylibrary.def mylibrary.o mylibrary_res.o
2006 Dec 09
2
Floating point maths in R
Hi, I am not sure if this is just me using R (R-2.3.1 and R-2.4.0) in the wrong way or if there is a more serious bug. I was having problems getting some calculations to add up so I ran the following tests: > (2.34567 - 2.00000) == 0.34567 <------- should be true [1] FALSE > (2.23-2.00) == 0.23 <------- should be true [1] FALSE > 4-2==2 [1] TRUE > (4-2)==2 [1] TRUE >
2005 Mar 30
35
Respect and Disappointment
I''ve finally started a blog. I really didn''t want to go public with it until I was sure I keep it up, but DHH posted a entry to his blog that I feel compelled to comment on. You can read about it on my blog: http://www.bloglines.com/blog/CurtHibbs Curt