Displaying 20 results from an estimated 2000 matches similar to: "Re-attaching a package environment drops the attributes"
2015 Sep 29
3
making object.size() more meaningful on environments?
Hi,
Currently object.size() is not very useful on environments as it always
returns 56 bytes, no matter how big the environment is:
env1 <- new.env()
object.size(env1) # 56 bytes
env2 <- new.env(hash=TRUE, size=75000000L)
object.size(env2) # 56 bytes
env3 <- list2env(list(a=runif(25000000), L=LETTERS))
object.size(env3) # 56 bytes
This makes it pretty useless on
2009 May 08
2
partial mantel tests "Ecodist"
Hi all,
I'm searching for a little clarification on partial mantel tests
(ecodist package)
I've a distance matrix (x,y), and several others containing
environmental/chemical variables.
Based on the help file, and the package instructions I've managed to
implement the tests as;
var1 ~ env1 + space
to partial out the effect of space and test the relationship between
the
2019 Dec 19
1
[PATCH] daemon: reorder internal static libs to fix linking
Move the interal static libraries as the last items in the list of
libraries of guestfsd, to make sure their symbols are used for all the
other libraries. This is because GCC resolves the symbols looking at
the arguments from the beginning to the end of the command line.
This currently does not cause failures, however it "just works" because
of the tricky situation set up.
The
2011 May 19
1
r-2.13 fails make check
I am only reporting this because it is the current release branch and
not devel.
R-2.13 from svn revision 55957 builds fine, but fails make check.
This happened with a fresh svn checkout 12 hours ago and it still
happens as of now. Two days ago I could build R-2.13 and it passed
make check on the same system, so I doubt it is a system problem. But
just in case my system details are a fresh
2010 Aug 05
1
plot points using vis.gam
Hello,
I'm trying to illustrate the relationships between various trait and
environment data gathered from a number of sites. I've created a GAM to do
this: gam1=gam(trait~s(env1)+s(env2)+te(env1,env2)) and I know how to create
a 3D plot using vis.gam. I want to be able to show points on the 3D plot
indicating the sites that the data came from. I can do this on a 2D plot
when there is one
2013 Feb 08
1
ClassNotFoundException when running distributed job using rJava package
Hi,
I have a MapReduce Java code, which I am calling from R using rJava. I have
prepared the R package and tested that successfully. But when I deployed
the package in a cluster and executed it, I am getting
ClassNotFoundException. If I run the same job directly without integrating
with R, it runs perfectly.
Here is my R code:
library(rJava)
muMstSpark <- function(mesosMaster = NULL, input =
2007 Sep 15
1
R-2.6.0 for Windows, semi-transparent colours and layout()
Hi,
The added support for semi-transparent colours in `windows' under
R-2.6.0 for Windows is much appreciated.
However, I've discovered that issuing a `layout' (or `par' with
arguments `mfcol'/`mfrow') call and then trying to plot several figures
with semi-transparent colour on the same page results in only the first
one being fully drawn. E.g.
> x <-
2008 Oct 14
1
problem with update.packages (PR#13161)
On 14 October 2008 at 09:39, Simon Blomberg wrote:
| Hi, is anyone else getting this error? Could this be a bug?:
|
| > update.packages(ask=FALSE)
| Error in read.dcf(pkgpath, fields = fields) :
| Line starting 'unix; ...' is malformed!
|
| > sessionInfo()
| R version 2.8.0 RC (2008-10-12 r46696)
| x86_64-pc-linux-gnu
Confirmed in plain R using the same package built this
2008 Oct 14
1
problem with update.packages (PR#13161)
On 14 October 2008 at 09:39, Simon Blomberg wrote:
| Hi, is anyone else getting this error? Could this be a bug?:
|
| > update.packages(ask=FALSE)
| Error in read.dcf(pkgpath, fields = fields) :
| Line starting 'unix; ...' is malformed!
|
| > sessionInfo()
| R version 2.8.0 RC (2008-10-12 r46696)
| x86_64-pc-linux-gnu
Confirmed in plain R using the same package built this
2015 Sep 29
1
making object.size() more meaningful on environments?
Hi Gabe,
On 09/29/2015 02:51 PM, Gabriel Becker wrote:
> Herve,
>
> The problem then would be that for A a refClass whose fields take up N
> bytes (in the sense that you mean), if we do
>
> B <- A
>
> A and B would look like the BOTH take up N bytes, for a total of 2N,
> whereas AFAIK R would only be using ~ N + 2*56 bytes, right?
Yes, but that's still a *much*
2010 Jun 07
1
undefined method 'to_sym' for ["<var>", "<var">]:Array
I am running into a problem with my LDAP puppet setup with this error
message:
PuppetClient:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not parse for environment DR: undefined method `to_sym'' for ["ENV1",
"ENV2"]:Array
PuppetMaster:
err: Could not parse for environment DR: undefined method `to_sym'' for
["ENV1",
2002 Nov 18
2
library() help for Windows
Dear R users,
I have just upgraded R v1.5.0 to v1.6.1 for Windows but have trouble loading my library of R only functions (no C calls). After examining the "library" script this difference was found:
(v1.5.0)
which.lib.loc <- dirname(pkgpath)
descfile <- system.file("DESCRIPTION", package = package,
lib.loc = which.lib.loc)
if
2019 Jun 21
2
Suggested Patch: Library returns matching installed packages when typo present
Dear R-core devs,
I hope this email finds you well.
Please see the proposed patch to R-devel below:
Scenario:
When loading a package using `library`, a package may not be found if the cases are not matching:
```
> library(ORG.Hs.eg.db)
Error in library(ORG.Hs.eg.db) :
there is no package called 'ORG.Hs.eg.db'
```
Suggested Patch:
Returns a message matching what
2008 Oct 13
2
problem with update.packages
Hi, is anyone else getting this error? Could this be a bug?:
> update.packages(ask=FALSE)
Error in read.dcf(pkgpath, fields = fields) :
Line starting 'unix; ...' is malformed!
> sessionInfo()
R version 2.8.0 RC (2008-10-12 r46696)
x86_64-pc-linux-gnu
locale:
2013 Dec 17
1
Geppetto complains about uninitialized variables in reduce function
Hello,
I''m using the following expression to format a list:
$valid_environments = [''env1'', ''env2'', ''env3'']
$env_message = $valid_environments.reduce |$message, $env| {
"${message}, ${env}" }
It works at run-time (Puppet 3.2.4 standalone with "--parser=future").
However in Eclipse (v4.3.1),
2017 Jul 30
1
Add Anova statistics in each figure
Hi R Users,
I created interaction plots in ggplot2 and was trying to add output of two way ANOVA models, especially only interaction ( example treatment*control F(XX, XX) = xxx, p = xxx) into figures, but i was not able to add. Would you mind to help on how I can add information into each figure? I have attached the example data and the code that I used for this.
dat<-structure(list(Sites
2013 Sep 23
0
Unable to execute Java MapReduce (Hadoop) code from R using rJava
Hi All,
I have written a Java MapReduce code that runs on Hadoop. My intention is
to create an R package which will call the Java code and execute the job.
Hence, I have written a similar R function. But when I call this function
from R terminal, the Hadoop job is not running. Its just printing few lines
of warning messages and does nothing further. Here is the execution
scenario:
*>
2009 Oct 22
1
Error in link in Rd file stops package installation
With a pretty recent version of R 2.11.0 (devel,unstable,
svn 50178) on Linux I could not install version 1.5-8 of zoo (the
current on on CRAN):
% R-devel CMD INSTALL -l Rlib3 zoo
* installing *source* package 'zoo' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
converting help for package 'zoo'
finding
2007 Aug 16
1
use AnnBuilderSourceUrls with local path insted of ftp adress
Hallo everybody.
I want to build my own GO package using the function GOPkgBuilder of AnnBuilder. It uses AnnBuilderSourceUrls to collect data from different ftp sites. These data are not complete for my organism, so I would like to change the ftp adresses to a local one. The changing itself is working but when I run the script I get the following Error:
Error in
2009 Mar 31
2
Wishlist: optional svn-revision number tag in package DESCRIPTION file
Hi,
just a little wish :
Could we have one (or maybe more) standardized optional tag(s)
for package DESCRIPTION files to cover svn revision info?
This would be very useful for bug reporting...
I know that any developer is already free to append corresponding lines
to DESCRIPTION files to do something of this sort --- e.g. lines like
LastChangedDate: {$LastChangedDate: 2009-03-31 $}