similar to: Rd files, \itemize in \value

Displaying 20 results from an estimated 9000 matches similar to: "Rd files, \itemize in \value"

2009 Sep 04
2
Running R on read-only file system, without temporary directory
Dear All, I would like to do run R without having write permissions to any directory on the system. It seems that I need to modify the R source code for this, to make R start without creating a temporary directory. So far, so good. But should I expect any more complications? Does R really need the temporary directory that much? Thanks, Gabor -- Gabor Csardi <Gabor.Csardi at unil.ch>
2010 Jun 21
4
S3 generics need identical signature?
Dear all, "Writing R Extensions" explicitly says that A method must have all the arguments of the generic, including ... if the generic does. A method must have arguments in exactly the same order as the generic. If the generic specifies defaults, all methods should use the same defaults. This is clear. R CMD check even checks for this. But then how is it possible that
2009 Jan 09
1
snow and different R versions
Dear Luke and others, I have many R versions on my machine and want to start a particular one when snow builds its cluster. (The same version I start snow from.) It seems that everything is set up correctly in defaultClusterOptions: > mget(ls(defaultClusterOptions), defaultClusterOptions) $homogeneous [1] TRUE $manual [1] FALSE $master nodename "maya.unil.ch" $outfile [1]
2010 Jun 15
1
Package testing
Dear all, I would like to write some tests for my R package, and the usual 'tests' directory seemed like a good solution, but there is something I cannot understand. It is possible to supply .Rout.save files with the expected output for the tests, which is great. But since the tests are not run with R --slave, the expected output needs to contain all the extra output from R, e.g. the
2009 Sep 29
2
preformatted and '#' in manual pages
Dear All, I have the following in a .Rd file: ... human readable (not binary) format. The format itself is like the following: \preformatted{ \# vertex1name vertex2name [optionalWeight] vertex3name [optionalWeight] } Here, the first vertex of an edge is preceded with a pound sign ... and it is fine with R 2.9.2, but fails on R-devel, when building the PDF version
2009 Sep 17
1
Why S4 method is not visible from another package?
Dear All, maybe this is something obvious, I seem to be incapable of understanding how S4 works. So, in package 'A' I defined a "summary" method for my class: setMethod("summary", signature(object="ListHyperGResult"), function(object, pvalue=pvalueCutoff(object), categorySize=NULL) { "whatever" })
2009 Apr 18
0
igraph 0.5.2
igraph is a package for graphs/networks. It has a C core and uses a simple and fast graph representation allowing millions of vertices and edges. LINKS Release notes for the 0.5.2 version: http://igraph.sourceforge.net/relnotes-0.5.2.html Release notes for the 0.5.1 version: http://igraph.sourceforge.net/relnotes-0.5.1.html Complete list of changes: http://igraph.sourceforge.net/news.html The
2009 Apr 18
0
igraph 0.5.2
igraph is a package for graphs/networks. It has a C core and uses a simple and fast graph representation allowing millions of vertices and edges. LINKS Release notes for the 0.5.2 version: http://igraph.sourceforge.net/relnotes-0.5.2.html Release notes for the 0.5.1 version: http://igraph.sourceforge.net/relnotes-0.5.1.html Complete list of changes: http://igraph.sourceforge.net/news.html The
2011 Oct 19
3
RFC: 'igraph' package update and backward compatibility
Dear R developers, I am seeking advice on some $subject matter. My package will have an update soon, that is not backward compatible with the current version. It will likely break much of the existing code. Many (~50) packages depend on 'igraph' and they, too, will most probably break with the new version. My intended solution is, that I create a snapshot of the current package, under
2011 Nov 22
3
On-demand importing of a package
Dear All, in some functions of my package, I use the Matrix S4 class, as defined in the Matrix package. I don't want to depend on Matrix, however, because my package is perfectly fine without Matrix, most of the functionality does not need Matrix. Matrix is so included in the 'Suggests' line. I load Matrix via require(), from the functions that really need it. This mostly works
2006 Apr 22
1
subsetting from C code, do_subset
Dear List, do you know a way for subsetting an R object from C code? I would need the equivalent of x[s]. I've found that the do_subset internal function does this, but don't really know how to call it properly. I've two SEXP's, one for the object and one for the index. I'm thinking of creating an enviroment, place the two SEXP's in it and then just parse and run the
2008 Jan 11
2
Count unique rows/columns in a matrix
Dear List, i know there are some solutions for this in the archive, but they're not very good for numeric matrices, since they usually convert rows/columns to character strings. Is there an easy way to do $subject for numeric matrices properly, or i need to do it by hand? Thanks, Gabor
2007 Oct 16
1
The itemize command in *.Rd files.
I'm getting an anomalous result from using the itemize command in a documentation file. My usage is something like \itemize{ \item Melvin \item Irving \item Clyde \item Fred } (This was place inside ``\details{ }''.) (Previously I had enclosed the text following each item in braces but that gave even worse results.) The package appears to install OK; i.e. the command R
2008 Feb 20
0
igraph package, version 0.5
igraph is a package for graphs and networks. It has a C core and uses a simple and fast graph representation allowing millions of vertices and edges. NEW FEATURES: - We use the ARPACK library for graph related eigenvalue problems, like Page Rank calculation, Kleinberg's hub and authority scores, eigenvector centrality, etc. There is also a generic interface if someone wants to use
2008 Feb 20
0
igraph package, version 0.5
igraph is a package for graphs and networks. It has a C core and uses a simple and fast graph representation allowing millions of vertices and edges. NEW FEATURES: - We use the ARPACK library for graph related eigenvalue problems, like Page Rank calculation, Kleinberg's hub and authority scores, eigenvector centrality, etc. There is also a generic interface if someone wants to use
2020 Apr 30
0
Use of MathJax (or something similar) in .Rd files
On 30/04/2020 6:15 a.m., Viechtbauer, Wolfgang (SP) wrote: > Interesting. I gave this a try, but couldn't make this work. One would have to infuse something like > > <script id="MathJax-script" async > src="https://cdn.jsdelivr.net/npm/mathjax at 3/es5/tex-mml-chtml.js"> > </script> > > or > > <script
2020 Apr 30
0
Use of MathJax (or something similar) in .Rd files
Thank you. This is a very useful idea! Best, Ravi ________________________________ From: R-devel <r-devel-bounces at r-project.org> on behalf of Viechtbauer, Wolfgang (SP) <wolfgang.viechtbauer at maastrichtuniversity.nl> Sent: Thursday, April 30, 2020 6:59:02 AM To: r-devel Subject: Re: [Rd] Use of MathJax (or something similar) in .Rd files Thanks Gabor and Duncan! It works.
2012 May 13
2
Help with V function in igraph
I am using the code below to output some network measures: central_social <- data.frame(V(s641_social)$name, indegree_social, outdegree_social, incloseness_social, outcloseness_social, betweenness_social, eigen_social) and I get the following error: Error in Re(z) : non-numeric argument to function I know this has to do with V but I cannot figure out what is wrong. s641-social is a graph
2009 Jan 29
1
In Rd: \describe \itemize and \item
I rebuilt a test version of my yaImpute package using Uwe Ligges' windows build service. I got this reply: Check result: OK R version 2.9.0 Under development (unstable) (2009-01-27 r47756) Here is the issue: I have the following construct in help files (this example relates to "data"): \format{ A data frame with 847 rows and 29 columns: \cr\cr Ground based measurements of
2008 Feb 11
4
Conditional rows
Hi, Given a simple example, test <- matrix(c(0.1, 0.2, 0.1, 0.2, 0.1, 0.1, 0.3, 0.1, 0.1), 3, 3) How to generate row indexes for which their corresponding row values are less than or equal to 0.2 ? For this example, row 2 and 3 are the correct ones. Thanks [[alternative HTML version deleted]]