search for: grape

Displaying 20 results from an estimated 47 matches for "grape".

Did you mean: graph
2012 Jul 27
0
How to get asset pipeline host url in Grape Api
Hi All how can i get the asset pipeline host url in grape api to append to the image url in config/environments/development.rb ActionController::Base.asset_host = "assets.example.com" i have configured the asset url. How can i generate this image with asset host url in grape api -- You received this message because you are subscribed to...
2011 Aug 11
1
help with loops
hi I need help with list object. I have a list object > a <- c('apple','orange','grape') > b <- c('car','truck','jeep') > c <- list(a,b) > names(c) <- c('fruit','vehicle') > c $fruit [1] "apple" "orange" "grape" $vehicle [1] "car" "truck" "jeep" I want...
2009 Feb 19
2
counting strings in a column
Dear All, I have a query : what is the command to count number of repeated words in a column. for ex: a = oranges oranges apples apples grape oranges apple pine the result should be oranges 3 apples 3 grape 1 pine 1 is there an easy way for this. Thanks, Nataraju GM R & D Bangalore -- "No relationship is Static .. You either Step up or Step down" [[alternative HTML version deleted]]
2006 Jul 06
3
Comparing two matrices [Broadcast]
It might be a bit faster to do matrix indexing: R> tbm <- as.matrix(tb) # turn it into a character matrix R> tmat[cbind(match(tbm[,2], rownames(tmat)), match(tbm[,1], colnames(tmat)))] <- 1 > tmat Apple Orange Mango Grape Star A 1 1 1 0 0 O 1 1 0 0 0 M 0 0 1 0 0 G 0 0 0 0 0 S 1 1 1 0 0 HTH, Andy From: Srinivas Iyyer > > hi: > > I have matrix with dimensions(200 X 20,000). I have another > file, a...
2006 Jul 06
3
Comparing two matrices
hi: I have matrix with dimensions(200 X 20,000). I have another file, a tab-delim file where first column variables are row names and second column variables are column names. For instance: > tmat Apple Orange Mango Grape Star A 0 0 0 0 0 O 0 0 0 0 0 M 0 0 0 0 0 G 0 0 0 0 0 S 0 0 0 0 0 > tb # tab- delim file. V1 V2 1 Apple S 2 Apple A 3 Apple O 4 Orange A 5 Orange O 6 Orange S 7 Mango M 8 Mang...
2010 May 18
1
[LLVMdev] Possible memory leak in LLVM 2.5
...gt;freeMachineCodeForFunction(stub); // Delete functions and IR. stub->deleteBody(); stub->eraseFromParent(); Rob. -----Original Message----- From: reid.kleckner at gmail.com [mailto:reid.kleckner at gmail.com] On Behalf Of Reid Kleckner Sent: Tuesday, 18 May 2010 2:53 p.m. To: Rob Grapes Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Possible memory leak in LLVM 2.5 I'm unfamiliar with the leak you've just described, but Jeffrey Yasskin has done a lot of work cleaning up leaks for 2.7 and trunk. I was just going to mention that unless the function you are calling via...
2010 May 18
0
[LLVMdev] Possible memory leak in LLVM 2.5
...e that's special cased in runFunction, it will generate its own stub function for every call. If you don't want to worry about that, you can call getPointerToFunction and cast it to the appropriate function pointer type before calling it yourself. Reid On Mon, May 17, 2010 at 9:27 PM, Rob Grapes <Rob.Grapes at ur.co.nz> wrote: > Hi, > > > > I’m current using LLVM 2.5 to JIT code in a event driven language running on > a game engine.  Haven’t updated to 2.7 yet, but I do intend to. > > > > When checking for memory leaks I found that each time I was calli...
2004 Oct 18
2
答复: 答复: R plot problems
...ZhangJiang Road, PuDong New Area, Shanghai, China Tel: 021-5080-2000 *11754 Email: Ivy_Li at smics.com -----orig--- Hi Ivy, How about x <- data.frame(main.name="AAA", x.name=rep(c("Apply","Watermelon","Lemon","Banana", "Grape","Pineapply","Cherry","Peach","Orange","Mango","Strawberry"),each=5), y.name=(1:55)) par(las=2); plot(x$x.name, x$y.name) Bobby On Mon, 18 Oct 2004 09:36:12 +0800, Ivy_Li <ivy_li at smics.com> wrote: > Thank you for your he...
2010 May 18
2
[LLVMdev] Possible memory leak in LLVM 2.5
Hi, I'm current using LLVM 2.5 to JIT code in a event driven language running on a game engine. Haven't updated to 2.7 yet, but I do intend to. When checking for memory leaks I found that each time I was calling EE->runFunction after creating a stub function to execute an event, all the pass information was being repeatedly added to PMDataManager. I have changed addAnalysisImplsPair
2004 Oct 18
3
答复: R plot problems
Thank you for your help! I gave you an example, you could run it in R . Maybe you will understand my meaning clearly. x <- data.frame(main.name="AAA", x.name=rep(c("Apply","Watermelon","Lemon","Banana", "Grape","Pineapply","Cherry","Peach","Orange","Mango","Strawberry"),each=5), y.name=(1:55)) plot(x$x.name, x$y.name) I can't find you said package ,whick library should I include in R ? Best Regards! Ivy Li YMS in Production & T...
2006 Oct 28
1
What determines the order of rows in a lattice barchart?
...sel],col='red') }) pdf("Rplot-totalwater.pdf",height=4) plot(chart) dev.off() Volume, Cat, Source Agriculture, 16660, A, WA Cotton, 2908, A, WA Rice, 1951, A, WA Sugar, 1388, A, BA Grapes, 729, A, WA Fruit&Veg, 1358, A, WA Household, 2181, H, WA Beef, 3229, B, BA Diary, 3542, B, BA csv data: [[alternative HTML version deleted]]
2009 Jul 23
2
[LLVMdev] Possible change to ExecutionEngine::create()
...m is you want to solve? Is it a performance issue with LoadLibraryPermanently, or do you simply not want the external symbols to be resolved from within the JIT? - Daniel On Wed, Jul 22, 2009 at 11:22 PM, Evan Cheng<evan.cheng at apple.com> wrote: > > On Jul 22, 2009, at 9:43 PM, Rob Grapes wrote: > >> Hi, >> >> Would it be possible to make the following slight change to >> ExecutionEngine::create()? >> >> I would like to be able to disable the automatic enumeration of >> loaded modules, and the subsequent searching for undefined symbols &...
2007 Oct 26
2
function in R that's equivalent to SQL's "IN"
Hi all, I'm trying to find something like the "==" operator that will work on vectors or something equivalent to SQL's "IN" function. For e.g., if I have: x <- c(1,2,3,4,5) y <- c("apples", "oranges", "grapes", "bananas", "pears") z <- data.frame (x,y) w <- c(2,4,5) I want R to return the values "oranges", "bananas", "pears" through some function like this: z$y[z$x == w] or in sql speak, like this z$y[z$x IN w] To complicat...
2009 Jul 23
0
[LLVMdev] Possible change to ExecutionEngine::create()
...m is you want to solve? Is it a performance issue with LoadLibraryPermanently, or do you simply not want the external symbols to be resolved from within the JIT? - Daniel On Wed, Jul 22, 2009 at 11:22 PM, Evan Cheng<evan.cheng at apple.com> wrote: > > On Jul 22, 2009, at 9:43 PM, Rob Grapes wrote: > >> Hi, >> >> Would it be possible to make the following slight change to >> ExecutionEngine::create()? >> >> I would like to be able to disable the automatic enumeration of >> loaded modules, and the subsequent searching for undefined symbols &...
2008 Jun 11
1
[LLVMdev] Compiling llvm libraries to run on iPhone
> On Tue, Jun 10, 2008 at 4:50 PM, Robert Grapes > <robert_grapes at hotmail.com> wrote: > > llvm[3]: Compiling SelectionDAGISel.cpp for Release build > > > > /var/folders/Xq/XqzGACxLHWq4Af0cQbEMdE+++TI/-Tmp-//cc6xGQcn.s:unknown:immediate > > value (-288) too large > > > > Any help would be really app...
2019 Mar 09
1
Spurious warning from checkReplaceFuns about a non-replacement function
If a function contains the pattern `<-` it is (with a few exceptions) deemed to be a replacement function and in particular must have second argument `value` to pass R CMD check. Consider the function %<->% or any other function containing <- within grapes. I claim that such functions should not be considered replacement functions and thus the R CMD check should not require its second argument to be `value`. Recommend in the function tools::checkReplaceFuns grep("<-", objects_in_code, value = TRUE) be changed to grep("&...
2007 Aug 02
1
sapply?
I have to compare four different grape varieties proteome in two different years. I don't know what test would be more suitable for my data. I think that an anova two way can be usefull also if someone suggested me to perform a manova. In addiction, I can perform each test on a single protein a time, but I can't loose my whole l...
2011 Oct 29
1
Add col in data.frame
...to add a new variable(column). library(foreign) mydf<-read.spss(file="C:/myspss.sav",use.value.labels=FALSE, to.data.frame=TRUE,use.missings=FALSE) attr(mydf,"variable.labels") ## it gives you all the labels ##Adding a new variable(col) to mydf newcolm <- list(frt="grapes") mydf <- cbind(mydf, newrow) ##Now checking to see labels again attr(mydf,"variable.labels") ## And you get NULL Can anyone please help me to achieve this without loosing any default attribute that was there? Thanks and Regards -- SmartG [[alternative HTML version deleted...
2005 Mar 11
3
Parked Call
I have a question, I am unclear on how to park a call. I know that you are supposed to be able to press "#" and then transfer the call to extension 700. However, * doesn't seem to be graping the dtmf. I am using dtmfmode=inband. Asterisk is in the media path as well. Thanks in advance Justin
2012 Feb 01
0
How can I force Rails 3.2 to reload mounted rack app per request in development mode?
How can I force Rails 3.2 to reload mounted rack app per request in development mode? I have mounted grape <https://github.com/intridea/grape> app this way mount API2, :at => "/api2" However rails doesn''t reflect changes in app without web server restart. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. T...