Displaying 20 results from an estimated 300 matches similar to: "Package "datasets" not exporting anything on a recent R-2.15.1-patched"
2013 Apr 02
1
R doesn't recognize utils functions, such as arrayIndex( )
Hi all,
When I called arrayIndex(20:23, dim=c(4,3,3)), it says "Error: could not
find function "arrayIndex"in R". So I called ls("package:utils") to see the
functions inside:
[1] "?"
[2] "adist"
[3] "alarm"
[4] "apropos"
[5] "aregexec"
[6] "argsAnywhere"
[7] "arrangeWindows"
[8]
2007 May 15
1
getNamespaceExports("base") error
Hi!
>getNamespaceExports("base")
Error in ls(NULL, all = TRUE) : using 'as.environment(NULL)' is defunct
getNamespaceExports
function (ns)
{
ns <- asNamespace(ns)
if (isBaseNamespace(ns))
ls(NULL, all = TRUE)
else ls(getNamespaceInfo(ns, "exports"), all = TRUE)
}
<environment: namespace:base>
One possible way to fix this could be
2014 Mar 05
1
[PATCH] Code coverage support proof of concept
Hello,
I submit a patch for review that implements code coverage tracing in
the R interpreter.
It records the lines that are actually executed and their associated
frequency for which srcref information is available.
I perfectly understands that this patch will not make its way inside R
as it is, that they are many concerns of stability, compatibility,
maintenance and so on.
I would like to have
2019 Feb 07
6
Optimización identificación de casos similares
Buen día a todos,
Agradezco su ayuda con lo siguiente:
Tengo 100.000 registros con nombres de personas con su respectivo número de
documento, quiero identificar casos que tengan un porcentaje de igualdad
alto, no del 100% porque ya esos los tengo identificados, sino casos como
por ejemplo:
Nombre: Juan Pérez Documento: 123456789
Nombre: Juan Pérez Documento: 1234056789
Este caso sería una
2012 Oct 23
2
Spurious warning when calling data() ?
Hi,
When calling data, a warning seems to have been left behind
> data(package="stats", verbose=FALSE)
Warning message:
In data(package = "stats", verbose = FALSE) :
datasets have been moved from package 'stats' to package 'datasets'
(full version details further below).
Best,
Laurent
> sessionInfo()
R version 2.15.1 Patched (2012-08-24 r60412)
2011 Jan 24
1
Strange result from sort: sort(c("aa", "ff")) gives "ff" "aa" with R.2.12.1 on windows 7
Dear list,
Please consider the following call of sort
> sort(c("a","f"))
[1] "a" "f"
> sort(c("f","a"))
[1] "a" "f"
>
> sort(c("aa","ff"))
[1] "ff" "aa"
> sort(c("ff","aa"))
[1] "ff" "aa"
The last two results look strange
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
2015 Jan 22
3
speedbump in library
Hi all,
Profiling turned up a bit of a speedbump in the library function. I
submitted a patch to the R bug tracker as bug 16168 and I've also
included it below. The alternate code is simpler and easier to
read/maintain, I believe. Any thoughts on other ways to write this?
Index: src/library/base/R/library.R
===================================================================
---
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
2009 Sep 17
2
rsync with danish chars in filename
Hi,
I have a Qnap NAS-219 used for storage, i have a Ubuntu 9.04 server
for backup. When rsync between them filenames containing ? have
problemes, the danish chars ? ? does not have any problems eventhough
its a special char like ? ? ?.
The log files state following:
file has vanished: "/M?deskabelon.doc"
where ? should be ?, and the file is stil at the system, so its not vanished.
2018 Apr 19
2
odd assignInNamespace / setGeneric interaction
>>>>> Michael Lawrence <lawrence.michael at gene.com>
>>>>> on Wed, 18 Apr 2018 14:16:37 -0700 writes:
> Hi Bill,
> Ideally, your coworker would just make an alias (or shortcut or
> whatever) for R that passed --no-save to R. I'll try to look into this
> though.
> Michael
Yes, indeed!
As some of you know, I've
2013 Oct 29
1
unloadNamespace, getPackageName and "Created a package name xxx " warning
Dear all,
Consider this code:
>library("data.table")
>unloadNamespace('data.table')
It produces some warnings
Warning in FUN(X[[1L]], ...) :
Created a package name, ‘2013-10-29 17:05:51’, when none found
Warning in FUN(X[[1L]], ...) :
Created a package name, ‘2013-10-29 17:05:51’, when none found
...
The warning is produced by the getPackageName() function.
e.g.
2009 Oct 26
1
How to browse all the functions in a package?
'?removeClass' shows that 'removeClass' is from package
'package:methods'. Is there a command which can show me all the
functions and the classed defined in a package such as
'package:methods'?
2006 May 27
0
Bug#369042: xen-utils-3.0: does not work with 32.bit userspace and 64-bit kernel
Package: xen-utils-3.0
Severity: normal
32-bit (i386) xend is completely broken when running on a 64-bit (amd64)
dom0 kernel (under a 64-bit hypervisor). "xend start" gives (in dmesg):
[ 149.356355] ioctl32(xenstored:9100): Unknown cmd fd(19) cmd(00084501){00} arg(ffffcae8) on /dev/xen/evtchn
[ 149.356628] xenstored[9100]: segfault at 000000000000001c rip 000000000804d6bf rsp
2002 Oct 02
0
rsync hangs at the end of the work.
Ok, so I tried with -v -v and -v -v -v, but this does not give more
clue, only much more useless log data.
I still have the problem that with:
rsync -v -auxHS --delete --force / /backup/
I get the following log:
building file list ... done
deleting var/cache/man/cat1/gcc.1.gz
deleting var/cache/man/cat1/gawk.1.gz
deleting var/account/pacct-20010930.gz
deleting
2010 Jul 08
2
Bug#588477: network-bridge: start: 95 sec sleep/bridge without a default gateway
Package: xen-utils-common
Version: 4.0.0-1
Severity: normal
Tags: patch
do_ifup() in network-bridge exits badly, if the interface doesn't have a
default gateway.
Since it's wrapped in xen's locking script it causes it to be retied 100
times and sleep for 95 seconds before it continues.
In my setup this amounts to:
16 vlans without a default gateway * 95 secs / bridge = 25 minutes
2006 Oct 08
1
Bug#391771: xen-hypervisor-3.0.2-1-i386: Fails to find xen utils
Package: xen-hypervisor-3.0.2-1-i386
Version: 3.0.2-3+hg9762-1
Severity: normal
xm fails to find xen-utils, the error apears with other parameters, such as xm create. The error also apears
when running "/usr/lib/xen-common/bin/xen-utils-version".
Best Regards
/Lars Staun Knudsen
#xm list
WARING! Can't find version 3.0.2-3-1 of xen utils, fallback to default version!
Name
2010 May 27
2
Methods to explore R data structures
Hi,
I'm very confused about R structures and the methods to go with them. I'm
using R for microarray analysis with Bioconductors. Suppose without reading
the documentations, what's the best way to explore a data structure when you
know nothing about it?
I am currently using is() / class() to see what the object is. str() /
attributes() to probe inside the object, and
2006 Oct 22
1
Getting hold of a package's environment from C code
Hi,
I have a package where I'm calling an R function (say "foo") from C
code. "foo" is in the same package, but is not exported. I construct
the call using lang1(install("foo")), but to eval it I need the
package's environment. Is there a way to do this? Passing the correct
environment through .Call() is not an option.
Right now, I'm getting the
2012 Mar 16
1
ggmap crash
Not sure if this is the right place to report this, but:
Am using ggmap to generate a map of a bounding box from 161
latitude/longitude pairs and the code crashes R (in ess). Data is at
http://analysis.d8u.us/~hdiwan/plotSource.csv and the code to read it
is below. I'm not sure if ess, emacs, ggmap, R, or my laptop is to
blame. Here's the code:
> rmc <-