Displaying 20 results from an estimated 500 matches similar to: "can't install nser..."
2023 Apr 09
1
can't install nser...
It says that nser requires the most recent version of magrittr that you do
not have installed. You must update magrittr before attempting to install
nser:
update.packages(oldPkgs = "magrittr")
or at the prompt you were presented before, choose to update magrittr
before installing nser.
On Sun, Apr 9, 2023, 17:55 akshay kulkarni <akshay_e4 at hotmail.com> wrote:
> Dear
2012 Nov 19
5
help on matrix column removal based on another matrix results
Hi everyone, now I am trying to finish writing the code (I had asked for
assistance on subtracting arrays)
This is what I what I am running in R:
> source("/home/ie/Documents/TTU/GA_Research/GLUE/R-Project/R_GLUE_Example/NSEr.R")
NSEr <- function (obs, sim)
{
{jjh <- (as.vector(obs) - sim)^2
Xjjhs <- apply(Xjjh, 2, sum)
Yii <- (obs - mean(obs))^2
Yiis <- apply(Yii, 2,
2010 Dec 08
1
Newbie trying to understand $ so I can understand acf function in stats
I am trying to understand the function acf
stats:::acf shows me the function
I am having trouble understanding the usage "$acf" in the following
acf <- array(.C(R_acf, as.double(x), as.integer(sampleT),
as.integer(nser), as.integer(lag.max), as.integer(type ==
"correlation"), acf = double((lag.max + 1L) * nser *
nser), NAOK =
2020 Jun 06
2
install.packages(): About an option for installing archived versions
Dear list,
Various helpers exist in the wild to install older archived versions of
CRAN packages, for example `remotes::install_version() ` or
`versions::install.version()`.
The former makes use of an ?archive.rds? file stored in the CRAN
/Meta directory:
https://github.com/r-lib/remotes/blob/9b5dc29102a486df2f42c88bb19027a7cd54a721/R/install-version.R#L68
Given its existence, I was
1999 Oct 31
1
bug in filter function
I think filter function in ts library has a typo. Line 34 in filter.R
reads
if(NROW(init) != 1 && NROW(init) != nser)
I guess it should be
if(NCOL(init) != 1 && NCOL(init) != nser)
Please let me know, if I am wrong.
Mehmet Balcilar
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
2017 Sep 06
3
withr::set_makevars
Hi All;
This problem has come about from trying to learn some of the review practices recommend by rOpensci. One of them is to use the package goodpractice. After installing goodpractice, it kept failing on my own packages which are under development, and I was concerned something was funny in my own , so I have a fork of the package rerddap, and I tested goodpractice on that. I get the
2017 Sep 07
0
withr::set_makevars
withr:::set_makevars() can give that error if the makefile named by the
'old_path' argument (default "~/.R/Makevars) contains more than one
definition of a variable of the form 'name=value'. You can see what file
it is reading and its contents by using the trace() function:
trace(withr:::set_makevars, quote({ cat(old_path, "\n");
writeLines(paste0(" ",
2020 Jun 26
2
R 4.0.0 rebuild status
On Friday, 26 June 2020 10.47.13 WEST I?aki Ucar wrote:
> I used bcond locally and wrongly assumed that fedpkg build would
> support --with BCOND and --without BCOND. Instead, the way to activate
> it is to change to "%bcond_with check" and then revert to
> "%bcond_without check". The only difference with bootstrap is that
> "bootstrap" is recognized
2000 Feb 11
1
Help Help!
Hello! I have two questions.
First of all, I have a problem dealing with acf
(Autocovariance function) and need help. First I
defined a time series, x, which is a vector created by
x <- ts(rnorm(200)). So I plugged the series directly
into the acf function, acf(x) and an error message
popped up as:
Error in .C("acf", as.double(x), as.integer(sampleT),
as.integer(nser), :
2019 Feb 14
0
Proposed speedup of spec.pgram from spectrum.R
Hello,
I propose two small changes to spec.pgram to get modest speedup when
dealing with input (x) having multiple columns. With plot = FALSE, I
commonly see ~10-20% speedup, for a two column input matrix and the speedup
increases for more columns with a maximum close to 45%. In the function as
it currently exists, only the upper right triangle of pgram is necessary
and pgram is not returned by
2020 Jun 06
0
install.packages(): About an option for installing archived versions
On 06/06/2020 3:04 a.m., Patrick Schratz wrote:
> Dear list,
>
> Various helpers exist in the wild to install older archived versions of
> CRAN packages, for example `remotes::install_version() ` or
> `versions::install.version()`.
> The former makes use of an ?archive.rds? file stored in the CRAN
> /Meta directory:
>
2002 Jun 13
3
Bug in rnorm. (PR#1664)
There appears to be a mild bug, or at least a deficiency, in
rnorm. The bug becomes apparent when one looks at extremes
of the squares of the values generated by rnorm; rnorm is not
generating quite enough extreme values.
The R version that I am using is 1.4.1; I never got around to installing
1.5.0, and now since 1.5.1 is about to come out .... However, checking
the 1.5.0 release notes
2019 Oct 05
6
should base R have a piping operator ?
Dear R-devel,
The most popular piping operator sits in the package `magrittr` and is used
by a huge amount of users, and imported /reexported by more and more
packages too.
Many workflows don't even make much sense without pipes nowadays, so the
examples in the doc will use pipes, as do the README, vignettes etc. I
believe base R could have a piping operator so packages can use a pipe in
2023 Aug 06
3
A demonstrated shortcoming of the R package management system
CRAN, by relying on the powerful package management system that is part of R,
provides an unparalleled framework for extending R with nearly 20k packages.
We recently encountered an issue that highlights a missing element in the
otherwise outstanding package management system. So we would like to start a
discussion about enhancing its feature set. As shown below, a mechanism to
force
2007 Dec 03
1
Plotting monthly timeseries with an x-axis in "time format"
I have the following timeseries "tab"
=====================================
> str(tab)
mts [1:23, 1:2] 79.5 89.1 84.9 75.7 72.8 ...
- attr(*, "dimnames")=List of 2
..$ : NULL
..$ : chr [1:2] "Ipex...I" "Omel...E"
- attr(*, "tsp")= num [1:3] 2006 2008 12
- attr(*, "class")= chr [1:2] "mts" "ts"
> tab
2019 Oct 05
4
should base R have a piping operator ?
Hi John,
Thanks, but the Bizzaro pipe comes with many flaws though :
* It's not a single operator
* It has a different precedence
* It cannot be used in a subcall
* The variable assigned to must be on the right
* It doesn't trigger indentation when going to the line
* It creates/overwrite a `.` variable in the worksace.
And it doesn't deal gracefully with some lazy evaluation edge
2018 Apr 02
1
lintr error
library("lintr")
Error: package or namespace load failed for 'lintr' in loadNamespace(j
<- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called 'magrittr'
library("magrittr")
Error in library("magrittr") : there is no package called 'magrittr'
session.Info():
R version 3.4.4 (2018-03-15)
Platform:
2020 Jun 27
1
roxygen2 / documentation of reexports
Dear colleagues,
preparing a release of my package ?polmineR? I encountered the following issue with a new warning issued when running R CMD check with the --as-cran option on Debian with R-devel.
To reexport the magrittr pipe operator %>%, my package adopted I snippet you?d see in the dplyr package, for instance:
#' @importFrom magrittr %>%
#' @export
magrittr::`%>%`
The
2020 May 10
2
Gráficos plotly y Rmarkdown
Hola, cuando ejecuto Rmarkdown los gráficos plotly no salen. No hay
ningún error pero en el resultado final no se obtiene nada. Si ejecuto
plotly desde R los gráficos primero salen en blanco y es necesario
"recargar" para poderlo ver, si lo inspeccionas no sale nada. El equipo
en el que me pasa esto es:
platform x86_64-w64-mingw32
arch x86_64
os mingw32
2001 Jul 03
1
plot.mts() with type="p" (PR#1010)
There appears to be a bug in plot.mts() in R-1.3.0 when attempting to
do a multiple point plot (this worked in 1.2.2).
Reproduce by:
> version
_
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
system sparc, solaris2.8
status
major 1
minor 3.0
year 2001