search for: pkgname

Displaying 20 results from an estimated 323 matches for "pkgname".

2002 May 24
1
patch for openssh/contrib/solaris/buildpkg.sh
...> [ -f \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_prng_cmds.default ] && { > [ -f \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_prng_cmds ] || \\ > cp -p \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_prng_cmds.default \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_prng_cmds 194,197c194,197 < installf ${PKGNAME} $TEST_DIR/etc/rcS.d/K30${SYSVINIT_NAME}=../init.d/${SYSVINIT_NAME} s < installf ${PKGNAME} $TEST_DIR/etc/rc0.d/K30${SYSVINIT_NAME}=../init.d/${SYSVINIT_NAME} s < installf ${PKGNAME} $TEST_DIR/etc/rc1.d/K30${SYSVINIT_NAME}=../init.d/${SYSVINIT_NAME} s < installf ${PKGNAME} $TEST_DIR/etc...
2006 Sep 26
2
package usage statistics.
Dear useRs, Is it possible to get the R package usage statistics? That is, does R contain any tools to estimate which packages were used and how often? I am going to temporary change the workplace and packing the data and their processing scripts on my computer in order to continue my projects. During my work on the current workplace I periodically have had installed new R
2004 Apr 30
0
buildpkg.sh enhancements
...lt; _EOF -#! /sbin/sh +#! ${SCRIPT_SHELL} # [ -f \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_config ] || \\ cp -p \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_config.default \\ @@ -214,21 +270,27 @@ if [ "\${USE_SYM_LINKS}" = yes ] then [ "$RCS_D" = yes ] && \ -installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR/etc/rcS.d/K30${SYSVINIT_NAME}=../init.d/${SYSVINIT_NAME} s - installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR/etc/rc0.d/K30${SYSVINIT_NAME}=../init.d/${SYSVINIT_NAME} s - installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR/etc/rc1.d/K30${SYSVINIT_NAME}=../init.d/${SYSV...
2010 Aug 21
1
R CMD build --binary without option --use-zip-data
Hello, When I run R CMD build --binary pkgname I get * checking for file 'pkgname/DESCRIPTION' ... OK * preparing 'pkgname': * checking DESCRIPTION meta-information ... OK * cleaning src * removing junk files * checking for LF line-endings in source and make files * checking for empty or unneeded directories * building binary...
2004 Jun 22
2
function not in load table
...acter(WYFUN), as.double(alpha2), as.character(MINMAXFUN), WYdist=double(nres), as.integer(nres), test.value=double(grpnum), p.value=double(grpnum)) My .First.lib.R is as follows: .First.lib <- function(libname, pkgname) { library.dynam("izbi", package = pkgname, lib.loc = libname) data(COLS, package=pkgname) data(ROWS, package=pkgname) if (exists(".Dyn.libs")) remove(".Dyn.libs") if (interactive() && getenv("DISPLAY") != "") x11() } I read...
2013 Jul 14
4
diallel analysis
sir i could not find the plant breeding libraray in Rgui3.0.0 [[alternative HTML version deleted]]
2010 Feb 15
1
R-Commander plug-in difficulties
Hi All, I have recently created an Rcmdr plugin package and it passed all the checks and was uploaded to CRAN. I then downloaded it from CRAN and tried running it from my local R program and received this error: ... Error in f(libname, pkgname) : could not find function "getRcmdr" Error in library(pkg, character.only = TRUE) : .First.lib failed for 'RcmdrPlugin.MAc' In my .R file with all the relevant functions that are read into the package, I have placed this at the top, which seems to be related to one of the sou...
2006 Apr 18
2
Wishlist for promptPackage / index
Hi R-devels, would it be possible to enhance either promptPackage() or the default indexing mechanism for packages so that -- if it exists -- (the contents of) file <pkgname>-package.Rd is sorted first in * the .dvi / .pdf documentation file * the .chm documentation file * the package 00index.html documentation file ? So far I found the following "hand-made" solution for me: (1) rename the <pkgname>-package.Rd file to, say, 0<pkgname...
2009 May 15
2
Problem building (binary) packages for Windows
Hi, I am having a problem building binary packages for Windows recently. Normally, I use the "Murdoch-Sutherland" tool set, http://www.murdoch-sutherland.com/Rtools/ just build source packages by R CMD build <pkgname> and install these with R CMD INSTALL <pkgname> But now, for someone without having this tool set installed, under Win XP, with R-2.10dev (details below), I tried building a binary version with R CMD build --binary <pkgname> which used to work for me until recently (un...
2004 Nov 01
1
case-insensitive ZIP
A development note: In the function "install.packages", it would be helpful to those of us who have atypical installations and install manually from ZIP files to have pkgnames <- sub("\\.zip$", "", pkgnames) replaced with pkgnames <- sub("\\.zip$", "", pkgnames, ignore.case = TRUE) because the contributed zipfiles are ZIPfiles. The routine did not work for me out of the box. Jeremy Primer -----------------------------...
2004 Nov 01
1
case-insensitive ZIP
A development note: In the function "install.packages", it would be helpful to those of us who have atypical installations and install manually from ZIP files to have pkgnames <- sub("\\.zip$", "", pkgnames) replaced with pkgnames <- sub("\\.zip$", "", pkgnames, ignore.case = TRUE) because the contributed zipfiles are ZIPfiles. The routine did not work for me out of the box. Jeremy Primer -----------------------------...
2007 May 14
3
RFC: allow packages to advertise vignettes on Windows
...tly only Windows is supported, but I imagine the OS X GUI could also implement this). Below is the implementation we have been using. Is there an R-core member I can interest in pushing this along? I'm willing to submit a patch with documentation, etc. + seth addVigs2WinMenu <- function(pkgName) { if ((.Platform$OS.type == "windows") && (.Platform$GUI == "Rgui") && interactive()) { vigFile <- system.file("Meta", "vignette.rds", package=pkgName) if (!file.exists(vigFile)) { warning(sprintf(&q...
2002 Mar 09
0
OpenSSH-3.1p1 AIX buildbff.sh patch
...xt part -------------- diff -c -r openssh-3.1p1/contrib/aix/buildbff.sh openssh-3.1p1-aix/contrib/aix/buildbff.sh *** openssh-3.1p1/contrib/aix/buildbff.sh Tue Mar 5 13:38:37 2002 --- openssh-3.1p1-aix/contrib/aix/buildbff.sh Sat Mar 9 11:43:36 2002 *************** *** 11,31 **** umask 022 PKGNAME=openssh ! PATH=$PATH:`pwd` # set path for external tools export PATH ! ## Extract common info requires for the 'info' part of the package. ! VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` ! BFFVERSION=`echo $VERSION | sed '...
2005 Nov 14
1
Package manpage DCF hooks
Was looking at what was output for <pkgname>-package.Rd and wondered if any there was any means (via macro, etc) to merge some of the same information with a template for my package manpage? As much (all?) of the generated information was already provided in the DESCRIPTION, I'd prefer not to have to update the information in multiple...
2010 Apr 27
2
Resolving functions using R's namespace mechanism can double runtime
It appears that the runtime for an R script can more than double if a few references to a function foo() are replaced by more explict references of the form pkgname::foo(). The more explicit references are of course required when two loaded packages define the same function. I can understand why use of this mechanism is not free in an interpreted environment like R, but the cost seems rather high. Dominick [[alternative HTML version deleted]]
2012 Jul 24
1
Finding dynamic shared libraries loaded with a package
...ies so that they can be reloaded without restarting R. I want to make it automatic so that you can just pass in the name of the package, and it will unload all the relevant shared libraries. Typically, the name of the shared library is the same as the package. So something like this usually works: pkgname <- 'bitops' pkgpath <- system.file(package=pkgname) library.dynam.unload(pkgname, pkgpath) Some R packages have shared libraries with names that differ from the package, and this strategy won't work for them. I'm aware that the NAMESPACE file will have an entry like this: us...
2002 Mar 17
1
[patch] AIX package build fixes, please commit
...xt part -------------- diff -c -r openssh-3.1p1/contrib/aix/buildbff.sh openssh-3.1p1-aix/contrib/aix/buildbff.sh *** openssh-3.1p1/contrib/aix/buildbff.sh Tue Mar 5 13:38:37 2002 --- openssh-3.1p1-aix/contrib/aix/buildbff.sh Sat Mar 9 11:43:36 2002 *************** *** 11,31 **** umask 022 PKGNAME=openssh ! PATH=$PATH:`pwd` # set path for external tools export PATH ! ## Extract common info requires for the 'info' part of the package. ! VERSION=`tail -1 ../../version.h | sed -e 's/.*_\([0-9]\)/\1/g' | sed 's/\"$//'` ! BFFVERSION=`echo $VERSION | sed '...
2002 Jun 17
1
overzealous help-links.sh script! (PR#1682)
...ot;<p><h3>Packages in ${lib}</h3>" >> ${PKGLIST} echo "<p><table width=\"100%\">" >> ${PKGLIST} if test -d ${lib}; then for pkg in `ls -d ${lib}/* | sed '/CVS$/d; /profile$/d'`; do if test -d ${pkg}; then pkgname=`basename ${pkg}` target=`get_unique ${USER_R_HOME}/library/${pkgname}` targetname=`basename ${target}` ln -s ${pkg} ${target} if test -r ${pkg}/TITLE; then pkgtitle=`cat ${pkg}/TITLE | sed "s/^${pkgname}//"` else pkgtitle="" fi echo "...
2004 Nov 02
1
Re: [R] case-insensitive ZIP
...manually from ZIP > > files to Perhaps you could tell us why you do this? Where do you get `contributed zipfiles' that are actually `ZIPfiles', especially as CRAN has .zip files you could get instead? Or is the problem in the way you get them? > > have > > > > pkgnames <- sub("\\.zip$", "", pkgnames) > > > > replaced with > > > > pkgnames <- sub("\\.zip$", "", pkgnames, ignore.case = TRUE) > > > > because the contributed zipfiles are ZIPfiles. The routine did not > > wor...
2013 Oct 08
2
problems with package COZIGAM
Dear All I am having problems to install the package COZIGAM. Despite I have the update version of R (3.0.2) when I try to load the package I cannot find it in the list of available packages. If I try to install it from a local zip file I do get this error message: Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open the connection In addition: Warning messages: 1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file 2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type&q...