Displaying 20 results from an estimated 44 matches for "exmples".
Did you mean:
examples
2012 Feb 15
7
matching a sequence in a vector?
Hi All,
I've been trawling through the documentation and listserv archives on this topic -- but
as yet have not found a solution. I'm sure this is pretty simple with R, but I cannot work out how without
resorting to ugly nested loops.
As far as I can tell, grep, match, and %in% are not the correct tools.
Question:
given these vectors --
patrn <- c(1,2,3,4)
exmpl <-
2008 May 19
3
Can anyone give a exmple of use Ajax.Response?
hi, everyone , could anyone give a exmple of use Ajax.Response? I can
not find a sample in prototype homepage
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from
2011 May 13
2
Creating dataframes
I would like to create a certain number of dataframes out of one dataframe
where each of the dataframes
is related to a factor. This should be possible with a loop or a function,
as is very clumsy to do it manually
when there are quite a lot factors.
For example having a dataframe called "exmpl":
Site Value
1 12
1 15
1 18
1 21
1 12
1 13
2 15
2 12
2 58
2 62
2 22
2 65
2 29
3 21
3 55
2004 Mar 23
3
building data object on iteration
Hello
I need help, few days tying to work this out but
unable to find examples. "alos would appricate
direction on how to find exmples"
getting the file name "without the extension" into a
character vector.
for (i in dir("c:/data/")){
filename <- c(filename,sub("([^.]+)(\\..+)","\\1",
i))
}
Error: Object "filename" not found
and I understand why the error but cann't...
2012 Aug 28
4
Search for locations of subsequences?
Is there a function to efficiently search for a subsequence within a vector?
For example, with
x <- 1:100
I'd like to search for the sequence c(49,50,51), and be told that it
occurs exactly once, starting at location 49. (The items in the vectors
might be numeric or character, and there might be repetitions within the
search pattern or within the vector I'm searching.)
Duncan
2009 Jun 22
3
rsync is fantastic except for one usual feature we want from it .. please help ?
Hi,
Rsync is a fantastic program, and it does everything we need in terms of
file transfer and syncing source and destination file directories.
We do have a situation now where we need rsync to transfer the files
once only from the source directory. Please let me briefly explain
using a simple generic exmple:
1. At t0, we transfer f0 location A to location B
2. At t1, 10 new
2015 Dec 11
2
libvirt domain configuration xml
I am trying to change a domain configuration from a python script. More
specific, I want to edit the VNC settings. You can't do this using the
libvirt API so you have to edit the domain configuration:
Fo exmple, to disable VNC for a domain 'test1':
vmXml = vm.XMLDesc(0)
root = ET.fromstring(vmXml)
devices = root.find('./devices')
graphics = devices.find('graphics')
2010 May 14
1
[LLVMdev] How to get a constant of some type?
How to get a constant of some type?
For exmple, get a constant 10 of Int32Ty.
Perhaps it's a stupid question. Thank you very much in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100514/1da48d4e/attachment.html>
2011 Dec 02
1
[LLVMdev] Running a pass during JIT
Hi everyone
I would like to run a pass that I have wrote during the JIT (lli). But LLVM
does not seem to have such an option. I can't even call standard LLVM's
passes (for exmple, -adce). I have also tried to use lli -load=<path to the
.so file of my pass>. But that won't help either.
Anyway, is there a way do to that?
Sincerely,
Schuhmacher
-------------- next part
2015 Feb 25
2
dsync backup touch source index files.
Hi everyone,
Can someone explain me why dsync need read-write access to source box when pulling data (dsync -R backup)?
I am working on migration from Dovecot 1.x with maildir to latest
Dovecot 2.2.15 with mdbox and found that there is no way to do this
from ro filesystem (got "failed: Read-only file system" on access
to /dovecot.index.log).
I am wondering is it bug or feature?
I
2004 Jun 30
1
help with tclVar
Hi, I can' t load a variable tcltk declared with tclVar, why is this?, the
exmple above explain me ,Thanks Ruben
a<-tclVar(init="")
> f<-function(){
+ a<<-"pipo"
+ }
> f()
> a
[1] "pipo"
> tclvalue(a)
Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class =
"tclObj") :
[tcl] can't
2005 Apr 14
1
question about "R get vector from C"
Dear ALL-R helpers,
I want to let R get vector from c ,for example :numeric array ,vector .I saw
some exmple like this :
/* useCall3.c */
/* Getting an integer vector from C using .Call */
#include <R.h>
#include <Rdefines.h>
SEXP setInt() {
SEXP myint;
int *p_myint;
int len = 5;
PROTECT(myint = NEW_INTEGER(len)); // Allocating
2008 Dec 22
1
Asterisk SIP URi dialing
Hi
i need to implement "Inward" SIP usring dialing in my Asterisk IPpbx,
So anybody can recah me by dialing my SIP uri. same time my DNS on same
server where currently Asterisk running.
how ican implement this. Please help me with config details at DNS &
Asterisk point of view. anybody can provide me config exmple?
I am using Asterisk 1.4.9. Plz help me
Regards
Amit
2002 Jun 26
1
R-News2002-2 (little suggestion!)
...ogrammer's niche with the really nice example to do
a lot of rpart object's in one step.
More advanced "people" are
have got the skills to adapt this, but "beginners" like me for the last
grid-examples get "problems" and IMHO it is more easy to understand the
exmples with "free" dataSets - ( fast to adapt )!?
P.S.
a.notice, what i can not say often enough:
...follow the R-mailing List and R-news are the most advanced "statistic university" in the world for me !
regards,Christian
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2005 Aug 29
1
SER NAT any additional requirement
Hello
i am trying to use this exmple with SER-0.9.3
but still NATED Clients are not working any other
requirement
http://www.voip-info.org/tiki-index.php?page=SER+example+NAThelper
-----------------------------------------------------------
# $Id: ser.cfg,v 1.21 2003/06/04 13:47:36 jiri Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters
2019 Nov 25
4
big share problem
Hi,
I've a big problem with my shares on a domain AD member server.
On this server there is severals shares directories :
- \data\dir1 [share_one]
- \data\dir2 [share_two]
- \data\dir3 [share_three]
\data is a mounted partition
when I browse one of my share in windows, \\myserver\share_one for
exmple, I can see all directories of my server !! : bin, boot, dev, lib,
..... data directory
2005 May 30
2
R: R: AT-320 + supervised transfer
The procedure that will do asterisk is very nice ;) but whe it was available ?
Currently is there any way to emprove the transfer? I tryied the scenario that u suggest me but it doesn't work :| and i don't why.
Here my sip.conf for the phone, can u say me if there is somethingh wrong ?
[2391]
type=friend
username=2391
secret=2391
language=it
host=dynamic
context=intern
dtmfmode=rfc2833
2020 Oct 29
1
R: sim1000G
Hi,
I am using the sim1000G R package to simulate data for case/control study.
I can not figure out how to manipulate this code to be able to generate 10%
or 50% causal SNPs in R.
This is whole code provided as example on GitHub:
library(sim1000G)
vcf_file = "region-chr4-357-ANK2.vcf.gz" #nvariants = 442, ss=1000
vcf = readVCF( vcf_file, maxNumberOfVariants = 442 ,min_maf =
2005 May 30
4
R: R: R: AT-320 + supervised transfer
I known. I'm using the 1.44 firmware version relesed on 26 may. I worked for italian IVR an HTTP pgaes.
So i can only update asterisk with CVS and try atxfer.
Thanks for all
-----Messaggio originale-----
Da: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] Per conto di Gavin Hamill
Inviato: luned? 30 maggio 2005 18.40
A:
2019 Dec 30
2
RFC: Refactor SubclassData
Hi,
Do you have some code we can look at (even if it is in a nasty unpolished state, just mark it WIP
and put it on Phab) ? It is hard to evaluate an alternative without the code. That said I think
that the table is a little bit one-sided. I have added some inline comments.
On 30/12/2019 11:53, Ehud Katz wrote:
> The solution in Clang is still very complicated and error prone. A lot of