Displaying 20 results from an estimated 800 matches similar to: "graphics rendering"
2006 Jun 15
7
Customising ''show''
Newb here;
I feel like im cheating when i actually write to the list, but i''ve
been stuck on this for a while now and cant seem to find the answer in
tutorials... heres the simplified version of the problem
controller says:
def show
@exhibition = Exhibition.find(params[:id])
end
content says:
<% for exhibition in @exhibitions %>
<%= link_to
2006 May 15
5
Australian Ruby/Rails Web Host
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: rebecca.vcf
Type: text/x-vcard
Size: 414 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060515/4cd2f87d/rebecca.vcf
2006 Feb 15
5
Formating @content_for_layout
Hi all, I sent a message earlier, so forgive me if you have already
read this (I got some cryptic message in German about how my
e-mail was not read?). Anyway, I was just wondering if there was
any way to format the html that is output using
<%= @content_for_layout %>
I want to use something like the PHP Beautify. I guess I could
write my own, but I was hoping that Rails already had
2006 Mar 01
2
Method Calling Problems
Hi all! I am attemping to call a method inside of my
LeviUserController named show_userland from my
LeviInterfaceController class. No matter how I do it,
I keep getting some type of error. If I make the method
a class method, then my render_partial inside of
show_userland can''t be found. If i call it using
@luser = LeviUserController.new;
@luser.show_userland;
I get an error with a nil
2006 Feb 14
3
Ruby equivalent to PHP Beautify?
Hi all,
I am working on a project in Rails for my senior seminar
class. I am fairly new to Rails but I have done a major
project, so I know a little. The one thing I cannot find
however is a way to make the html code that is output
look any cleaner. So, I was wondering if there was a
function/library/extension that worked like PHP
beautify. Thanks for your input in this matter. I am sure
I will
2006 Jan 31
5
resizing multiple images using getElementsByClassName
I am building a iPhoto like (Read rip-off) interface for thumbnails
and I am having a couple problems that I thought some one on the list
might be able to assist me on ...
first off here is the page: http://v4.incontrolsolutions.com/galltest/
I am no Javascript whizz and I am sure there is a FAR more efficient
way to do what I am trying. Having said that, the 2 things I was
looking for
2006 Mar 01
1
Using delegate templates
Ok, it looks like what I need to do is use a delegate
template, but I can''t find anything anywhere online.
Has anyone ever used this feature before and could
possibly explain it to me please?
--
Topher Fangio
fangiotophia@gmail.com
http://www.fangiotophia.com
Website Specialist
Fangiotophia Designs
(325) 660-7141
2013 Jan 22
6
plot two time series with different length and different starting point in one figure.
Hello,
I do have two different time series A and B, they are different in length and starting point. A starts in Jan, 2012 and ends in Dec, 2012 and B starts in March, 2012 and ends in Nov, 2012.
How can I plot those two series A and B in the same plot? I.E., from Jan. 2012 - Feb, 2012, it would have one data point from A and from Mar, 2012-Nov, 2012, it would have two data points from A and B,
2013 Mar 21
4
easy way of paste
Hello,
Is there a better way to use paste such as:
a = paste(colnames(list.indep)[1],colnames(list.indep)[2],colnames(list.indep)[3],colnames(list.indep)[4],colnames(list.indep)[5],sep="+")
> a
[1] "aa+dummy1+dummy2+bb+cc"
I tried
a = paste(colnames(list.indep)[1:5],sep="+")
> a
[1] "aa" "dummy1" "dummy2"
2013 Mar 20
3
How to look at the source code for predict()
Hello,
I try to look at the source code of predict() it turns out that I cannot find it.
I can see it with debug(library), but not efficient.
Can someone help?
Thanks,
Rebecca
----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:5}}
2007 Oct 01
4
Disentagling formulas
I am writing a program in which I would like to take in a formula, change the response (Y) variable into something else, and then pass the formula, with the new Y variable to another function. That is, I am starting with
formula <- Y~X1+X2+X3
and I'd like to do something like
Y <- formula$Y
newY <- f(Y)
lm(newY~X1+X2+X3)
So far, it seems that my
2018 Jul 11
2
VFIO console
Hello
For the past three years I have my computer been set with with multiple
virtual machine assigned to a GPU using QEMU/KVM and VFIO. For the past
year CentOS as been the host computer, it has been reliable. This
summer I switch to the Centos Enterprise package, it been work for
several weeks until Friday, sometime over the weekend the console
portion of the boot process does not
2007 Jul 20
6
automatically jpeg output
Dear R users,
I used R to draw many histograms and I would like to automatically save
them into a jpeg file. I tried the following code since I know .ps file
could be saved like this way:
postscript("AYA_ELA.jpeg",horizontal=F,onefile=T)
......#some funtions inside here
dev.off()
There was a jpeg file, however, there is no pictures inside. Any
suggestion?
Thanks.
Rebecca
2005 Aug 03
3
prcomp eigenvalues
Hello,
Can you get eigenvalues in addition to eigevectors using prcomp? If so how?
I am unable to use princomp due to small sample sizes.
Thank you in advance for your help!
Rebecca Young
--
Rebecca Young
Graduate Student
Ecology & Evolutionary Biology, Badyaev Lab
University of Arizona
1041 E Lowell
Tucson, AZ 85721-0088
Office: 425BSW
rlyoung at email.arizona.edu
(520) 621-4005
2009 Jun 25
2
Problems with subsets in NLME
I am trying to estimate models with subsets using the NLME package. However, I am getting an error in the case below (among others):
> subset <- c(rep(TRUE, 107), FALSE)
> fm2 <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1, subset=subset)
Error in xj[i] : invalid subscript type 'closure'
> fm2 <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1,
2013 Mar 19
4
How to get the t-stat for arima()?
Hello all,
fit = arima()
and
Summary(fit) will give some summary of the fit. However, the t-stats are not shown in the summary. How can I get the t-stats of it?
Thanks,
Rebecca
----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:5}}
2013 Jan 23
4
to check if a character string is in a group of character strings
Hello,
How can I judge if a string is in a group of string? For example, I would like to have
if (subpool in pool){
}else{
}
Where
> pool = c("s1","s2")
> subpool = c("s1")
How can I write the "subpool in pool" right in R?
Thanks very much!
Cheers,
Rebecca
----------------------------------------------------------------------
This message,
2008 Aug 05
3
doveot reporting "No space left on device" - yet df show plenty of space / inodes.
Hi,
I am running dovecot 1.0.rc7 on a Suse Linux server. The server has approx 200+ mailboxes.
Last week the filesystem (/dev/mapper/datavg/dat2lv) ran out of space - causing it to do into read-only mode. When I realised this I allocated some more space and re-booted the machine...
Strangely it seems that dovecot is still having problems... It's like dovecot doesn't realise that
2013 Mar 22
4
error while extracting the p-value from adf.test
Hello all,
I tried to extract the p-value from adf.test in tseries; however, I got the error message such as
> ht=adf.test(list.var$aa)
> ht$p-value
Error in ht$p - value : non-numeric argument to binary operator
> ht
Augmented Dickey-Fuller Test
data: list.var$aa
Dickey-Fuller = -2.3147, Lag order = 4, p-value = 0.4461
alternative hypothesis: stationary
> ht$data
[1]
2013 Feb 01
2
Range difference of plot two arrays in one plot
Hello all,
When I tried to plot the following two arrays in one figure with the following:
x = c(0,0,0,10,20,30)
y = c(40,50,60,70,80,90)
plot(x, type='o', ylim=c(min(x),max(x)))
par(new=T)
plot(y, type='l', ylim=c(min(y),max(y)))
Found that the first points and last points from those two arrays are overlapping together, but the value 30 is not equal to 90. How could I draw