search for: schaffer

Displaying 20 results from an estimated 49 matches for "schaffer".

Did you mean: schaffner
2009 Feb 13
1
error with make
Hi, I am trying to compile the R-dev version on a unix Suse machine and got errors. Would someone be able to help me determine what to do to fix these errors: make[1]: Entering directory `/lustre/people/schaffer/R-devel/m4' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/lustre/people/schaffer/R-devel/m4' make[1]: Entering directory `/lustre/people/schaffer/R-devel/tools' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/lustre/people/schaffer/R-devel/t...
2008 Jun 27
2
converting numbers to characters
Hi, I need to convert numbers to characters in order to index an array when I encountered the number 100000 which turned into "1e+05". Does anyone know how to get around this problem? Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La Jolla, CA 92037 (858) 784-2263 (858) 784-2994 schaffer at scripps.edu
2008 Jul 03
1
subset function within a function
...(ff) cov <- vector(mode="list",length=nLev) for (gp in 1:nLev) { cov[[gp]] <- covariate == levels(ff)[gp] } LIS <- vector(mode="list",length=nLev) #if (SINGLE == T ) LIS[[1]] <- LI else {} for (i in 1:nLev) LIS[[i]]<- lapply(LI, subset, select=cov[[i]]) Lana Schaffer Biostatistics/Informatics The Scripps Research Institute DNA Array Core Facility La Jolla, CA 92037 (858) 784-2263 (858) 784-2994 schaffer at scripps.edu
2006 Sep 26
7
Interesting mechanize difficulty
I found an interesting page today that I was trying to script against. The server returns a 404 with content and the page just works normally in firefox despite the 404. Mechanize raises an exception on it though. I''m working on a test case now.
2001 Sep 10
1
Multiresponse parameter estimation
...timation for a problem that is quite similar in form to the alpha-pinene example in Bates and Watts (1988), p. 147, where the model is a set of ODEs. I am specifically interested in obtaining the parameter covariance matrix, as well. Which package(s) in R would I use to do such a thing? Mark Schaffer Dept. of Chemical Engineering Queen's University Kingston, ON Tel: 613-533-6758 Fax: 613-533-6637 Email: schaffer at chee.queensu.ca http://chemeng.chee.queensu.ca/~schaffer/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www....
2009 Aug 17
4
vector replacement 1/0 to P/A
Hi, Can someone suggest an efficient way to substitute a vector/matrix which contains 1's and 0's to P's and A's (resp.)? Thanks, Lana
2006 Nov 02
5
Adding fields to a form
Is there a decent way to add a field to a form before posting it? I haven''t tried using HPricot manipulations just yet, since I can''t ever find really solid docs on hpricot.... Form#[]= doesn''t work because it first searches only pre-existing fields. I''m investigating how to write a patch now. But I thought maybe someone here might have an idea.
2009 Jun 25
2
Bad Form?
Hi, This is my first post, I wanted to ask a quick question about "Bad Form" -- rather, am I doing something with Mechanise I shouldn''t be doing? Here''s the long and short of it - I am using Mechanize with Cucumber and RSpec to test a *ahem* Perl XML web service.. talk about technology soup, but I have it working quite well. I have an example project on GitHub that
2006 Aug 15
5
Set up a default route
Phlip wrote: > Can I fix it by adding a view called ''inventories''? That worked, because I have a sufficiently late version of MySQL. Next question. What does "Set up a default route" mean? When I read... http://wiki.rubyonrails.com/rails/pages/Routes ...it reminds me of the Apache documentation for mod_rewrite. I hope someone appreciates the candor of my
2004 Jul 07
1
command line interface
How can plots (histograms) be implemented with the command line interface to R? Lana Schaffer
2008 Mar 11
8
Mechanize#get vs Mechanize#fetch_page
So I found myself wanting to call Mechanize#get with a hash for arguments like this: WWW::Mechanize.new(''http://api.flickr.com/services/rest/'', {:method => ''flickr.auth.getFrob''... }) Granted, it looks like this isn''t supported but it led me to what looks like a bug. Namely that get calls fetch_page(abs_uri, request, cur_page, &block)
2004 Aug 20
3
Partial Least Squares
Friends, Is there a Partial Least Squares package implemented in R? Thanks, Lana [[alternative HTML version deleted]]
2006 Jul 31
17
Ruby on Snails
I''ve been reading, hearing, and looking at blogs that state Ruby on Rails is rather slow. Coming from a VB 6 world (thank you Microsoft for killing VB because VB.NET is NOT VB) I was always told that VB was a toy or too slow. Now, I''ll easily tell you that yes VB was not a great language. It had it''s share of warts, like a lot of other languages I might add, but
2007 Jul 02
6
Basic auth bug in 0.6.9
I haven''t spent the time to get a proper test case for this yet, but there appears to be a bug in the basic_auth code for mechanize 0.6.9. I''ve attached a CSV (from Charles) that illustrates the problem. Basically when running with basic_auth, there''s a failed request that''s followed up by a successful request. That last POST is a agent.submit(form)
2004 Jul 23
2
graphing with error bars
I am not able to find information about doing line plots with error bars in the R- help information. Would someone like to tell me if this can be done in R and either get me started or lead me to information about how to do the error bars? Thanks, Lana
2006 Sep 18
2
BUG: Possible issue with escaped hrefs
I noticed an interesting problem today when scripting against a web app. The application contained a link in it that used %20 instead of spaces. After running mechanize through the Charles debugging proxy I found that mechanize was converting %20 to %2520 (double escaping the %20). This appears to happen under both 0.5.4 and 0.6.0. Here''s a simple set of files that demonstrate
2006 Jul 28
2
Slowness on PUT requests
I''ve been noticing about a 2 second pause between PUT requests when running either webrick or mongrel. GET, LIST and DELETE all work great. I tested this by using curl to make a lot of continuous requests. Even if I remove everything from the controller method and just replace it with render(:nothing => true) I still get the lag. So I don''t think it''s
2012 Aug 03
2
list files - unix bug?
Hi, when I call the function "list.files()" it also lists directories, although the parameter include.dirs is set to FALSE by default. The function also lists directories when the parameter include.dirs is explicitly set to FALSE "list.files(include.dirs=FALSE)". I have tested this also on a mac os -> same results. kind regards, simon > sessionInfo() R version 2.15.1
2006 Jul 31
3
Calling Image File
I''ve this small test app where I''m saving a user profile picture in a subdirectory under "public" folder. Now when a user uploads a picture - a unique directory is created under his id and then his/her image is stored there. Now while retrieving the image I only get the path name and nothing else. How can I get the image shown in the browser...HELP PLEASE!!! --
2008 Mar 15
4
[PATCH] Get requests with non-html referers
Hey, Aaron. Looks like that get with hash params patch you checked in had some side effects. Specifically, you''re testing if a referer is a Page (mechanize.rb:171), but the referer could also be a WWW::Mechanize::File. Like if the last page loaded was xml. Here''s a patch that addresses the issue. Thanks again, Mat -------------- next part -------------- A non-text