similar to: if ( expr )

Displaying 20 results from an estimated 50000 matches similar to: "if ( expr )"

2008 Apr 21
2
[Patch][RFC] Super Page Patch
The attached file is the super page patch which supports both 2MB and 4MB (depending on the paging modes of hypervisor) under hardware assisted paging. The idea is to allocate super pages when guests are being created. Whenever such requests cannot be satisfied, it falls back to normal 4KB allocation. Also it splits large pages into normal 4KB pages whenever necessary. This patch is applicable on
2010 Nov 26
3
Calling substitute(expr, list(a=1)) when expr <- expression(a+b+c)
# The result I am after is the result after a substitution in an expression, such as substitute(expression(a+b+c), list(a=1)) expression(1 + b + c) # However, the way I want to do it is for a an expression "stored as a variable" as (expr <- expression(a+b+c)) expression(a + b + c) # a) The following does not work (expr2 <- substitute(expr, list(a=1))) expr # b) - whereas this
2009 Jun 12
0
.doTrace problem with eval.parent(substitute(expr)) vs. lazy evaluation of expr
Here are a couple of problems with the use of eval.parent(substitute(expr)) instead of just lazily evaluating expr in the .doTrace function used by trace. (a) In S+ I sometimes use trace() to see how long a function takes to run with a tracer expression the saves the start time and calls on.exit to report the difference between the start and end times when the trace function ends. E.g., >
2020 May 03
4
[Bug 3158] New: ssh-copy-id raises "expr: syntax error" when double-hyphen is passed ("--")
https://bugzilla.mindrot.org/show_bug.cgi?id=3158 Bug ID: 3158 Summary: ssh-copy-id raises "expr: syntax error" when double-hyphen is passed ("--") Product: Portable OpenSSH Version: 8.2p1 Hardware: All OS: Linux Status: NEW Severity: minor Priority: P5
2013 Sep 13
1
expr error in 9-STABLE
Posting because I haven't seen this yet. I have been getting this error on 2 boxes for the last 2 days. Both boxes: root at Shop:/usr/src # svn info /usr/src/ Path: . Working Copy Root Path: /usr/src URL: svn://kryten.nina.org/src/stable/9 Relative URL: ^/stable/9 Repository Root: svn://kryten.nina.org/src Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 255501 Node Kind:
2010 Sep 02
0
[LLVMdev] [LLVMDev] [Modeling] About the structure of my allocator
Would I be correct in assuming that the alias set is defined as the registers which may reside in the same space as the register? In other words the register is either a super or sub register which holds the same physical location in the register set? Could someone please explain what the Alias set is if it is not what I described above? TargetRegisterInfo::getAliasSet( unsigned reg ) Thanks
2015 Jan 05
0
[Bug 979] expr json structure
https://bugzilla.netfilter.org/show_bug.cgi?id=979 --- Comment #3 from Alvaro <alvaroneay at gmail.com> --- (In reply to porjo38 from comment #0) > The output of nft_rule_snprintf_json() includes a JSON array called 'expr'. > I would like to suggest that each type be split into its own object where > the 'type' value becomes the key name. So for example, rather than
2013 Feb 18
2
quote() vs quote(expr=)
Hi all, I think there's a small buglet in quote: str(quote()) # Error in quote() : 0 arguments passed to 'quote' which requires 1 str(quote(expr = )) # symbol I bring this up because this seems like the most natural way of capturing the "missing" symbol with pure R code, compared to substitute() or bquote() or formals(plot)$x Hadley -- Chief Scientist, RStudio
2008 Jun 16
1
Execute expr with a timeout?
Hello, Does someone know how to execute an expression in R, limiting the time to evaluate it and raising an exception if it takes too long to run? Something like: > with.timeout(expr, timeout = 10) which stops the evaluation of 'expr' if it is not done after 10 sec? Best, Philippe Grosjean
2010 Sep 21
3
Error in eval(expr, envir, enclos)
I am absolutely new to R and I am aware of only a few basic command lines. I was running a robust regression in R, using the following command line library (MASS) rfdmodel1 <- rlm (TotalEmployment_2004 ~ MISSISSIPPI + LOUISIANA + TotalEmployment_2000 + PCWhitePop_2004 + UnemploymentRate_2004 + PCUrbanPop2000 + PCPeopleWithACollegeDegree_2000 + PCPopulation.of.or.over.65.years.of.age_2004)
2010 Jan 17
2
error: failed to serialize S-Expr
Last night I upgraded from b127 to b130 and now I can''t mark autostart domains: # virsh autostart lunar-1 error: Failed to mark domain lunar-1 as autostarted error: failed to serialize S-Expr: (domain (on_crash restart) (uuid 91c21040-2098-bc0d-b401-3908f3a21667) (bootloader_args) (vcpus 1) (name lunar-1) (on_poweroff destroy) (on_reboot restart) (cpus ( Searching the archives
2010 Dec 08
1
Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds
I have a for-loop in my code that calls another .R file: source("estimation.R") This file runs through without any problems, so the program completes the loop one time. However, when the loop starts a second time and it comes time to call the file "estimation.R" again, program stops and prints the following error message: "Error in eval.with.vis(expr, envir, enclos) :
2012 Jun 06
0
heatmap.2 clustering and adding add.expr
Hi , I am trying to plot a heatmap with a correlation matrix and trying to highlight significant correlations . i am using my matrix d874n has 78 columns ex2<-corAndPvalue(data.matrix(d874n),use = "pairwise.complete.obs") ##creating a matrix of true false using p values sig<-ex2$p<0.05 nx=78 ny=78 makeRects <- function(tfMat,border){ cAbove =
2005 Feb 17
1
Error in eval(expr, envir, enclos) : numeric envir arg not of length one
I am working with a largish dataset of 25k lines and I am now tying to use predict. pred = predict(cuDataGlmModel, length + meanPitch + minimumPitch + maximumPitch + meanF1 + meanF2 + meanF3 + meanF4 + meanF5 + ratioF1ToF2 + rationF3ToF1 + jitter + shimmer + percentUnvoicedFrames + numberOfVoiceBreaks + percentOfVoiceBreaks + meanIntensity + minimumIntensity + maximumIntensity +
2010 Oct 16
1
Error in eval(expr, envir, enclos) : object 'x' not found
Dear all I tried to use regression to predicted mu data, but it has error like this: > IWJR.complete x y [1,] 33.17635 2.4705021 [2,] 81.61225 3.3815620 [3,] 65.47392 1.6518975 [4,] 57.97806 1.6110785 [5,] 76.05528 2.1601246 [6,] 41.36090 1.5498132 [7,] 68.77844 2.8078691 [8,] 55.57040 2.1183063 [9,] 41.29287 1.8015709 [10,] 65.43935 2.3483183 [11,] 22.44821
2011 Mar 23
2
) Error in eval(expr, envir, enclos) : object '' not found
> datafilename="E:/my documents/r/sex/bysex1.csv" > data.sex=read.table(datafilename,header=T) > data.sex y.sex.age.region.c.n 1 1980,F,A,N,-18.15,13.61 2 1980,F,A,N,-18.61,13.04 3 1980,F,A,N,-18.81,12.32 4 1990,F,A,N,-21.12,11.7 5 1990,F,A,N,-20.77,11.58 6 1990,F,A,N,-21.6,13.34 7 1990,F,A,N,-21.78,12.6 > model.anova<-aov(c~age*sex,data=data.sex)
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
Hello railers, I''ve always been annoyed by the fact that ERB doesn''t respect XML specs. As I mostly write XHTML, I''m trying to write a renderer using only valid XML files. Here is an example of a file so you get the feeling of what it''s going to do: <?xml version="1.0" encoding="utf-8"? > <html
2009 Dec 10
1
switch() called with just the EXPR argument causes R to hang (PR#14124)
Dear all, switch() called with just the EXPR argument causes R to hang so that the only way to stop it is to kill R. Reproducible example: > switch(EXPR="a") the internal C subroutine behind switch is do_switch located in R/src/main/builtin.c For convenience I reproduce it below. ***************************************************************************** SEXP attribute_hidden
2009 Sep 19
3
eval(expr) without printing to screen?
Hi, I have a script which I source, which evaluates a changing expression call hundreds of times. It works, but it prints to screen each time, which is annoying. There must be simple way to suppress this, or to use a slightly different set of commands, which will be obvious to those wiser than I... Here is a simpler mockup which shows the issue: x = data.frame(rbind(c(1,2,3),c(1,2,3)))
2005 Aug 06
1
why is the result of expr. Ajax.InPlaceEditor not an object in Safari
hi guys. i''m really thrilled about the in-place editor and rahul''s additions/ examples at http://www.instituteofthefuture.org/js/inplace.php i know that this "mozilla only" script will eventually get fixed and be usable in safari as well, but i can''t wait, so i''ve tried to poke around a bit -- of course, without success. i am much more of an