Displaying 20 results from an estimated 400 matches similar to: "Making a package CITATION file from BibTeX"
2019 May 29
0
Making a package CITATION file from BibTeX
On Thu, 30 May 2019, Dr Gregory Jefferis wrote:
> Dear Colleagues,
>
> I would like to provide a CITATION file for my package nat.nblast [1].
>
> I have the correct citation in BibTeX format [2]. How can I convert this
> BibTeX to the format needed by R for a package CITATION file (I have a
> lot of other packages needing citations ...).
(1) You can use read.bib() from the
2014 Nov 10
1
subscripting a data.frame (without changing row order) changes internal row.names
Dear R-devel,
Can anyone help me to understand this? It seems that subscripting the
rows of a data.frame without actually changing their order, somehow
changes an internal representation of row.names that is revealed by e.g.
dput/dump/serialize
I have read the docs and inspected the (R) code for data.frame,
rownames, row.names and dput without enlightenment.
df=data.frame(a=1:10, b=1)
2001 Sep 22
2
Finding a 3D convex hull in R
Dear List Members,
I'm presently carrying out morphological analysis of a data set of neuronal
structures. These are essentially 3D binary trees. In due course I will be
trying to use discriminant analysis or other methods to classify these
neurons based on morphological variables such as total tree length, segment
number etc.
I would like to calculate a 3D convex hull for a set of X,Y,Z
2012 Aug 06
1
bibtex::read.bib -- extracting bibentry keys
I have two versions of a bibtex database which have gotten badly out of
sync. I need to find find all the entries in
bib2 which are not contained in bib1, according to their bibtex keys.
But I can't figure out how to extract a list of the bibentry keys in
these databases.
A minor question: Is there someway to prevent read.bib from ignoring
entries that do not contain all required fields?
2011 Jan 07
1
print.citation, small bug?
Hi,
I use Sweave extensively in my consulting work. When submitting reports to
the scientists I work
with I like to use the citation function to reference any packages I use, to
give proper acknowledgement.
I noted in the documentation that a citation inherits from bibentry, and
indeed,
> citr<- citation()
> class(citr)
[1] "citation" "bibentry"
However, following
2014 May 22
1
citEntry handling of encoded URLs
The following citEntry includes a url with %3A and other encodings
citEntry(entry="article",
title = "Software for Computing and Annotating Genomic Ranges",
author = personList( as.person("Michael Lawrence" )),
year = 2013,
journal = "{PLoS} Computational Biology",
volume = "9",
issue =
2017 Apr 19
1
c documentation after change
In R 3.4.0 RC, argument list of 'c' as S4 generic function has become
(x, ...) .
However, "S4 methods" section in documentation of 'c' (c.Rd) is not updated yet.
Also, in R 3.4.0 RC, 'c' method of class "Date" ('c.Date') is still not explicitly documented.
2013 Nov 27
1
inflate zlib compressed data using base R or CRAN package?
Hello,
I have a binary file type that includes a zlib compressed data block (ie
not gzip). Is anyone aware of a way using base R or a CRAN package to
decompress this kind of data (from disk or memory). So far I have found
Rcompression::decompress on omegahat, but I would prefer to keep
dependencies on CRAN (or bioconductor). I am also trying to avoid
writing yet another C level interface to
2012 Jun 16
2
Adding title to colorkey
A recent paper on visualisation (in Neuron, a leading neuroscience
journal) surveyed how well previous articles in this journal labelled their
graphs (e.g. axis labelling and describing their error bars). Of
particular interest is that (only) 40% of plots labelled what their
colorkey was showing (variable and units).
The paper is at http://dx.doi.org/10.1016/j.neuron.2012.05.001
R is not yet
2009 May 29
1
Backpropagation to adjust weights in a neural net when receiving new training examples
I want to create a neural network, and then everytime it receives new data,
instead of creating a new nnet, i want to use a backpropagation algorithm
to adjust the weights in the already created nn.
I'm using nnet package, I know that nn$wts gives the weights, but I cant
find out which weights belong to which conections so I could implement the
backpropagation algorithm myself.
But if anyone
2020 Oct 09
1
Help using the exclude option in the neuralnet package
Good Morning,
I am using the neuralnet package in R, and am able to produce some basic neural nets, and use the output.
I would like to exclude some of the weights and biases from the iteration process and fix their values.
However I do not seem to be able to correctly define the exclude and constant.weights vectors.
Question: Can someone point me to an example where exclude and
2011 Dec 16
2
R package BibTex entries: looking for a more general solution
Back in 2010 I raised this issue, and there was some discussion,
https://stat.ethz.ch/pipermail/r-devel/2010-November/058987.html
The goal, then, as now is to have a way to produce a bibtex-clean .bib
file (i.e., not requiring
manual editing except in unusual circumstances) reflecting installed
packages
for use in writing where one often needs/wants to cite all packages used
in a given
2003 Jun 20
1
Bug?
Hi,
Been using Dovecot for a few weeks now, must say it's very good.. I've
been looking for a 'drop in' replacement for UWImap for ages! :)
but just recently It's been giving me a few problem, I haven't tracked
down exactly what causes the problem yet (I'm using Apple Mail on OS X
10.2.6) but after a good mail session it keep trying to log in over and
over again..
2006 Nov 02
2
Simple question about Lists
Hello,
I know this must be a very simple problem, but I can't work it out
from the documentation that is available. I've got a list of data I
would like to plot (the weights of a single neuron that was trained
using the neural package). The problem I'm encountering is that this
set of weights, are in the form of a list.
> network$weigth[1]
[[1]]
[,1]
[1,]
2009 Jul 23
1
Activation Functions in Package Neural
Hi,
I am trying to build a VERY basic neural network as a practice before
hopefully increasing my scope. To do so, I have been using package "neural"
and the MLP related functions (mlp and mlptrain) within that package.
So far, I have created a basic network, but I have been unable to change the
default activation function. If someone has a suggestion, please advise.
The goal of the
2006 Jun 15
1
Access and assign list sub-elements using a string such as "l$a$b"
If I have a list I can set a sub-element as follows on the command line:
people=list()
people$tom$hair="brown"
people
But what if I have a string containing the name of the sub-element that I
want to access?
subel= "people$tom$hair"
get(subel) # returns error
assign(subel,"red") # silent but doesn't change list
people
The attempts above using assign/get
2013 Sep 04
4
Comments requested on "changedFiles" function
In a number of places internal to R, we need to know which files have
changed (e.g. after building a vignette). I've just written a general
purpose function "changedFiles" that I'll probably commit to R-devel.
Comments on the design (or bug reports) would be appreciated.
The source for the function and the Rd page for it are inline below.
----- changedFiles.R:
changedFiles
2011 Dec 06
1
Read Windows BMP format images
Hello,
Does anyone know of an R package that can read Windows BMP format images? Many thanks,
Greg Jefferis.
--
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology,
Hills Road,
Cambridge, CB2 0QH, UK.
http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
2003 Sep 22
1
Data frame from list of lists
This seems to be a simple problem, and I feel that there ought to be a
simple answer, but I can't seem to find it.
I have a function that returns a number of values as a heterogeneous list -
always the same length and same names(), but a number of different data
types, including character. I want to apply it to many inputs, resulting in
a list of lists.
I would like to turn this list of
2006 Jan 10
2
Correct way to test for exact dimensions of matrix or array
Dear R Users,
I want to test the dimensions of an incoming vector, matrix or array safely
and succinctly. Specifically I want to check if the unknown object has
exactly 2 dimensions with a specified number of rows and columns.
I thought that the following would work:
> obj=matrix(1,nrow=3,ncol=5)
> identical( dim( obj) , c(3,5) )
[1] FALSE
But it doesn't because c(3,5) is numeric