Displaying 20 results from an estimated 32 matches for "packageversion".
Did you mean:
package_version
2011 Jan 27
1
possible bug in packageVersion()?
Hi,
I received a bug report from a French user who told me there was
something wrong with the function packageVersion(), but
packageDescription() worked well. Below is the session info; I'm not
sure if other French users can reproduce the error message:
> packageVersion('base')
Erreur : sp?cification de version incorrecte base
> sessionInfo()
R version 2.12.1 (2010-12-16)
Platform: i386-apple-da...
2012 Apr 16
1
Can't install package gbm, because packageVersion is not an exported object from namespace::Utils
...em installing any
other CRAN packages, but installing package "gbm" fails due to:
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
Error : .onAttach failed in attachNamespace() for 'gbm', details:
call: NULL
error: 'packageVersion' is not an exported object from 'namespace:utils'
ERROR: loading failed
In the utils namespace I have
> utils::package [tab-tab]
utils::package.contents utils::package.skeleton
utils::packageDescription utils::packageStatus
but no utils::packageVersion. I can install gbm on my...
2011 Jul 11
1
EXTERNAL: Re: subset with aggregate key
...t;
>
Hi Matthew,
Unfortunately, the load of that library fails (it builds successfully).
I'm currently looking into why. Error output looks something similar to:
> library(data.table)
Error in .makeMessage(..., domain = domain, appendLF = appendLF) :
could not find function "packageVersion"
Error : .onAttach failed in 'attachNamespace'
Error: package/namespace load failed for 'data.table'
I googled around a bit and there is mention of a bug in packageVersion
but there was no solution that I found. Is this something that is easily
overcome?
Thanks,
Jesse
2012 Apr 11
3
[patch] giving library() a 'version' argument
I've made a small enhancement to R that would help developers better control what versions of code we're using where. Basically, to load a package in R, one currently does:
library(whateverPackage)
and with the enhancement, you can ensure that you're getting at least version X of the package:
library(whateverPackage, version=3.14)
Reasons one might
2014 Sep 01
1
ggplot2/plyr interaction with latest R-devel?
...rk in advance,
but thought I would send this along to see if anyone else was seeing this.
I am having some sort of ggplot2/plyr/very-recent-R-devel dependency
issues.
Just installed
R Under development (unstable) (2014-09-01 r66509) -- "Unsuffered
Consequences"
from source.
> packageVersion("ggplot2")
[1] ?1.0.0?
> packageVersion("plyr")
[1] ?1.8.1?
library(plyr) works
but then I get:
library(ggplot2)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck =
vI[[i]]) :
namespace ?plyr? 1.8.1 is being loaded, but >= 1.7.1 is required
Error: pack...
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
hello,
if i load the RSQLite package in addition to the RPostgreSQL package,
i get various errors when trying to use RPostgreSQL functions. here is
an example transcript showing one such error:
==========================================================
R version 2.15.0 (2012-03-30)
[...]
> packageVersion('RPostgreSQL')
[1] 0.3.2
> packageVersion('RSQLite')
[1] 0.11.1
> library(RPostgreSQL)
Loading required package: DBI
> dbDriver('PostgreSQL')
<PostgreSQLDriver:(32540)>
> library(RSQLite)
> dbDriver('PostgreSQL')
Error in function (classes,...
2023 Aug 06
3
A demonstrated shortcoming of the R package management system
...rade -y' but not required
## Thanks to my colleague Paul Hoffman for the core of this example
## now have Matrix 1.6.0 because r2u and CRAN remain current but we can install an older Matrix
remotes::install_version('Matrix', '1.5.1')
## we can confirm that we have Matrix 1.5.1
packageVersion("Matrix")
## we now install SeuratObject from source and to speed things up we first install the binary
install.packages("SeuratObject") # in this container via bspm/r2u as binary
## and then force a source installation (turning bspm off) _while Matrix is at 1.5.1_
if (requir...
2020 Feb 26
1
library ( vctrs ) + library ( ggplot2 )
...dNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
?namespace ?rlang? 0.4.0 is being loaded, but >= 0.4.2 is required
> library ( ggplot2 )
Error: package or namespace load failed for ?ggplot2?:
?.onLoad failed in loadNamespace() for 'pillar', details:
? call: utils::packageVersion("vctrs")
? error: there is no package called ?vctrs?
> ?
? ??????????????????????????????????? ? ???? orlandomontreal at yahoo.com??????? ? ?
[[alternative HTML version deleted]]
2012 Nov 02
1
unedited copy/paste from install.packages man page to update.packages man page
...instead of "i.e." would seem more appropriate.
- But more importantly, is repos = NULL really supported for
update.packages? I wonder where I need to place the local files
for this to work. I tried to put them in the current working
directory but that didn't work:
> packageVersion("BSgenome")
[1] ?1.27.1?
> dir()
[1] "BSgenome_2.0.0.tar.gz"
> update.packages(repos=NULL)
This description of the 'repos' arg looks more like a copy/paste from
the man page for install.packages that needed some edit.
- Another copy/past...
2012 Mar 31
3
clear console
hi,
I use R - 2.15(32bit), and want to make a code to clear a console.
Actually, I used to run following code to do that but after update the
version of R from 2.14 to 2.15, it doesn't work.
cls <- function (t) {
require(RDCOMClient)
wsh <- COMCreate("Wscript.Shell")
wsh$SendKeys("\f")
invisible(wsh)
}
cls()
or
cls <-
2012 Nov 08
1
Dabbling with R5 setRefClass - Inheritance problems
...gt; Class="rcfdpsuperclass",
> fields = list(
> RcfpdVersion = "character"),
> methods = list(
> initialize = function(){
> 'Populates fields with defaults and lock as appropriate'
> initFields(
> RcfpdVersion = as.character(packageVersion("RCFPD")))
> lockBinding(sym="RcfpdVersion",env=.self)
> }))
And a second one like this:
> sequencesuperclass <- setRefClass(
> Class="sequencesuperclass",
> fields = list(
> test="character"),
> contains="rcfpds...
2012 Apr 18
0
Error in eval when using contrast and nlme
...year 2011
month 12
day 22
svn rev 57956
language R
version.string R version 2.14.1 (2011-12-22)
> packageVersion("contrast")
[1] ?0.16?
> packageVersion("nlme")
[1] ?3.1.102?
Regards,
--
Colm G. Connolly, Ph. D.
Dept of Psychiatry
University of California, San Diego
9500 Gilman Dr. #0738
La Jolla, CA 92093-0738
2013 Mar 04
4
enabling reproducible research & R package management & install.package.version & BiocLite
...er the current date and time.
=== Later, when desirous of exactly recreating this analysis ===
* read the (old) sessionInfo() into an R session
* exit with failure if the running version of R doesn't match
* compare the old sessionInfo to the currently available installed libraries (i.e. using packageVersion)
* where there are discrepancies, install the required version of the package (without dependencies) into new library (named after the old sessionInfo RDS file)
Then the analyst should be able to put the new library into the front of .libPaths and run the analysis confident that the same version o...
2011 Aug 29
3
replacing elements of a zoo object
Why doesn't this work?
x = zoo(1:5, as.Date('2001-01-01')+1:5)
x[as.Date('2001-01-05')]
x[as.Date('2001-01-05')] = 0
x
I think this is especially bad because it doesn't cause an error. It lets
you do something to x, but then you can't see x again to see what it did.
[[alternative HTML version deleted]]
2005 Apr 19
2
OpenSSL Installation Problem after Migration AIX 4.3.3 to AIX 5.2
....rpm openssl-devel-0.9.6
m-1.aix5.1.ppc.rpm openssl-doc-0.9.6m-1.aix5.1.ppc.rpm
error: failed dependencies:
/bin/sh is needed by openssl-0.9.6m-1
/usr/bin/perl is needed by openssl-0.9.6m-1
libc.a(shr.o) is needed by openssl-0.9.6m-1
I have alot of Machines running this ssl Packageversion, but all they were
Installed from Scratch.
If i force the Package Installation, the ssh-keygen and sshd want running.
( without Errormessages )
I have compiled my ssh Package with this SSL Version and:
blibpath=/usr/lib:/lib:/usr/local/lib:/opt/freeware/lib
export blibpath
./configure --with-ssl...
2012 May 08
1
coxph data format
Dear List,
Here is an example of survival data in counting process format
(detailed record of each day)
> data[data$Id == 11,]
# extracted one person's record
Id Event Fup Start Stop sex Drug1
601 11 0 6 0 1 0 0
602 11 0 6 1 2 0 0
603 11 0 6 2 3 0 0
604 11 0 6 3 4 0 0
605 11 0 6 4 5 0 1
606
2013 Mar 12
0
duplicate export entries in NAMESPACE
...de the list using f():
f <- function ()
{
for(pkg in installed.packages()[,"Package"]) {
try( {
exports <- parseNamespaceFile(pkg, R.home("library"))$exports
if (any(dup <- duplicated(exports))) {
cat(pkg, format(packageVersion(pkg)), ":", deparse(exports[dup]), "\n")
}
}, silent = TRUE)
}
}
I suppose it should also check for duplicates in S3method component, etc.
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
2013 Mar 13
0
R-devel Digest, Vol 121, Issue 13
...function ()
> {
> for(pkg in installed.packages()[,"Package"]) {
> try( {
> exports<- parseNamespaceFile(pkg, R.home("library"))$exports
> if (any(dup<- duplicated(exports))) {
> cat(pkg, format(packageVersion(pkg)), ":", deparse(exports[dup]), "\n")
> }
> }, silent = TRUE)
> }
> }
> I suppose it should also check for duplicates in S3method component, etc.
>
> Bill Dunlap
> Spotfire, TIBCO Software
> wdunlap tibco.com
>
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...me requirements on other
libraries in a <code>DESCRIPTION</code> file. Using RPM's file attributes and
dependency generator support, these requirements can be added to packages
automatically. These will use namespaced <code>Provides</code> of
<code>R(packageName) = packageVersion</code> where <code>packageName</code> is
the importable name of the package and <code>packageVersion</code> is the
upstream version (note: upstream versions are often sanitized for Fedora since
RPM cannot use dashes in versions.)
R library metadata includes <code&g...
2011 Jul 12
2
apply (or similar preferred) for multiple columns
Dear all,
I would like to use the apply or a similar function belonging to this
family, but applying for each column (or row) but let say for each q
columns. For example I would like to apply a function FUN for the first q
columns of matrix X then for q+1:2*q and so on. If I do apply (X, 2, FUN) it
applies for each column and not for every q columns. Is that possible with
any similar function?