similar to: [ ] within [ ]

Displaying 20 results from an estimated 4000 matches similar to: "[ ] within [ ]"

2002 Jul 11
3
Can't start R in Debian Woody
Hi, I know this is not a problem comming from R, but maybe you can still help me. I installed R 1.4.1 on Debian Woody, but I can't start it. I get this message: ~$ R /usr/lib/R/bin/R.bin: error while loading shared libraries: libblas.so.2: cannot open shared object file: No such file or directory Any thoughts? S?bastien Plante
2000 Mar 10
1
variable name to hist within apply?
Hello, After spending sometime trying to generate histograms of all the numeric variables in a data frame using a for loop, I realized I could use apply to create the histograms. This was one of those few moments when I `see' the alternative to looping. So, I can generate all the histograms with this command: apply(toblo.df[,-c(40,52)],2,hist) # 40 and 52 are ID's When I do this, the
2000 Feb 09
1
error during no-segfault.R
Hello, I am trying to install R0.99 on my PC running Solairis 7. Here is some text from my shell when I ran 'make check': running `primitive-funs.R' comparing `primitive-funs.Rout' to `./primitive-funs.Rout.save' ... OK running `mode-methods.R' comparing `mode-methods.Rout' to `./mode-methods.Rout.save' ... OK running `simple-true.R' comparing
2013 Feb 04
1
is it possible to create a trellis object with multiple colorkeys/z-scale axis?
Dear R users- Do the lattice/latticeExtra packages support multiple tileplots with unique colorkeys? I am trying to create a visualization of the encounter rate of certain stocks of salmon across two years. The issue I am having is that some stocks are encountered at much higher rates than others.the high encounter rate for one stock washes out the patterns I'm hoping to visualize across the
2010 Jan 08
3
strange behavior of R
Hi I observed an interesting behavior of R. Can you find where is the bug, or it is not a bug but made deliberately. - Hide quoted text - > arr = c(); #defined the empty array > a= c("x1", "x2"); > b = c("y1", "y2"); > arr = rbind(arr,a); #row bind the first character array -a > arr =
2017 Jan 19
1
System Time Jumps During Boot on CentOS 7
Hi All, Just noticed a funny time jump on a testing CentOS 7 VM. Specifically the system time jumps around by a few hours during system boot. The below is a selection from /var/log/messages during boot: Jan 19 12:49:57 arr-data-dev chronyd[716]: Frequency -0.829 +/- 0.007 ppm read from /var/lib/chrony/drift Jan 19 12:49:57 arr-data-dev polkitd[720]: Started polkitd version 0.112 Jan 19
2016 Apr 29
2
Semi-OT: awk
This is odd, and annoying. CentOS 6, current. Here's my awk script: { room = substr($0, 48, 10); arr[$2,room,$1] = $0; } END { for ( i in arr ) { for ( j in arr[i] ) { for ( k in arr[i][j] ) { print arr[i][j][k]; } } } } And when I run it, it complains awk -f awksort proplist7 awk: awksort:7: for ( j in arr[i] ) { awk: awksort:7:
2018 Jun 08
4
Subsetting the "ROW"s of an object
> On Jun 8, 2018, at 11:52 AM, Hadley Wickham <h.wickham at gmail.com> wrote: > > On Fri, Jun 8, 2018 at 11:38 AM, Berry, Charles <ccberry at ucsd.edu> wrote: >> >> >>> On Jun 8, 2018, at 10:37 AM, Herv? Pag?s <hpages at fredhutch.org> wrote: >>> >>> Also the TRUEs cause problems if some dimensions are 0: >>>
2007 Aug 17
1
[BioC] function to find coodinates in an array
The arr.ind in the which function does the job very nicely!!! Thank you everyone for the suggestions! Ana > > >---- Mensaje Original ---- >De: marc_schwartz at comcast.net >Para: m_olshansky at yahoo.com >Asunto: Re: [BioC] [R] function to find coodinates in an array >Fecha: Thu, 16 Aug 2007 21:53:44 -0500 > >>If I am correctly understanding the problem, I think
2004 Aug 06
1
Funky password mount point error for liveice and ic ecast - PLZ HL P!
Pete - Thanks for the hack, I've gone in an adjusted the necessary lines(Even though my C is REALLY rusty, cut and paste to the rescue), I re-compiled the source, so hopefully things will work once I get home to test. You mentioned that I shouldnt use this for a Public Production server, is there any other security measures I can take to override this exploit? I had planned on running it
2006 Jun 26
1
Icecast realy crashes .. revicited ???
Hi All, Looks like I'm getting a startup on a new relay server .. crash with the following Works flawlessly as a standalone server (not a realy) fc3 <RPM's> libxml2-2.6.16-3 libxslt-1.1.11-1 curl-7.12.3-6.fc3 vorbis-tools-1.0.1-4 <Source Tarballs/svn> Icecast-2.3.1 (svn, daily and tarball) libshout-2.2.2 (source) <from command line> icecast -c
2012 Aug 23
1
adding tick labels to tileplot()
Hi all - I am far from fluent in R and need some help polishing up a figure I am trying to create. I wish to make a "tileplot" (from package extraLattice) where the x axis is time (months; may - sept) and the y axis is space (fishery management zones). Here is my code so far: tileplot(effort~month_num*-area_num,mae,col.regions=topo.colors(100), border =
2013 Nov 07
1
problem with interaction in lmer even after creating an "interaction variable"
Dear all, I have a problem with interactions in lmer. I have 2 factors (garden and gebiet) which interact, plus one other variable (home), dataframe arr. When I put: / lmer (biomass ~ home + garden:gebiet + ( 1|Block), data = arr)/ it writes: /Error in lme4::lFormula(formula = biomass ~ home + garden:gebiet + (1 | : rank of X = 28 < ncol(X) = 30/ In the lmer help I found out that if not
2011 Mar 26
1
bwplot [lattice]: how to get different y-axis scales for each row?
Dear expeRts, How can I get ... (1) different y-axis scales for each row (2) while having the same y-axis scales for different columns? I coulnd't manage to do this with relation="free" [which gives (1) but not (2)]. I also tried relation="sliced", but it did not give the same y-axis scales within each row (see the fourth row). Further, it "separates" the
2012 May 29
4
[LLVMdev] Aliasing Question
I just have two questions regarding the following small piece of code: if (var > start*end) { arr[var] = arr[var-1]; } else { arr[var] = arr[var+1]; } 1. Why does llvm put the address computation in the branched blocks instead of the common dominator? 2. Why does the AliasAnalysis return MayAlias instead of MustAlias? Thanks. -------------- next part
2008 Jun 12
1
Data.matrix fail to convert data.frame into matrix
Hi, With the following codes, I attempt to convert the data.frame into a matrix. However I notice that data.matrix function doesn't seem to work. __ BEGIN__ dat <- read.table("mydata", comment.char = "!" , na.strings = "null"); # Select n-genes by random sample # n = 1 nosamp <- 1 geneid <- sequence(nrow(dat)) geneid.samp <- sample(geneid,nosamp)
2018 Feb 28
1
Missed opportunity in the midend, unsigned comparison
Hi everybody, I see a missed optimization opportunity in LLVM that GCC catches and I'd love to hear community's input. Here's the original C code: 1 char arr[2]; 2 char *get(unsigned ind) { 3 if (ind >= 1) { 4 return 0; 5 } 6 return &(arr[ind]); 7 } The variable `ind` is unsigned so, based on the comparison, if it is not greater or equals to one, than it is
2020 Mar 22
2
Legalized selection DAG differs for the same code and flags
Hello, LLVM Devs. I'm compiling following code using my own backend: int foo() { char arr[4]; arr[0] = 0xAA; arr[1] = 0xBB; arr[2] = 0xCC; arr[3] = 0xDD; return *(int*)&arr[0]; } The memory operation in "return" statement ends up transformed into 4-byte load in the initial DAG: load<(dereferenceable load 4 from %ir.7, align 1, addrspace 1)> t31,
2006 Aug 11
2
Array#chunk method, maybe someone will find this useful
class Array # break an array up into <size> chunks def chunk(size=1) return self if self.empty? raise ArgumentError if !size.kind_of? Integer y = self.length.divmod(size) rows = (y[1] > 0) ? y[0] + 1 : y[0] arr = Array.new(rows) (0...rows).each do |i| arr[i] = self.slice(size*i, size) end (arr.last.length...size).each { |i| arr.last[i] = nil }
2012 Sep 08
3
[patch 1/3] xen/privcmd: check for integer overflow in ioctl
If m.num is too large then the "m.num * sizeof(*m.arr)" multiplication could overflow and the access_ok() check wouldn't test the right size. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- Only needed in linux-next. diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 215a3c0..fdff8f9 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c