Displaying 20 results from an estimated 4000 matches similar to: "How to handle empty arguments"
2006 Feb 02
1
Two foreign keys to the same table
Hi,
I''ve two tables:
ProductLists (id, name, ...)
Product (id,name,product_list_1_id, product_list_2_id, ...)
How can I map the fields product_list_1_id and product_list_2_id to the
ProductLists table in activerecord?????
Thanks.
--
Posted via http://www.ruby-forum.com/.
2009 Sep 15
8
Portal:The First Slice-Odd Graphic Glitch
I have had this problem both with 8.04 and 9.04 / with 1.0.1 and 1.1.29
i have intel celeron 3.33ghz radeon express 200 onboard ati graphics
I install steam which has a wierd thing of scrolling down and right staying there so i must install games threw the actual website
i downloaded the portal demo and here is what happened
on 8.04:
Launch options= -dxlevel 81 (to load intro screen with
2013 Feb 17
2
Loop
Hi all,
I want to execute a loop of a program:
for (u in Timeframemin:Timeframe){}
Imagine that Timeframemin<-10
Timefram<-10000
Is it posible to execute the loop but only proving from 10 to 10000 but
jumping 10 each time, for example, execute for 10,20,30.....to Timeframe.
Other question is, when a program is "heavy" and has a lot of loops to
execute (how can I know where
2014 Oct 14
1
OT: Would you purchase this hardware?
I have about $1200 to spend on 2 boxes and I'd like them to be identical.
Very basic web serving, simple HTML5 video, light email serving. Looking
around NewEgg, I come across:
http://www.newegg.com/Product/Product.aspx?Item=9SIA65C1ZT3064
These use ECC unbuffered RAM which is expensive but I did find 8gb sticks
for under $70 each:
2008 Jan 09
5
Anyone know of complete hardware solution based IDE Raid Controllers?
Years ago Accusys made an IDE raid controller that presented itself as
one drive to the BIOS, making the unit completely OS agnostic.
Anything like that out there, anymore?
Cheers,
Brett.
2011 Apr 04
3
Tips for motherboard with multiple PCI / PCI-e slots
Hi,
I need to fit at least three NICs and I was looking for motherboard models
that contain 3 or 4 CPI (or PCI-e) slots and works with CentOS.
I had a problem in the past with some models that had a bug and did not work
well with linux (ok with windows) so that's way I am asking this here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Sep 24
5
[Bug 2281] New: sshd accepts empty arguments in ForceCommand and VersionAddendum
https://bugzilla.mindrot.org/show_bug.cgi?id=2281
Bug ID: 2281
Summary: sshd accepts empty arguments in ForceCommand and
VersionAddendum
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: sshd
2005 Apr 15
1
dealing with empty actual arguments matched by '...' formals
I'm trying to write some functions to deal with empty actual arguments
that are picked up by '...' formals. Such actual arguments are common
(and very useful) in calls to subsetting functions, e.g., x[1:2,]. It
seems that R and S-PLUS treat these arguments differently: in S-PLUS
list(...) will return a list containing just the non-empty arguments,
whereas in R list(...) stops
2018 Jun 01
0
user macros with multi-line arguments in Rd (was Re: Rd parser throws error for user macros invoked with empty argument)
Thanks for the report, I am testing a patch that will allow multi-line
arguments to user macros.
Best
Tomas
On 05/25/2018 04:45 PM, Georgi Boshnakov wrote:
> While on the topic of Rd macro arguments, it seems that if a multiline argument is supplied, the lines after the first are silently ignored:
>
> f <- tempfile()
> mac6 <- "\\newcommand{\\mac6}{mac6: #1}"
>
2011 Oct 06
1
apply and functions with many arguments
Dear all,
I would like to use the following function
fitdist(data, distr, method=c("mle", "mme", "qme", "mge"),
start=NULL, fix.arg=NULL, ...)
for many different distr values like distr=c("norm","lnorm","pois") (just a small example)
and take back into a list the parameter name which is what is inside distr plus what the
2010 Oct 18
1
Directive for first and last array arguments
Hello everyone,
could you help me learn if there are any directives that can be used to address
the first and last element of a matrix array?
I would like to thank you in advance for your help
Best Regards
Alex
[[alternative HTML version deleted]]
2010 Nov 17
2
How to catch warnings
Hello when my code executes I receive the message that were some warnings. I want to catch warning messages at run time so to print some local variables and try to understand why this warning happens.
I searched on internet and I tried withCallingHandlers(
which seems to work but as I used Rkward the result is awful. I get a prompt to copy paste a value only while at the same time my background
2006 Jun 29
2
zero.print in print.table after adding margins
The function addmargins() adds margins to a table, but returns a matrix.
But even after converted to a table the print.zero="." option of
print.table() does not work:
> x <- sample( 1:7, 20, replace=T )
> y <- sample( 1:7, 20, replace=T )
> tt <- table( x, y )
> tx <- as.table( addmargins( table( x, y ) ) )
> print( tt, zero.print="." )
y
x 1 2
2006 Jun 29
2
zero.print in print.table after adding margins
The function addmargins() adds margins to a table, but returns a matrix.
But even after converted to a table the print.zero="." option of
print.table() does not work:
> x <- sample( 1:7, 20, replace=T )
> y <- sample( 1:7, 20, replace=T )
> tt <- table( x, y )
> tx <- as.table( addmargins( table( x, y ) ) )
> print( tt, zero.print="." )
y
x 1 2
2012 Jul 30
6
Convert variable to STring
Dear all,
I have a variable that I would like also to use it as a string. The reasons is that I want to collect results from different function to one table.. So when I use the
colnames(mymatrix) <-c(function1.function2,function3)
the function1, function2, function3 to be "converted" to simple strings so as
colnames(mymatrix)
2010 Nov 18
3
Sample covariance matrix in R
Hello everyone.
I would like to find the sample covariance matrix using R.
So far I read on the wikipedia what a sample_covariance is
http://en.wikipedia.org/wiki/Sample_covariance
according to wikipedia one vector is enough to calculate the sample covariance matrix.
In R I tried cov(myvector) and I get the reply that I need to pass either two argument or one matrix with x,y values .
How can I
2011 May 28
2
reduce printing accuracy
Dear all,
I would like to print a few values with less digits than the default.
How I can reduce how many digits are printed ?(warning: not the real integer resolution but what is shown in screen)
Best Regards
Alex
2010 Oct 26
5
Zoom in in a plot
in a simple plot. When i do plot is it possible to zoom in or out or this is not
possible at all?
Best Regards
Alex
[[alternative HTML version deleted]]
2013 Mar 06
2
lm and Formula tutorial
Dear all,
I was reading last night the lm and the Formula manual page, and 'I have to admit that I had tough time to understand their syntax. Is there a simpler guide for the dummies like me to start with?
I would like to thank you in advance for your help
Regards
Alex
[[alternative HTML version deleted]]
2005 Jun 29
6
statistics + c code
Good morning :)
I want to use some c code to read statistics as well
as the configured settings ... .. Just give me some
links for starting reading :)
Have a nice day
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com