search for: ex

Displaying 20 results from an estimated 4211 matches for "ex".

Did you mean: eax
2016 Jan 27
2
is dovecot vulnerable to this kind of attack?
I found an interesting email that got caught in my spam quarantine. I?m wondering if dovecot is vulnerable to this kind of code execution (I?m aware that other components could be vulnerable, but this question is specifically targeting dovecot). The idea is to insert shell commands into various header fields that would get executed as part of the message processing/delivery. Examples include: From: () {:;};/bin/sh -c 'c...
2005 Sep 26
1
Make check fails on d-p-q-r-tests.R...
...nfig.sh \ --with-libpng \ --with-jpeglib \ --with-zlib \ --with-bzlib \ --with-pcre \ --with-libiconv-prefix=/usr/local/ I'm brand new to R so I don't know how critical this error is. Here's the last bit what make check FORCE=FORCE outputs: running code in 'grDevices-Ex.R' ... OK comparing 'grDevices-Ex.Rout' to 'grDevices-Ex.Rout.prev' ... OK running code in 'graphics-Ex.R' ... OK comparing 'graphics-Ex.Rout' to 'graphics-Ex.Rout.prev' ... OK running code in 'stats-Ex.R' ... OK comparing 'stats-Ex.Rout'...
2010 Oct 03
1
Modifying a data.frame
Hello list members I have a problem with modifying a data.frame. As an example given is a data.frame called ex : ex<-data.frame(id=c(1,2,3,4,5,6),obs=c(14,9,20,36,55,47),eff=c("A","A","B","C","C","C")) After that I would like to modify the object ex with the following short script: for (i in ex) { if(e...
2005 Sep 27
0
Make test fails in d-p-q-r-tests...
...tclConfig.sh \ --with-tk-config=/usr/local/lib/tk8.4/tkConfig.sh \ --with-libpng \ --with-jpeglib \ --with-zlib \ --with-bzlib \ --with-pcre \ --with-libiconv-prefix=/usr/local/ Here's the last bit what make check FORCE=FORCE outputs: running code in 'grDevices-Ex.R' ... OK comparing 'grDevices-Ex.Rout' to 'grDevices-Ex.Rout.prev' ... OK running code in 'graphics-Ex.R' ... OK comparing 'graphics-Ex.Rout' to 'graphics-Ex.Rout.prev' ... OK running code in 'stats-Ex.R' ... OK comparing 'stats-Ex.Rout'...
2010 Jun 08
2
duplicated() and unique() problems
Hi everybody I have found something (for me at least) strange with duplicated(). I will first provide a replicable example of a certain kind of behaviour that I find odd and then give a sample of unexpected results from my own data. I hope someone can help me understand this. Consider the following # this works as expected ex=sample(1:20, replace=TRUE) ex duplicated(ex) ex=sort(ex) ex duplicated(ex) # bu...
2007 Jul 05
3
summarizing dataframe at variable/factor levels
All, Is there an efficient way to apply say "mean" or "median" to a dataframe according to say all combinations of two variables in the dataframe? Below is a simple example and the outline of a "manual" solution that will work but is not very efficient (could also generalize this to a function). Searched the archives and docs but didn't see anything close to this question. Cheers, dave dat.ex = data.frame( rep(c(1:6), each=6), c(rnorm(12), rnorm...
2008 Jul 14
2
aggregate months to years
...frame: DATE <- c("1930-01-01", "1930-01-01", "1930-02-01", "1931-01-01", "1931-02-01", "1931-03-01") # almost all months until "1999-12-01". Day is always 01, the same months actually occur several times. FREQ <- rep(1,6) ex<- data.frame(DATE,FREQ) # I can aggregate it like this: ex <- tapply(ex$FREQ, ex$DATE, sum) # or use"grep" to extract a single year: # ex[grep(pattern="^1931", ex$DATE),] # But how can I aggregate the years such that a barplot would show me the FREQ per year and not pe...
2002 Sep 18
1
problem with make fullcheck on Sparc Solaris 8
...sparc os solaris2.8 system sparc, solaris2.8 status beta major 1 minor 6.0 year 2002 month 09 day 17 language R As you see form above, R-1.6.0 compiles fine and works. However, when I "make fullcheck" I get the following error: running code in 'tools-Ex.R' ... OK running code in 'ts-Ex.R' ... OK running code in 'survival-Ex.R' ...bash: survival-Ex.R: No such file or directory mv: cannot access survival-Ex.Rout *** Error code 2 make: Fatal error: Command failed for target `survival-Ex.Rout' Current working directory /home/g...
2012 Sep 26
2
specifying arguments in functions and calling functions, within functions
Esteemed R UseRs, Regarding specifying arguments in functions and calling functions within functions: ## beginning ## ## some data ex <- rnorm(10) ex[5] <- NA ## example function Scale <- function(x, method=c("mean", "median")) { scl <- method scl(x) } ## both return NA Scale(ex, method=median) median(ex, na.rm=FALSE) ## both return the median Scale(ex, method="median") median(ex...
2011 Nov 18
1
Problems compiling R
...but make test dose not! Here is some of the output from make test: kjetil at kjetil:~/R/R-2.14.0$ make check make[1]: Entering directory `/home/kjetil/R/R-2.14.0/tests' make[2]: Entering directory `/home/kjetil/R/R-2.14.0/tests' make[3]: Entering directory `/home/kjetil/R/R-2.14.0/tests/Examples' initializing class and method definitions ...done Testing examples for package ?base? comparing ?base-Ex.Rout? to ?base-Ex.Rout.prev? ... 1401c1401 < "Linux" "3.0.0-1-amd64" --- >...
2008 May 10
3
question about subseting a dataframe
Hi! I am using R version 2.7.0 and am working on a panel dataset read into R as a dataframe; I call it "ex". The variables in "ex" are: id year x id: a character string which identifies the unit year: identifies the time period x: the variable of interest (which might contain NAs). Here is an example: > id <- rep(c("A","B","C"),2) > year <- c(...
2014 Jul 10
2
[LLVMdev] Telling the optimizer a value is always null at the start
How do I tell the optimizer that the (dereferenced) value of an i8** parameter is NULL at the start so that it can eliminate the check? I have code like: void test2(void** ex) { printf("go\n"); // does not change *ex } void call2(void** ex); void testeh(void** ex) { // I want to tell the optimizer *ex is null so it can eliminate the first if below if test2 is inlined: test2(ex) if (*ex) return;...
2010 Jun 22
4
seek() and gzfile() on 32-bit R2.12.0 in linux
I have installed both 32-bit and 64-bit versions of R2.12.0 (2010-06-15 r52300) on my Ubuntu 10.04 64-bit system. I observe the following behavior when running the examples from base::connections. There appears to be a problem with seek() on a .gz file when using a 32-bit installation of R2.12.0, but the problem doesn't appear in the 64-bit installation. I realize that seek() has been difficult in the past, and I don't want to open old wounds, but is t...
2007 Feb 20
1
text.rpart for the "class" method doesn't act on label="yprob"
Hello All, Am I misreading the documentation? The text.rpart documentation says: "label a column name of x$frame; values of this will label the nodes. For the "class" method, label="yval" results in the factor levels being used, "yprob" results in the probability of the winning factor level being used, and ?specifi...
2016 May 04
4
Is it possible to retrieve the last error? (not error *message*)
Hi, at the R prompt, is it possible to retrieve the last error (as in condition object of class "error")? I'm not asking for geterrmessage(), which only returns the error message (as a character string). I'm basically looking for a .Last.error or .Last.condition, analogously to .Last.value for values, which can be used when it is "too late" (not possible) to go back
2003 Jun 18
1
1.7.1 make check fails (PR#3282)
...112233-04 sun4u sparc SUNW,Sun-Blade-100 Today I downloaded R-1.7.1.tgz, unpacked it, did ./configure and ran make. All apparently went well. Then I did make check. On rerunning make check (because I forgot to save the output the first time), I get f% make check `Makedeps' is up to date. `base-Ex.Rout' is up to date. `ctest-Ex.Rout' is up to date. `eda-Ex.Rout' is up to date. `lqs-Ex.Rout' is up to date. `methods-Ex.Rout' is up to date. `modreg-Ex.Rout' is up to date. `mva-Ex.Rout' is up to date. `nls-Ex.Rout' is up to date. `splines-Ex.Rout' is up to dat...
2010 Feb 12
1
popbio and stochastic lambda calculation
...y, I have been unable to match the published results. Can anyone tell me whether this is due to slightly different methods being used, or have I gone wrong somewhere in my code? Could the answer be as simple as comparing deterministic lambdas to stochastic lambdas? My stoch. lambda is lower (as expected) however the CI is substantially larger than published. The authors of the published example used a different method to calculate the CIs around lambda, but I would have expected the results of the vitalsim to be closer. (The authors used the 'delta' method from Caswell (2001))....
2007 May 23
2
make check problem
Dear R People: I thought all was well with my source compilation on Windows until I tried "make check" Here is an abbreviated version of my results: C:\esr\R-2.5.0\src\gnuwin32>make check make check -------- Testing package base -------- Running examples in 'base-Ex.R' ... Comparing `base-Ex.Rout' to `base-Ex.Rout.prev' ...diff: extra operand `Settings/Erin/Local' diff: Try `diff --help' for more information. OK ; -------- Testing package stats4 -------- Running examples in 'stats4-Ex.R' ... Comparing `stats4-E...
2001 Sep 14
3
R Installation problem: 'make check' errors
...--------------- The output from 'make clean' is as follows: [froth at lama R-1.3.1]$ make check make[1]: Entering directory `/home1/froth/R/src/R-1.3.1/tests' make[2]: Entering directory `/home1/froth/R/src/R-1.3.1/tests' make[3]: Entering directory `/home1/froth/R/src/R-1.3.1/tests/Examples' make[4]: Entering directory `/home1/froth/R/src/R-1.3.1/tests/Examples' make[4]: Leaving directory `/home1/froth/R/src/R-1.3.1/tests/Examples' make[4]: Entering directory `/home1/froth/R/src/R-1.3.1/tests/Examples' collecting examples for package `base' ... make[5]: Enter...
2010 Jan 27
1
term.formula error when updating an nls object
Hi, I'm getting an error that I don't understand when updating an nls object. Here is a toy example. dd <- structure(list(Contrast = c(0.00376, 0.03759, 0.12782, 0.25564, 0.50376, 1), Response = c(0.29915, 6.13248, 29.01709, 30.0641, 29.46581, 27.67094)), .Names = c("Contrast", "Response"), class = "data.frame", row.names = c(NA, -6L)) m1 <- nls(Respon...