Displaying 19 results from an estimated 19 matches for "barrantes".
Did you mean:
abrantes
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]]
2018 May 07
2
Comparing figures?
...about the vdiffr package and was going to explore it, not sure about the speed.
Any suggestions appreciated.
Thank you,
<https://west.exch023.serverdata.net/owa/?ae=Item&a=New&t=IPM.Note&cc=MTQuMy4zMTkuMixlbi1VUyw2LEhUTUwsMCww&pspid=_1525698150389_875737489#>
Ramiro
Ramiro Barrantes Ph.D.
Precision Bioassay, Inc.
431 Pine St., Suite 110
Burlington, VT 05401
802 865 0155
802 861 2365 FAX
www.precisionbioassay.com<https://west.exch023.serverdata.net/owa/redir.aspx?SURL=wN3KzpoKXAcetH7sTOTnSyfg-iAXFIinpPUtRcduCFCtkgZrUSDTCGgAdAB0AHAAOgAvAC8AdwB3AHcALgBwAHIAZQBjAGkAcwBpAG8AbgBi...
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 "reference" figure signature....
2017 Aug 08
1
Bug?
...F-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
Thank you,
Ramiro
Ramiro Barrantes Ph.D.
Precision Bioassay, Inc.
431 Pine St., Suite 110
Burlington, VT 05401
802 865 0155
802 861 2365 FAX
www.precisionbioassay.com<https://west.exch023.serverdata.net/owa/redir.aspx?SURL=wN3KzpoKXAcetH7sTOTnSyfg-iAXFIinpPUtRcduCFCtkgZrUSDTCGgAdAB0AHAAOgAvAC8AdwB3AHcALgBwAHIAZQBjAGkAcwBpAG8AbgBi...
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 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
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
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
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,
2019 Oct 10
0
How to refer to my package from another package DESCRIPTION
On 10/10/2019 5:13 p.m., Ramiro Barrantes wrote:
> 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...
2018 Jan 30
0
withTimeout bug, it does not work properly with nlme anymore
>>>>> Ramiro Barrantes <ramiro at precisionbioassay.com>
>>>>> on Mon, 27 Nov 2017 21:02:52 +0000 writes:
> 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 exam...
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 Aug 31
1
Class that wraps Data Frame
Hello,
I have again a "good practices"/programming theory question regarding data.frames.
One of the fundamental objects that I use is the data frame with a particular set of columns that I would fill or get information from, and an entire system would revolve around getting information from or putting information to such data.frame.
On a different OOP programming language I would be
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
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.
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 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",
2014 Jul 30
0
binary to R object
Hello,
I have stored R objects as hexadecimals in a mysql database, I then usually transform them to binary and then save it into a file. E.g.
hex <- getBlob #gets blob from database as hexadecimal
binary <- transformToBinary(hex) #moves from hex to binary
I would usually save them into a file as follows:
writeBin(object=binary,con="fileName.txt")
Then eventually if
2017 Nov 26
0
withTimeout does not timeout 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 in this example it does not. I tried this both on a linux (64 bit, CentOS 7, R 3.4.1, nlme 3.1-131 R.util 2.6) and mac (Sierra 10.13.1, R 3.4.2, same versions or nlme and