Displaying 19 results from an estimated 19 matches for "somepackage".
2008 Apr 19
2
Pb with package::foo(x) <- value
Hi,
The parser doesn't seem to like this:
somePackage::foo(x) <- value
somePackage:::foo(x) <- value
where foo() is a replacement function or method defined in package somePackage.
For example:
> x <- integer(4)
> base::length(x) <- 7
Error in base::length(x) <- 7 : invalid function in complex assignment
I've t...
2011 Mar 11
2
symlink noop error
...olaris 10
We want to create a sym link from a source file that is created by a
package. If the package isn''t installed, puppet in noop is registering an
error (big red in the dashboard) because it cannot stat the source file of
the link.
root@warbjohn# cat /tmp/symlink2.pp
package {"somepackage":
ensure => installed,
}
file {"/path/created/by/some/package/link":
source => "/path/created/by/some/package/source",
require => Package["somepackage"],
}
root@warbjohn# puppet --verbose --noop /tmp/symlink2.pp
info: Applying configuration v...
2015 Oct 08
1
library() in .Rd Examples (Depends vs. Imports)?
...when documenting my code using Imports vs. Depends.
If I have an example in my .Rd that uses a library that is listed under
Imports, it doesn't work, but if it is listed under Depends, it does. What
is the proper way to go about using examples that rely on an Imports?
Should I just if(require(somepackage)) in the example? Or is there a more
elegant way of doing this?
--j
[[alternative HTML version deleted]]
2018 Jan 12
2
R minor version
Hi,
When I install a package as a non-root user, it gets saved in a path
such as
~/R/x86_64-unknown-linux-gnu-library/3.4
for any R version 3.4.x. Thus, if I want to install the packages
somewhere else, as root say, I might do
install.packages("somepackage","/some/where/else/R/site-library/3.4")
In this case I would then want to construct the appropriate path in,
say, /etc/Rprofile to allow the packages to be found.
However, using R.Version() gives me
> R.Version()$minor
[1] "4.3"
I can obviously extract the "...
2014 Nov 27
1
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...expects a 3rd component called name in the list that is used for the
versionCheck argument) I had another look at what was going on with my toy
examples yesterday evening. I'm still working on my issue, but thus far I
have:
1) Confirmed that internal calls to loadNamespace triggered by
import(somePackage) statements in the NAMESPACE file do create a
versionCheck argument that has 3 components in the list. I deduce (but have
not worked my way through the specific lines of code insde loadNamespace)
that the name is needed while processing the 'import(somepackage)' NAMESPACE
directive at some...
2014 Aug 30
2
update repo problem?
...hat it can't get the repo sqlite
file for updates-source from vault. Any ideas? Something wrong with my
repo configuration? The only thing I've done that should have touched
the repo configuration is installing epel-release-7-1.noarch.
Thanks!
Eric
[root at localhost SRPMS]# yum-builddep somepackage-3.1-2.fc22.src.rpm
Loaded plugins: fastestmirror
Enabling base-source repository
Enabling epel-source repository
Enabling extras-source repository
Enabling updates-source repository
Loading mirror speeds from cached hostfile
* base: dallas.tx.mirror.xygenhosting.com
* epel: mirror.hmc.edu
* epel...
2018 Jan 12
0
R minor version
...gt;
> When I install a package as a non-root user, it gets saved in a path
> such as
>
> ~/R/x86_64-unknown-linux-gnu-library/3.4
>
> for any R version 3.4.x. Thus, if I want to install the packages
> somewhere else, as root say, I might do
>
> install.packages("somepackage","/some/where/else/R/site-library/3.4")
>
> In this case I would then want to construct the appropriate path in,
> say, /etc/Rprofile to allow the packages to be found.
>
> However, using R.Version() gives me
>
> > R.Version()$minor
> [1] "4.3"...
2010 Jun 24
8
Install package automatically if not there?
Hi fans,
is it possible for a script to check if a library has been installed?
I want to automatically install it if it is missing to avoid scripts
to crash when running on a new machine...
Ralf
2001 Jul 03
1
extracting pkg fcn info
I would like to learn what functions are available in a given R package
(say, the pkg sma) and
what the arguments and return value is for each of those functions.
Is there an R CMD available for that or a suggested method for easily
extracting
that information?
thanks,
Natalie.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2009 Sep 23
1
Promlem with broken yum/rpm
Hi all,
I have lost/corrupted the libraries related to the expat package. This has
caused rpm and yum to stop working effectively stopping my ability to manage
my server.
Recently a bug was reported by cmisare on the CentOS site that had exactly
the same symptoms http://bugs.centos.org/view.php?id=3757
Btw rpm crashes with exactly the same message.
I was hoping that cmisare, or
2005 Dec 07
0
???UNSURE??? Re: (PR#8363) R CMD INSTALL fails if cd prints
...g
the 'new' directory. It is due to having the CDPATH set. If it is,
the POSIX standard requires 'cd' to print to stdout the new directory.
So to reproduce, run a bash or ksh shell, and do
CDPATH='.:..' # a commonly used value for $CDPATH
R CMD INSTALL SomePackage
> And as it is a shell script running under /bin/sh, it must be
> whatever is masquerading as Bourne shell on your system(s) that is
> affected.
yes; it is fairly common for Linux systems to have have /bin/sh be a symlink
to /bin/bash (which I'm not sure is always a good idea). But...
2014 Nov 27
2
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
Hi Duncan
The difference is that in your call to loadNamespace, the versionCheck list
has 3 components (name, op and version), whereas the documentation only
mentions 2 (op and version).
loadNamespace 'works' for me provided I add a third component to the list
(even a nonsense one).
What I haven't yet had the fortitude to do is track down through the code to
see what the arguments
2019 Jan 07
2
Runnable R packages
On Mon, 7 Jan 2019 at 22:09, Gergely Dar?czi <daroczig at rapporter.net> wrote:
>
> Dear David, sharing some related (subjective) thoughts below.
>
> You can provide your app as a Docker image, so that the end-user
> simply calls a "docker pull" and then "docker run" -- that can be done
> from a user-friendly script as well.
> Of course, this requires
2008 Dec 09
1
update.packages() for R 2.7.1: mgcv fails
Hi
I just upgraded my debian/stable to R 2.7.1 via apt-get install r-base
r-base-core r-base-dev, and then
began to update.packages()
> update.packages(lib.loc="/usr/local/lib/R/site-library")
> update.packages(lib.loc="/usr/lib/R/library")
but I get:
....
* Installing *source* package 'mgcv' ...
** libs
gcc -std=gnu99 -I/usr/share/R/include -fpic -g
2010 Feb 18
4
how to push the bounds and get newer packages for centos 5.4?
i've just started looking after a (virtual) centos 5.4 server that's
hosted at rackspace and, unsurprisingly, it was set up with all the
standard defaults. part of the work i'll be doing involves php and,
as i read it, the standard php version with centos 5.4 is php-5.1.
if i *wanted* to move up to a more recent version (say, php-5.3),
obviously, i'd need to go outside the
2005 Aug 02
2
rpmbuild question.
I am attempting to build from a src.rpm (knowing very little about
rpm at all) and the spec file notes that the architecture should be
set on the command line:
> # platform defines - set one below or define the build_xxx on the
command line
Now. My question is this, how does one do this using rpmbuild?
The syntax rpmbuild --target centos4 package.src.rpm seemingly has
no effect.
2004 Aug 12
9
Giving a first good impression of R to Social Scientists
Dear all,
in the coming Winter Semester, I will be a teaching assistant for a course
in Survival Analysis. My job will be to do the lab sessions. The software
used for these lab sessions will be R. Most of the students have a
background in social sciences and the only stats package they used so far is
most likely SPSS.
So I assume they might be quite surprised the first time they see R
2013 Jun 26
4
portupgrade(1) | portmaster(8) -- which is more effective for large upgrade?
Greetings,
I haven't upgraded my tree(s) for awhile. My last attempt to rebuild after an updating
src && ports, resulted in nearly installing the entire ports tree, which is why I've
waited so long. Try as I might, I've had great difficulty finding something that will
_only_ upgrade what I already have installed, _and_ respect the "options" used during the
original
2009 Feb 12
9
Schedule oddity
I have the following set up:
schedule {nightly:
period => daily,
range => "18 - 23",
repeat => 1
}
define deadlypkg {
tag("package")
$pkgrepo="/staging/PRODUCTION/deadly"
package{"$name":
source => "$pkgrepo/$name.pkg",
ensure => latest,
adminfile