Displaying 20 results from an estimated 500 matches similar to: "unloadNamespace, getPackageName and "Created a package name xxx " warning"
2014 Nov 25
0
problem with setGroupGeneric from package methods
Hi,
There seems to be a problem with setGroupGeneric() from package 'methods'. The symptoms are somewhat erratic, in the sense that small changes may lead to any of the following behaviours.
1.Package works without problems on Windows and installs on Linux but gives error when loaded with library().
2.Package installs on both systems and gives error when loaded on any of them.
3.
2015 Jan 09
0
unloadNamespace
It's probably because the first thing that unloadNamespace does is this:
ns <- asNamespace(ns, base.OK = FALSE)
If you call asNamespace("tseries"), it calls getNamespace("tseries"), which
has the side effect of loading that package (and its dependencies).
One way to work around this is to check loadedNamespaces() before you try
to unload a package.
-Winston
On
2011 Jun 23
1
Class not found when search in .onLoad
Hi,
I am facing with a strange behaviour of isClass and extends when these
are called in .onLoad in both R 2.12.1 and R 2.13.0. This is preventing
my package from doing some object initializations at a proper place
(i.e. in .onLoad).
Suppose one defines two S4 classes in a package, and that one needs to
check the inheritance between these two when loading the package (e.g.
to validate slots
2018 Oct 26
2
Bug report for sealClass() in Core-maintained package "methods"
Hello,
I was just reminded from a comment in some code that I had submitted this bug report last year, but it does not appear to have been addressed in R 3.5.0.
Can this please be fixed, or is there a specific reason that it cannot be addressed?
Thanks,
Adam
From: Gower, Adam
Sent: Monday, June 19, 2017 11:56 AM
To: 'r-devel at r-project.org'
Subject: Bug report for sealClass() in
2015 Jan 08
4
unloadNamespace
In the documentation the closed thing I see to an explanation of this is
that ?detach says "Unloading some namespaces has undesirable side effects"
Can anyone explain why unloading tseries will load zoo? I don't think
this behavior is specific to tseries, it's just an example. I realize
one would not usually unload something that is not loaded, but I would
expect it to do
2008 Feb 04
1
Java and Xalan
Hello,
I have some problems running some tools of java in CentOS. Anyone know
where is the problem for this?
> [jv at localhost ~]$ java org.apache.xalan.xslt.Process
> Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process
> at gnu.java.lang.MainThread.run(libgcj.so.7rh)
> Caused by: java.lang.ClassNotFoundException:
2008 Jan 02
1
problems with JAVA in JGR library on ubuntu 7.04
Hi All
I installed JGR library both on ubuntu 7.10 and 7.04
on 7.10 all went fine,
but on 7.04 I recived massage:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/rosuda/JRI/RMainLoopCallbacks
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
2007 Nov 26
2
Unable to launch puppetmasterd after installing mongrel
Moving to mongrel as our footprint has grown considerably.
Configs worked fine before but for some reason we are unable to start
puppet on the new host.
Any help would be greatly appreciated.
-jeff
Centos 5
# ruby -v
ruby 1.8.5 (2006-08-25) [i386-linux]
# gem list mongrel
*** LOCAL GEMS ***
mongrel (1.0.1)
A small fast HTTP library and server that runs Rails, Camping,
Nitro
and
2015 Dec 22
0
unloadNamespace() does not address unevaluated promises in the S3 Methods Table
Given the extremely simple package at
https://github.com/jimhester/testUnload, which includes only one S3 method
'print.object' the following code produces a lazy load error from a new R
session (R-devel r69801)
install.packages("testUnload", repos = NULL)
library("testUnload")
unloadNamespace("testUnload")
install.packages("testUnload", repos =
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
Puppet 3.3.1 // CentOS release 6.4 (Final)
rpm -qa | grep puppet
puppetlabs-release-6-7.noarch
puppet-3.1.1-1.el6.noarch
puppetdb-1.3.0-1.el6.noarch
puppet-server-3.1.1-1.el6.noarch
puppetdb-terminus-1.3.0-1.el6.noarch
Installed from yum packages:
Running Transaction
Installing : puppetdb-1.3.0-1.el6.noarch
2015 Jan 26
0
speedbump in library
A isNamespaceLoaded() function would be a useful thing to have in
general if we are interested in readable code. An efficient
implementation would be just a bonus.
On Mon, Jan 26, 2015 at 3:36 AM, Martin Maechler
<maechler at lynne.stat.math.ethz.ch> wrote:
>>>>>> Winston Chang <winstonchang1 at gmail.com>
>>>>>> on Fri, 23 Jan 2015 10:15:53
2015 Jan 26
0
speedbump in library
isLoadedNamespace() sounds fine to me..
Thanks for addressing this,
Michael
On Mon, Jan 26, 2015 at 5:51 AM, Martin Maechler <
maechler at lynne.stat.math.ethz.ch> wrote:
> >>>>> Michael Lawrence <lawrence.michael at gene.com>
> >>>>> on Mon, 26 Jan 2015 05:12:55 -0800 writes:
>
> > A isNamespaceLoaded() function would be a useful
2015 Jan 26
2
speedbump in library
>>>>> Winston Chang <winstonchang1 at gmail.com>
>>>>> on Fri, 23 Jan 2015 10:15:53 -0600 writes:
> I think you can simplify a little by replacing this:
> pkg %in% loadedNamespaces()
> with this:
> .getNamespace(pkg)
almost: It would be
!is.null(.getNamespace(pkg))
> Whereas getNamespace(pkg) will load the
2004 Nov 26
1
Namespaces, coercion and setAs
I'm trying to resolve a small problem that has arisen from introducing a
NAMESPACE for the package SparseM. Prior to the namespace I had
a class "matrix.diag.csr" that consisted of diagonal sparse matrices.
It
was defined to have the same attributes as the matrix.csr class and
setAs
was used to define how to coerce integers and vectors into this form:
2015 Jan 26
2
speedbump in library
>>>>> Michael Lawrence <lawrence.michael at gene.com>
>>>>> on Mon, 26 Jan 2015 05:12:55 -0800 writes:
> A isNamespaceLoaded() function would be a useful thing to
> have in general if we are interested in readable code. An
> efficient implementation would be just a bonus.
Good point (readability), and thank you for the support!
Note
2013 Jul 19
2
[LLVMdev] Compiling "vmkit" on Ubuntu_x64 - Error: missing argument to --bindir
Hi Harris Bakiras,
Thanks for reply. It working now.
Actually I wanted to try vmkit VM to run jruby codes.
vmkit is able to run Java program, but when I try to run JRuby code then I
get following error -
root at komal:/home/komal/Desktop/GSOC/programs# jruby hello.rb
>
> Platform.java:39:in `getPackageName': java.lang.NullPointerException
>
> from ConstantSet.java:84:in
2011 Jul 08
2
java annoyances
Fresh install on a brand new box (Dell Precision 3500) of 5.6. I install
Sun java-1.6.0_26-b03, Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02,
mixed mode)
Then
ln -s
/usr/lib/jvm/java-1.6.0-sun-1.6.0.26.x86_64/jre/lib/amd64/libnpjp2.so
/usr/lib64/mozilla/plugins
about:plugins shows java enabled (oddly enough, I seem to have flash,
32-bit, in the 32 bit libs, and that doesn't show; guess
2007 May 27
2
[Bioc-devel] promptClass
promptClass fails to identify methods associated with the class. Here
is a fix:
Index: promptClass.R
===================================================================
--- promptClass.R (revision 41719)
+++ promptClass.R (working copy)
@@ -165,7 +165,7 @@
if (nmeths > 0) {
.meths.body <- " \\describe{"
for (i in 1:nmeths) {
- .sigmat
2013 Dec 19
2
Strange warnings when unloading packages with S4 classes
I've been seeing warnings when unloading packages. They can be seen with
the shiny and sp packages, among others (this is on R 3.0.2). For example:
> library(sp)
> unloadNamespace('sp')
Warning messages:
1: In FUN(X[[2L]], ...) :
Created a package name, ‘2013-12-19 12:14:24’, when none found
2: In FUN(X[[2L]], ...) :
Created a package name, ‘2013-12-19 12:14:24’, when none
2006 Jun 01
5
RAD RAILS Problem. Wont start! Linux nubee
Hi
I''ve just installed SUSE linux, downloaded RADRAILS, and extracted it to
/home/myname/bin/radrails.
When i try to run it i get the red radrails logo and then it gives me an
error and stops loading. Its my first day using Linux, previously i
have used windows, so any help is greately appreciated. Here is the log
file with the errors in it :
chrisr@s213:~> cat