similar to: how to loop through names ?

Displaying 20 results from an estimated 11000 matches similar to: "how to loop through names ?"

2000 Nov 07
1
coercion of LHS to a list
I'm using R to manipulate some data for testing nebulisers. I have a data frame as follows: Volt ABal 0.4208 A1 0.3982 AF 0.4353 B1 0.3954 BF 0.4355 C1 0.3975 CF 0.4345 I also have a calibration curve loaded Voltage NaF LogNaF 1 0.3588 20 1.30103 2 0.3990 100 2.00000 3 0.4391 500 2.69897 If I try to
2013 Dec 16
1
External pointers and changing SEXPTYPE
Dear Developers, I've been struggling through writing R extension in C. I've been using an external pointer to store my data (please see sample below). I encountered a very weird erroneous behaviour: when I tried to use my external pointer to a structure holding several types of data, including SEXPs, I discovered that SEXPs change their types between returning from initialization
2009 Aug 24
2
Multiply List by a Numeric
I apologize for what seems like it should be a straighforward query. I am trying to multiply a list by a numeric and thought there would be a straightforward way to do this, but the best solution I found so far has a for loop. Everything else I try seems to throw an error "non-numeric argument to binary operator" Consider the example: a <- 1 b <- 1:2 c <- 1:3 abc <-
2014 Apr 09
3
VPN SIP Phone | PC Traffic
We are using vpn routers to connect home users back to our office network. Basically, shipping a mikrotik router that 'calls home' and establishes a vpn connection for the pc and phone that are connected to the mikrotik... user plugs router in, plugs phone and computer into router, and that traffic is encapsulated back to our office... simple and straighforward. We would like to remove
2004 Feb 12
1
Porting let* from Common LISP to R
In porting some Common LISP code to R, I am trying to found out whether special care must be taken for the let* function. In Common LISP, "the let* block is like let except it is guaranteed to evaluate the initialization of its local variables in sequentially nested scopes, i.e. it provides an order to the binding and visibility of preceding variables.". I have included the recursive
2010 Jan 13
2
[LLVMdev] How to create forward reference to BasicBlock?
Hi, Can anyone tell me if there's a straighforward way to create a new BasicBlock without inserting it into a function's basic block list? I want to do this so I can create a forward reference to a block that's position in the function is not yet known. I've tried: Function function Builder builder; bb = BasicBlock::Create(function,...) bb.eraseFromParent() ... add other
2010 Dec 26
2
What is the best way to lag a time series?
Dear R-users, I've been using R for a while and I am very satisfied! Unfortunately, I still have not figured out an efficient and general way to construct and use lags of time series, especially when I need to work with different packages. Let me give an example. I have two time series x and y and I want to estimate a variaty of distributed lags models and run different tests
2006 Jan 31
3
MOH sourced from a sound card?
I thought this had been around before but I can't seem to find anything about it. I have a customer whom prior to upgrading to Asterisk invested in one of those boxes that plays your company sales campaign into the MOH port on your key system. For reasons of message maintenance he wants to keep the box as part of the new system. Can I couple this to the sound card in the Asterisk server
2006 Aug 09
6
How to change the error message easy way
validates_presence_of :fname results in the error message "Fname can''t be blank". What I want is "First Name can''t be blank". I could do this def validate errors.add_to_base("First Name can''t be blank") if fname.blank? end I find this clunky and I have to put everyrhing in the validate method. Is there an easy to get what I want. I
2004 May 10
2
read error produces null-byte-filled destination file
I've run into a bug in the IO handling when reading a file. Suppose I have a file that lives on an NFS filesystem. That filesystem is NOT being exported with auth=0 permissions. So, if I try to access a file as root, it successfully opens the file, but subsequent reads fail with EACCES. This produces a destination file full of null bytes. I noticed this with 2.5.7, but checked 2.6.2 as
2002 Apr 03
3
metadata in dryrun mode
As I reported a while back rsync doesn't handle metadata (permissions and ownership) in dryrun mode. I offered to make a patch and that offer still stands. I didn't have the time for it until now and want to pick it up again. I had some ugly hack back then but I want to redo it in a clean way. I would like some input on my thoughts. IMHO, it would be ideally if the check for dry_run
2018 Apr 20
2
Down C6 ALL without torrent ?
On Thu, 2018-04-19 at 07:59 -0500, Valeri Galtsev wrote: > Aha, now I understand what you want. It probably doesn't exist on master > repository server. You can re-master DVD from two of them or from a copy > of content of both in some directory on hard drive. Unsure how to remaster two DVDs, total 6GB?, onto a USB stick. I can copy both DVDs to a directory. To make the directory
2010 Jun 15
3
about rsyncing of block devices
Hiya, I can see it's a regular subject on this list. I, like others wanted to use rsync to synchronise two block devices (as it happens one lvm volume and one nbd device served by qemu-img on a remote host from a qcow2 disk image so that I can keep the old versions) As I couldn't find any report of it being done successfully, I'm just sharing my findings as it might benefit others.
2017 Apr 21
2
Problem to many connection
I'm desperate. My English is terrible, but I will try to be as clear as possible. I have Samba 4.4.4 in a Centos 7. I have many connections for each ip. The command smbstatus -b returns me infinity of these: Samba version 4.4.4 PID Username Group Machine Protocol Version Encryption Signing
2007 Nov 16
1
3.0.27a out monday.
Just spoke to Jerry, we'll be doing a 3.0.27a on Monday to fix a regression that broke smbfs mounts from Linux. Sorry for the problem. Jeremy.
1999 Jul 02
1
preexec: return code not used? (PR#18576)
T.D.Lee@durham.ac.uk wrote: > > > But we'd like to go one step further and have the return code from preexec > be used to continue or abort the connection being established. The script > above would be modified to generate this return code. > > Looking through the source code (smbd/service.c), it doesn't seem to check > the return code (calling smbrun to do the
2015 Jan 21
2
reducing redundant work in methods package
Hi all, The function call series genericForPrimitive -> .findBasicFuns -> .findAll happens 4400 times while the GenomicRanges package is loading. Each time .findAll follows a chain of environments to determine that the methods namespace is the only one that holds a variable called .BasicFunsList. This accounts for ~10% of package loading time. I'm sure there is some history to that
2006 Aug 29
2
change password on 1st signon
Is there a way to enable user to change password on first signon?
2012 Jun 09
2
[patch] NFSv4/ZFS ACLs
This is a PoC patch for NFSv4/ZFS ACLs. The objective of the patch is that rsync --acls support NFSv4/ZFS ACLs without requiring a new command line option NFSv4 ACLs can't be represented using POSIX draft ACLs, if an NFSv4 ACL is present a separate POSIX draft ACL will not be present and there are new APIs to access NFSv4 ACLs. So we need to distinguish between NFSv4 ACLs and POSIX ACLs in
2009 Mar 10
2
problem with concatinating string while taking as a path of a file
Hi all, I have a problem with concatinating strings while taking as a path here the problem is i have to take path as FPATH<-"D:\\Kiran" and file name as Fname<-"FINDINGS.CSV" and while I am reading this table I have to take path with using these two strings because in "FPATH" there is many files like findings.csv, and path will be