similar to: Which should I use? system.file() path.package() find.package()

Displaying 20 results from an estimated 60000 matches similar to: "Which should I use? system.file() path.package() find.package()"

2011 Mar 22
2
R_HOME path getting munged in inst/doc/Makefile on Windows
Hello, I have come across two separate packages that have a Makefile in inst/doc which use the R_HOME variable. In both cases, the path to R_HOME gets munged in such a way that commands that include R_HOME fail on Windows: For example, one Makefile, for the xmapcore package ( https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/xmapcore/username/password: readonly) has this:
2019 Aug 09
7
Underscores in package names
Won't it be better to have a convention that allows lowercase, dash, underscore and dot as only valid characters for new package names and keep the ancient format validation scheme for older package names? This could be implemented by a single function, taking a strictNaming_b_1 parameter which defaults to true. Easy to use, and compliance results will vary according to the parameter value,
2011 Jan 24
2
Setting bioconductor repository in .Rprofile. Is there a permanent way?
I currently set the Bioconductor repository in my .Rprofile using this code (which needs editing for every version number change of Bioconductor): # Choose repositories repos <- structure(c(CRAN="http://streaming.stat.iastate.edu/CRAN", CRANextra="http://www.stats.ox.ac.uk/pub/RWin",
2019 Aug 09
3
Underscores in package names
I do not follow you Gabriel. Package name must not use digit numbers. Tarbal will use them, taken from the DESCRIPTION file, version field. That's why I consider the weird case name you presented as irrelevant, and not to be considered. Le ven. 9 ao?t 2019 ? 20:41, Gabriel Becker <gabembecker at gmail.com> a ?crit : > > > On Fri, Aug 9, 2019 at 11:05 AM neonira Arinoem
2002 Sep 27
2
question regarding lm and logLik in R
It appears that the degrees of freedom reported by logLik changed between R 1.4.1 and R 1.5.1. Is this true? Detail: > I have been using the lm and logLik functions in R to develop code using > version 1.4.1. When I run it on version 1.5.1, I'm getting different > degrees of freedom with the logLik function. Version 1.5.1 seems to give > one extra degree of freedom than
2011 Mar 30
1
R CMD build processes inst/doc/Makefile only if there are vignette files?
Hi, in Section 'Writing package vignettes' of 'Writing R Extensions' it says: "Whenever a Makefile is found, then R CMD build will try to run make after the Sweave runs, so PDF manuals can be created from arbitrary source formats (plain LaTeX files, ...). [...] Note that the make step is executed even if there are no files in Sweave format, [...]". In my package,
2017 Sep 28
1
rgl crash on windows 7
I have a co-worker who has installed R 3.4.2 on Windows 7. When this person tries to load the rgl package with library(rgl) A dialog box appears with the message: R for windows gui frontend has stopped working I suspect a conflict problem with a dll, but I'm not sure how to identify if this is the problem since R is crashing immediately. Interestingly, when we start R and do NOT load rgl,
2016 Oct 07
1
unzip does not like a / at the end of path.
dir("inst/extdata/") dir("./inst/extdata/") dir("inst/extdata") works all fine, listing the directory content. but: unzip(tmp[1],exdir = "inst/extdata/") Error in unzip(tmp[1], exdir = "inst/extdata/") : 'exdir' does not exist unzip(tmp[1],exdir = "./inst/extdata/") Error in unzip(tmp[1], exdir = "inst/extdata/") :
2010 Jan 27
1
ggplot2 theme for custom point colors?
1. Is it possible to set the point colors in a ggplot2 theme? For example, to default to these colors: scale_colour_manual(value = c("red", "orange", "yellow", "green", "blue") 2. Is it possible to set this theme in .Rprofile, similar to: my.lattice.colors = function () { .......etc.....} options(lattice.theme=".mw.lattice.colors") --
2009 Oct 26
1
Severe growing pains with new help system
(On Windows XP with R 2.10.0) 1. In the past, I have used a desktop search engine (X1) to pre-index all of R's html help files. Obviously, this no longer works with dynamic help pages. It also appears that the .Rd files are converted to a binary format when installed and cannot be indexed by X1. 2. I like to use firefox to type 'xyplot' into the 'awesome bar' and go to the
2011 Apr 20
2
Package Name Not Found Warning
Hello, I've got a DESCRIPTION file with a the first line: Package: Repitools But, when I run R CMD INSTALL Repitools I get: * installing *source* package Repitools ... ** R ** data ** inst ** preparing package for lazy loading Warning in FUN(X[[1L]], ...) : Created a package name, "2011-04-20 09:05:40", when none found ** help *** installing help indices ** building package
2020 Sep 23
1
New URL redirect checks
Me too. I have changed some valid URLs in \url{} to \verb{} just to avoid these check NOTEs. I do appreciate the check for the validity of URLs in packages, especially those dead links (404), but discouraging URLs with status code other than 200 (such as 301) feels like overdoing the job. After I "hide" links from R CMD check with \verb{} , it will be hard to know if these links are
2011 May 27
1
Help with Rmpi install
Hello R-help! I am a systems administrator for the University of Southern California. I take care of it's general-purpose research cluster, and have recently been asked to provide access to a parallelized R platform. I do not have any previous experience using R, and have only ever had to do anything more then 'yum -y install R'. We have a myrinet MPI network, and use mpich1 as our
2019 Aug 08
5
Underscores in package names
Are there technical reasons that package names cannot be snake case? This seems to be enforced by `.standard_regexps()$valid_package_name` which currently returns "[[:alpha:]][[:alnum:].]*[[:alnum:]]" Is there any technical reason this couldn't be altered to accept `_` as well, e.g. "[[:alpha:]][[:alnum:]._]*[[:alnum:]]" I realize that historically `_` has not
2017 Aug 06
1
[PATCH] drm/nouveau/mpeg: print more debug info when rejecting dma objects
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- This was helpful when debugging our earlier mpeg woes. May as well have it upstream. drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c | 7 ++++++- drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv40.c | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.c
2019 Nov 08
3
MariaDB database for users and passwords?
Am 08.11.2019 um 21:23 schrieb Ken Wright via dovecot: > > On 11/8/19 3:14 PM, @lbutlr via dovecot wrote: >> On 08 Nov 2019, at 11:56, Ken Wright <wizard at bnnorth.net> wrote: >>> Nov 8 13:28:53 grace dovecot: auth: Fatal: Unknown passdb driver ? >> You do not have Dovecot compiled with support for mysql' >> > But the dovecot-mysql package is
2007 Jul 26
1
How to auto-scale cex of y-axis labels in lattice dotplot?
When I create a dotplot in lattice, I frequently observe overplotting of the labels along the vertical axis. On my screen, this illustrates overplotting of the letters: windows() reps=6 dat=data.frame(let=rep(letters,each=reps), grp=rep(1:reps, 26), y=runif(26*reps)) dotplot(let~y|grp, dat) Is there a way to automatically scale the labels so that they are not over-plotted? I currently do
2011 Mar 23
2
system.file() to read a text file from a vignette
[Env: R 2.12.2, WinXp] In a vignette for the vcdExtra package, I had a text file, tv.dat under data/, that I used in the vignette as <<tv1,results=verbatim>>= tv.data<-read.table(system.file("data","tv.dat",package="vcdExtra")) head(tv.data,5) @ I was told that this now generates a warning for non-Rdata files in R CMD check. But I'm now
2019 Nov 09
1
MariaDB database for users and passwords?
> On 09/11/2019 05:44 Ken Wright via dovecot <dovecot at dovecot.org> wrote: > > > On 11/8/19 3:40 PM, Alexander Dalloz via dovecot wrote: > > Am 08.11.2019 um 21:23 schrieb Ken Wright via dovecot: > >> > >> On 11/8/19 3:14 PM, @lbutlr via dovecot wrote: > >>> On 08 Nov 2019, at 11:56, Ken Wright <wizard at bnnorth.net> wrote: >
2017 Jun 06
2
weird SELinux denial
I keep seeing this in my audit.logs: type=AVC msg=audit(1496336600.230:6): avc: denied { name_connect } for pid=2411 comm="dbus-daemon" dest=111 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:portmap_port_t:s0 tclass=tcp_socket Was caused by: The boolean allow_ypbind was set incorrectly. Description: Allow system to run with NIS Allow