similar to: A couple of enhacements suggestions

Displaying 20 results from an estimated 1100 matches similar to: "A couple of enhacements suggestions"

2013 Jan 09
5
R encrypt/decrypt
Hello, I am working on a web system (php) that uses R in the backend, and we need some basic fast encryption/decryption for the underlying mysql database that can be used by both R AND php. It does not need to be top-of-the-line, but just provide some basic level of fast encryption/decryption. Any suggestions? Thank you, Ramiro [[alternative HTML version deleted]]
2011 Oct 19
1
Asterisk call transfers not working
Hello: We have a TDM2433E Digium Card (12 FXS, 12 FXO) and Asterisk 1.8.7.0 running. Everything seems to be ok but call transfers. This is the issue: *A, B, C and D are in FXS ports*. 1) A calls B. B anwers. 2) B tries to transfer the call to C dialing *2 (code for attended transfer). 3) A hears MOH. B dials number C. 4) Asterisk says the dialed number is incorrect or non existing. We tried
2018 May 07
2
Comparing figures?
Hello, I am working on tests to compare figures. I have been using ImageMagick, which creates a figure signature, and I can compare a "test" figure signature against a saved "reference" figure signature. It seems to work pretty well. However, it is slow as it requires reading from the file system. Are there any options to compare figures on memory? For example, if I
2003 Jan 03
6
RFC1918_LOG_LEVEL
I have tried (RH7.3/shorewall-1.3.12-1) both of the following in shorewall.conf to eliminate ''rfc1918'' logging into /var/log/messages: RFC1918_LOG_LEVEL=debug RFC1918_LOG_LEVEL=notice Neither appear to eliminate the logging. Here''s what the ''logdrop'' chain shows: 1 229 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix \
2018 May 07
0
Comparing figures?
I suggest perceptual diff. You could write a wrapper around it. http://pdiff.sourceforge.net On Mon, 7 May 2018 16:49 Ramiro Barrantes, <ramiro at precisionbioassay.com> wrote: > Hello, > > I am working on tests to compare figures. I have been using ImageMagick, > which creates a figure signature, and I can compare a "test" figure > signature against a saved
2012 Aug 01
3
Best Programming Practices regarding data frames
Hello, I come from using different programming languages (C++, Mathematica, Perl) but have been using R extensively for several months. I see the data frame as a key piece of the language and wanted to inquire people's experience regarding its use. Say you have a data frame D D <- data.frame(some columns) and you define a function that needs the information from this data frame and is
2012 Mar 15
2
Timer on a function
Hello, I have a program that consists of a loop fitting a function over many models. Sometimes the fitting on a particular model takes minutes to converge. Is there a way that I can limit the amount of time that R spends on a given model: say if my line is: fittingFunction( func, model.1) can I have some function: stopIfUnderTime( fittingFunction( func, model.1) , 5 ) where
2017 Aug 08
1
Bug?
Hello, In my code I found something that looks like an anomaly, I found a reproducible example in which I am just trying to compare each row in a data frame against the first row: a<-data.frame(row=c("B","C","B"),column=c(2,2,10),assay=c("Assay1","Assay1","Assay1"),plate=c(1,1,1),stringsAsFactors=FALSE) apply(a[1:2,],1,function(x) {
2017 Nov 27
2
withTimeout bug, it does not work properly with nlme anymore
Hello, I was relying on withTimeout (from R.utils) to help me stop nlme when it ?hangs?. However, recently this stopped working. I am pasting a reproducible example below: withTimeout should stop nlme after 10 seconds but the code will generate data for which nlme does not converge (or takes too long) and withTimeout does not stop it. I tried this both on a linux (64 bit, CentOS 7, R 3.4.1,
2012 Jan 16
3
Using Sweave to generate multiple documents
Hello, I tried looking for a Sweave-specific list but didn't find one, nor did I find an answer via google, so will send this question to the general R list. Please feel free to point me in the right direction. I am using Sweave and would like to have a single .Rnw document that generates 1) a summary report, 2) a full report, 3) slides for a talk. I think my material lends itself to have
2012 Apr 05
1
reclaiming lost memory in R
Dear list, I am trying to reclaim what I think is lost memory in R, I have been using gc(), rm() and also using Rprof to figure out where all the memory is going but I might be missing something. I have the following situation basic loop which calls memoryHogFunction: for i in (1:N) { dataset <- generateDataset(i) fit <- try( memoryHogFunction(dataset, otherParameters)) } and
2012 Apr 03
1
Nlme not working on very similar initial values
Hello, I am using CentOS Linux 6.0, R 2.14.1 and nlme 3.1-103 I am trying to fit some models using nlme, and what was happening was that it would get to some datasets and just "stall", the memory usage would grow and grow and eventually crash. I looked carefully into one of the datasets and ran it separately. It worked. After narrowing down on all possibilities, I found that the main
2004 Dec 01
1
Ethernet bridges + udev problem?
Hello, I can''t seem to get the network going. I found this message in the log of Domain0: ----------------------------------------------------------------------- Dec 1 15:39:18 zms wait_for_sysfs[4180]: either wait_for_sysfs (udev 039) needs an update to handle the device ''/class/net/br0'' properly (no device symlink) or the sysfs-support of your device''s
2012 Jan 10
1
Converting BY to a data.frame
Hello, I am trying to convert BY to a data frame, consider the following example: exampleDF<-data.frame(a=c(1,2),b=c(10,20),name=c("first","second")) exampleBY<-by(exampleDF,with(exampleDF,paste(a,b,sep="_")),               function(x) {                 data.frame(                     name=as.character(x$name),                     a=x$a,                    
2012 Apr 01
1
R process taking over memory
Hello, I have a general question on the possibility of how to "catch and stop" a function when it uses too much memory. The problem is that some datasets, when applied to nlme (a relatively older version), cause the nlme function to just hang forever and start taking over memory (this afternoon one of those calls was about 40GB!) and not returning an answer. Other datasets work fine.
2005 Sep 15
1
RE: veth0 is from netback and vifu.0 is fromthebridge-utils?
> That''s great, except when you need *two* bridges, for two > independent subnets, and there is no, as far as I can see, peth1. You can have multiple vethX interfaces on recent builds -- see netback/loopback.c. I think the current default is a rather miserly 1 (and should be increased), but can be set on the command line. Ian > Em Wednesday 14 September 2005 16:30, John
2011 Nov 22
2
"%d" does not expand to domain on wildcard search
Hi, I found that doing a wildcard search with doveadm doesn't expand the %d global variable when doing a wildcard search like: doveadm search *@domain ALL LARGER 10000k doveadm(root): Error: User listing returned failure doveadm: Error: Failed to iterate through some users In /var/log/dovecot.log: Nov 22 20:48:07 auth-worker: Debug: ldap: iterate: base=vd=%d,dc=domain scope=subtree
2005 Sep 03
6
tls library message won''t go away
Hello, I''m trying to upgrade to using the "boxed" xen supported on FC4 after having it working fine for a while on a manual installation on FC3. I upgraded the host operating system with the FC4 cdroms, and it went mostly fine (after I turned off SElinux...) Now, when I try to boot one of the provided xen kernels, namely: vmlinuz-2.6.12-1.1447_FC4xen0 I always get the warning
2019 Oct 10
2
How to refer to my package from another package DESCRIPTION
Hello, I am developing some packages. Package1 requires Package2, both of which I developed: Right now Package2 is installed properly here: /myHome/libraries/Package2 Package1 needs Package2. Package1 refers to Package2 both in the Roxygen @import field for one of the functions, and also in the Imports section in the DESCRIPTION However, when I do ?R CMD check Package1? I get: * checking
2005 Dec 22
11
rforum engine
Here''s a question for those well-versed in rforum or engines -- or both, ideally :) I''ve spent some time today turning RForum into an engine, using rails 1.0, engines trunk, and rforum 0.1 (as rforum trunk didn''t appear to work out of the box). My rforum engine works, but only when I do two things that I found by trial and error: 1) All rforum controllers subclass