Re: [R] How to load fasta file with openPrimeR?

2021-02-15 Thread Luigi Marongiu
I think the problem is system.file, which is R base, but I'll go for bioconductor. Thanks On Mon, Feb 15, 2021 at 7:18 PM Bert Gunter wrote: > > As this is a Bioconductor package, why not ask on their support page: > > https://support.bioconductor.org/ > > > > Bert Gunter > > "The trouble with ha

Re: [R] Is it Possible to Create S4 Function Objects?

2021-02-15 Thread /əˈbi/
It appears that my previous post may lack clarity. So, I've created three examples of mathematical function objects. (One) using a standard closure with lexical scoping, (two) using S3 with an attribute and (three) using S4 with a slot. Each example constructs the function object via a constructor

Re: [R] How to load fasta file with openPrimeR?

2021-02-15 Thread Bill Dunlap
> but if I give these commands to a local file: > ``` > fasta.file <- system.file("extdata", "IMGT_data", "templates", > "stx.fa", package = "openPrimeR") > fasta.file <- system.file("stx.fa", package = "openPrimeR") > ``` > where stx.fa il the file I wanted to open and that is pres

Re: [R] How to load fasta file with openPrimeR?

2021-02-15 Thread Bert Gunter
As this is a Bioconductor package, why not ask on their support page: https://support.bioconductor.org/ Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Mon,

[R] How to load fasta file with openPrimeR?

2021-02-15 Thread Luigi Marongiu
Hello, I am trying to load a fast file with the package 'openPrimeR'. The manual (https://www.bioconductor.org/packages/release/bioc/vignettes/openPrimeR/inst/doc/openPrimeR_vignette.html) says to use: ``` fasta.file <- system.file("extdata", "IMGT_data", "templates", "Homo_sapiens

Re: [R] [External] Dimensioning lists.

2021-02-15 Thread Rolf Turner
Thanks to Richard Heiberger, John Fox, and Avi Gross, who pointed out to me that I should > use double brackets > [[ ]] > > > xxx[[2,3]] > $a > [1] "n" > > $b > [1] 20 I really should've should've known that; I feel a bit duh now! See fortunes::fortune(341) for a relevant comment. :-) Thank

[R] [Rd] R 4.0.4 is released

2021-02-15 Thread Peter Dalgaard
The build system rolled up R-4.0.4.tar.gz (codename "Lost Library Book") this morning. The list below details the changes in this release. You can get the source code from https://cran.r-project.org/src/base/R-4/R-4.0.4.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binari