similar to: Any way around using only 1 render per action?

Displaying 20 results from an estimated 200 matches similar to: "Any way around using only 1 render per action?"

2002 May 28
2
histogramming dates
I'd like to make a plot showing frequency of an event. The data is in a data from that includes Year, Month and Day (of month) fields, so I created a Date with ISOdate(Year, Month, Day, tz=''). I can plot frequencies for the year 2002 with > thisyear <- Date[Year==2002] > hist( thisyear, xaxt='n' ) > axis.POSIXct( 1, at=seq(min(thisyear), max(thisyear),
2010 Oct 06
2
Mailing labels
Any easy way to print on mailing labels that have 3 columns? I need these to fit in my laser printer. I have no trouble with single column labels, but I don''t know how to make a partial display 3 times across a page with different records. Thanks Bob <bsm2th-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> -- You received this message because you are subscribed to the Google Groups
2012 Sep 11
10
wickedpdf
Hi all i''m trying to generate pdf and i got this error Location of wkhtmltopdf unknown and i also get Bad wkhtmltopdf''s path gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize'' /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'' /EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf''
2013 Feb 04
3
Wicked pdf
Hello Guys I am using rails 3.2.8 and wickedpdf. Its working well in local but not in production.Below is the production logs error. "***************\"/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtmltopdf\" -q \"file:///tmp/wicked_pdf_9892_0.html\" \"/tmp/wicked_pdf_generated_file_9892_0.pdf\" ***************" RuntimeError: Failed to
2011 Feb 02
0
webrick, thin and shotgun bug? with dragonfly and wicked_pdf/PDFKit
Hi, i''have started a discussion in dragonfly google group because of problems using dragonfly image processing gem with wicked_pdf. http://groups.google.com/group/dragonfly-users/browse_thread/thread/c8602007c3e43753 In these post I have linked to a public github project for testing this issue. There''s also a heroku app: http://wicked.heroku.com/projects.pdf debug mode of
2012 Nov 26
5
Missing template pages/layout only occasionally
I have my app email me errors when they occur. I get this about 2-3 times a week with thousands of hits a day to the site. pages/show is a .html.erb file that renders the partial _strategicrelationshipacademy.html.erb essentially. Or whatever partial it calls for. I get this on many different ''pages''. Obviously the partial exists if it renders it fine most of the time. What
2008 Aug 12
1
Problem with using read.csv with web address
Hello, I have a problem with using read.csv(). I want to read a table from the ONS neighborhood statistics website which has an address:
2009 Jan 22
2
Converting ddf/dct/sas data definition file to R
Dear all, I was wondering whether anyone knows about a program which converts (part of) a data definition file (such as a .dct file for stata, or .sas file for sas) into an R-script. Here is an example with a .sas file: <-- snipp VALUE HTYPE (default=32) 0 = "Not in household" 1 = "Married couple family household" 2 =
2020 Oct 29
0
Creating unique code
Hi Hannah, Yes, that does give me more insight. The polygyny only doesn't matter, for even if there was polyandry it could be coded in the same way. If I understand this correctly you have one variable (SPRULE) that must contain information about the household of the individual and the identities of his (or her) relationship partner(s). The household number can accommodate up to three
2003 Aug 20
1
query on converting survey data from one structure to another
Dear R users, I am trying to convert a dataset from one format to several rectangular datasets. A consultant helped design the data entry program for our survey using Delphi/Pascal and for each household the information is stored in a file called "EA-HM-HH.TXT" where EA is the enumeration area number, HM is the homestead number and HH is the household number. Within this file the
2013 Feb 25
3
How to use same css in pdf for wkhtmltopdf
hi I am not getting the css in my pdf i wanna use same css for my pdf also rather going for new css for pdf. how can I use same css which I use in my views. I am using wkhtmltopdf for pdf generation and one more thing is how get page page brake using wkhtmltopdf. Cheers, Kp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
2009 Jul 21
0
Function for Estimating Fractional Multinomial Logit Model?
I need to estimate a model that predicts the proportional split of travel among the vehicles of a household based on vehicle characteristics such as age, fuel economy, and travel cost per mile. The model estimation dataset has a record for each household vehicle with information about the vehicle, the household, and the proportion of the total household vehicle travel using that vehicle. I have
2005 Jul 14
1
Single-table inheritance and eager loading
I have a people table with four types of people: clients, spouses, children, and others all setup using single-table inheritance with a foreign key back to a household record. A Household has_one client and spouse, and has_many children and others. I want to use a single "Household.find(@session [:household_id], :include => [:client, :spouse, :children, :others])"
2007 Oct 28
0
calibration question
Good afternoon! I have the following data: a<-data.frame (id_hh=c(1:5), strata=c(1,1,2,2,1), Nhstrata=c(100,100,200,200,100), Nrmemb=c(2,4,2,5,4)) a$ocmemb1<-c("wk","jl","st","jl","st") a$ocmemb2<-c("wk","jl","st","wk","wk") where id_hh is a code of identification for the household (my
2002 Nov 14
1
analysis of data with observation weights
Dear R-users, Recently I had to analyze a dataset from household survey. The sample design ensured, that each household in the population has the same probability of being sampled. However the data were gathered from only one adult individual in each household, who was randomly choosen by an interviewer (via "Kish grid"). To equalize the probabilities for each INDIVIDUAL a casewise
2020 Oct 27
2
Creating unique code
Hello, I need some help in creating a new variable. I need to create a 'couple identifier', which gives a unique code for every couple/triple/... in a household. So, I can identify couples. To do this, I should use 4 variables: * SERIAL = a unique numeric code for each household * PERNUM = a unique numeric code for each person * SPLOC = the numeric code of the spouse in the
2007 Oct 27
1
[non-statistics question]methodological problem
Good afternoon! As mentioned in the subject, my question regards more the methodological part that accompanies survey design and the statistical part that is involved. So, I have the following data: a<-data.frame (id_hh=c(1:5), strata=c(1,1,2,2,1), Nhstrata=c(100,100,200,200,100), Nrmemb=c(2,4,2,5,4)) a$ocmemb1<-c("wk","jl","st","jl","st")
2012 Apr 17
1
random effects using lmer
Hi, I am trying to run a logistic regression to look at the risk of malaria infection in individuals. I want to account for intra household correlation and so want to include a household level random effect. I have been using the lmer command in lme4 package but am getting some strange results that are completely different to those I get using STATA. Can I just check that this is the correct
2010 Aug 03
0
Multilevel GEE (2 nested clusters)
Hi R-Help. I am working on a data set with a 3-level nested structure. I have individuals nested in households and multiple observations on each individual. I assume that the individuals inside a given household are correlated and that the individuals are correlated with themselves over time. The data is not balanced. I have computed a GLMM with logit link function and two random normal
2007 Sep 07
1
R survey package again
Hi R-users!! I have some trouble with the survey pakage and i would be very glad if you can give me an advice. I have a sample from a survey where household were interviewed. The sample has 4 criteria on which the stratification was based: REGION, SIZE OF HOUSEHOLD, SIZE OF LOCALITY, AGE OF HEAD OF HOUSEHOLD. Since i don't have the whole information in each cell of the cross