[R] Package installation problem

2020-05-28 Thread John via R-help
I'm not certain just what this problem is. Trying to install the "curl" package, which "tseries" wants results in the following error: Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing `libcurl.pc' to the PKG_CONFIG_PATH environment

Re: [R] Partial matching list elements in R 4.0

2020-05-28 Thread David Winsemius
There is a modifyList function in pkg utils that is used extensively in the code for lattice graphics:  var$options <- modifyList(var$options, list( misc=list(abc = "123"), mi= list(something    = 13))                                              ) #--- > var $options $optio

[R] [R-pkgs] strand: A Framework for Investment Strategy Simulation

2020-05-28 Thread Jeff Enos
Hi all, I'm pleased to announce that the 'strand' package is now available on CRAN. The package provides a framework for performing discrete (share-level) simulations of investment strategies. Simulated portfolios optimize exposure to an input signal subject to constraints such as position size,

Re: [R] all.equal and use.names

2020-05-28 Thread John Harrold
Howdy Folks, Eric - I'm just using this as a toy example to illustrate what I'm trying to do. The actual lists I'm trying to compare are much larger and more complex. So sorting them like that is something I'd have to do recursively. I wanted to take advantage of all.equal because I want to be abl

Re: [R] all.equal and use.names

2020-05-28 Thread Martin Maechler
Note: all.equal() with all its S3 methods is implemented entirely in R code, so it should not be hard to find out where things happen and how. > John Harrold > on Wed, 27 May 2020 21:52:16 -0700 writes: > Is there a way to compare t1 and t2 above such that the

Re: [R] all.equal and use.names

2020-05-28 Thread Eric Berger
Why not just reorder the elements of the list so they should match? t1 <- t1[ names(t1)[order(names(t1))]] t2 <- t2[ names(t2)[order(names(t2))]] identical(t1,t2) On Thu, May 28, 2020 at 7:52 AM John Harrold wrote: > Is there a way to compare t1 and t2 above such that the name is used > ins

[R] How to use msaPrettyPrint in memory efficient mode?

2020-05-28 Thread Luigi Marongiu
Hello, I have an alignment made with the package MSA. I installed latex on my ubuntu machine with `sudo apt-get install texlive-full` but I could not find the package texshade that is mentioned in the MSA's manual. When I run msaPrettyPrint I get: ``` Multiple alignment written to temporary file /