Displaying 20 results from an estimated 3000 matches similar to: "paste0 bug in install.packages() - leopard installer?"
2018 Feb 15
2
package MonteCarlo error: object 'packages' not found
R-users,
I can't tell what's causing the following error. The vignette does not
make a reference to a "packages" option or parameter.
> library(MonteCarlo)
Loading required package: abind
Loading required package: codetools
Loading required package: rlecuyer
Loading required package: snow
Loading required package: snowfall
> infest_kud_fun<-function(x,A,B){
+??
2018 Feb 15
0
package MonteCarlo error: object 'packages' not found
This looks like the sort of thing that you should ask the package
maintainer (?maintainer).
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Feb 15, 2018 at 11:39 AM, john polo <jpolo at mail.usf.edu> wrote:
>
2012 Apr 11
2
unexpectedly high memory use in R 2.14.0
I recently started using R 2.14.0 on a new machine and i am experiencing
what seems like unusually greedy memory use. It happens all the time, but
to give a specific example, let's say i run the following code
--------
for(j in 1:length(files)){
load(file.path(dump.dir, files[j]))
mat.data[[j]]<-data
}
save(abind(mat.data, along=2), file.path(dump.dir, filename))
---------
2014 Apr 25
0
Preventing $R_HOME/site-library/ via R_LIBS_SITE=":" (no other way?)
(As a non-root/non-admin), I've just tried to figure out how to
prevent a default $R_HOME/site-library/ to be added to the library
path. The solution I found was to environment variable R_LIBS_SITE to
":" (preferably in ~/.Renviron). Note that setting R_LIBS_SITE to en
empty string will cause it to fall back to using
$R_HOME/site-library/. This "hack" is based on the
2004 Mar 20
0
new version of abind()
There is a new version of the abind package on CRAN (abind_1.1-0). abind()
is a multi-dimensional generalization of cbind() and rbind() -- it can bind
multiple 2-d matrices into a 3-d array, or bind 3-d arrays together, etc.
In this new version the behavior of the function abind() has been enhanced
slightly (it can now accept a list as the first argument, removing the need
to use do.call()
2004 Mar 20
0
new version of abind()
There is a new version of the abind package on CRAN (abind_1.1-0). abind()
is a multi-dimensional generalization of cbind() and rbind() -- it can bind
multiple 2-d matrices into a 3-d array, or bind 3-d arrays together, etc.
In this new version the behavior of the function abind() has been enhanced
slightly (it can now accept a list as the first argument, removing the need
to use do.call()
2024 Apr 23
1
System GMM yields identical results for any weighting matrix
A copy of this question can be found on Cross Validated:
https://stats.stackexchange.com/questions/645362
I am estimating a system of seemingly unrelated regressions (SUR) in R.
Each of the equations has one unique regressor and one common regressor. I
am using `gmm::sysGmm` and am experimenting with different weighting
matrices. I get the same results (point estimates, standard errors and
2006 Nov 23
2
loading libraries on MPI cluster
Dear R-users,
we are using library(snow) for computation on a linux cluster with RMPI.
We have a problem with clusterEvalQ: after launching clusterEvalQ it seems
loading the required library on each node but if we type a function
belonging to the loaded package R doesn't find it.
> library(snow)
# making cluster with 3 nodes
> cl <- makeCluster(3, type = "MPI")
Loading
2012 Feb 15
3
help.search() in html?
Hi,
I have options(help_type="html") in my .Rprofile and when I type
?foo, the man page appears as a new tab in my web browser (which is
already running). Fine. However, when I type ??foo, rather than the
results appearing in a new tab, a new instance of the web browser is
spawned with the default homepage displayed. Same with
help.search("foo"). Am I the only one seeing this?
2005 Apr 21
1
Installing packages from source code
Hi everybody,
I have trouble in installing packages from source code by following Section
5.1 in manual R-admin.pdf . I am using R 2.1.0 and Win NT.
Following the Windows toolset section in the manual, I download the tool
set package from: http://www.murdoch-sutherland.com/Rtools/tools.zip
and unzip under C:\tools
I also downloaded Perl (Windows Port) and installed it.
2014 Dec 09
2
Optimizar paste0()?
Hola a todos,
Me gustaria construir un vector a partir de otros dos.
Ejemplo:
x <- 1:3
y <- 4:6
d <- data.frame(x, y)
d$z <- with(d, paste0(x, ":", y, "-ABC"))
d
El problema es "d" tiene ~70 millones de filas y toma mucho tiempo
construir el vector "z".
Alguna sugerencia?
Muchas gracias,
Jorge Velez
[[alternative HTML version deleted]]
2020 May 13
2
"cd" floating in the air in the man page for paste/paste0
Hi,
While reading about the new 'recycle0' argument of paste/paste0, I
spotted a mysterious "cd" floating in the air in the man page:
recycle0: ?logical? indicating if zero-length character arguments (and
all zero-length or no arguments when ?collapse? is not
?NULL?) should lead to the zero-length ?character(0)?.
cd
^^
This is in R
2020 May 13
1
"cd" floating in the air in the man page for paste/paste0
Thanks, fixed.
Tomas
On 5/13/20 5:14 AM, Dirk Eddelbuettel wrote:
> On 12 May 2020 at 19:59, Herv? Pag?s wrote:
> | While reading about the new 'recycle0' argument of paste/paste0, I
> | spotted a mysterious "cd" floating in the air in the man page:
> |
> | recycle0: ?logical? indicating if zero-length character arguments (and
> | all
2024 Apr 23
1
System GMM yields identical results for any weighting matrix
Generally speaking, this sort of detailed statistical question about a
speccial package in R does not get a reply on this general R
programming help list. Instead, I suggest you either email the
maintainer (found by ?maintainer) or ask a question on a relevant R
task view, such as
https://cran.r-project.org/web/views/Econometrics.html . (or any other
that you judge to be more appropriate).
2020 May 13
0
"cd" floating in the air in the man page for paste/paste0
On 12 May 2020 at 19:59, Herv? Pag?s wrote:
| While reading about the new 'recycle0' argument of paste/paste0, I
| spotted a mysterious "cd" floating in the air in the man page:
|
| recycle0: ?logical? indicating if zero-length character arguments (and
| all zero-length or no arguments when ?collapse? is not
| ?NULL?) should lead to the zero-length
2011 Aug 12
1
install packages from intranet
Hi,
I'm new to R. Apologies if this is a simple query, I've searched the mailing lists and docs but can't find a solution to my problem.
I'm trying to make some packages available on our intranet. During development the 'intranet' is a webserver running on localhost.
* When I call "install.packages" I get a mesage about not being able to access 'index
2009 Oct 19
1
rbind to array members
(resent as hotmail really cannot format plaintext, but I've just read
Tony Plate's message that what I'd like to do might not be possible)
>
> library(abind) ## array binding
I've looked into using abind() but it seems I might not understand it properly.
I can build my 2 table array and insert a row into each table using:
x <- array(0,c(1,3,2))
x[,,1]
2002 Mar 13
1
several bugs (PR#918) lists and matrices
### I got bit again by the same bugs I wrote about a year ago.
### The bugs are related to matrices and arrays of lists.
### 1. There is a clear inconsistency in how R handles two
### functionally equivalent statements.
### array() is able to take a list and create a matrix.
### matrix() is unable to create that matrix.
> vector("list", 2)
[[1]]
NULL
[[2]]
NULL
>
2005 Oct 21
1
Generalised rbind/cbind
Dear list,
Is there a generalised form of rbind/cbind for combining
matrices/arrays into higher-D structures? ie. if I have:
a <- matrix(2,2,2)
b <- matrix(3,2,2)
how can I get
array(rep(c(3,2), each=4), c(2,2,2))
?
It seems like this would be the job of a generalised abind function:
abind(a,b, along=1) == rbind(a,b)
abind(a,b, along=2) == cbind(a,b)
abind(a,b, along=3)
2003 Oct 21
5
do.call() and aperm()
Hi everyone
I've been playing with do.call() but I'm having problems understanding it.
I have a list of "n" elements, each one of which is "d" dimensional
[actually an n-by-n-by ... by-n array]. Neither n nor d is known in
advance. I want to bind the elements together in a higher-dimensional
array.
Toy example follows with d=n=3.
f <-