Displaying 6 results from an estimated 6 matches for "xfun".
Did you mean:
fun
2011 Apr 01
2
function in argument
Hi, I tried to pass the function dist() as an argument, but got an error
message. However, almost the same code with mean() as the function to be passed,
it works ok.
foo<-function (x,
xfun = dist)
{
xfun(x)
}
foo(matrix(1:100,nrow=5))
Error in foo(matrix(1:100, nrow = 5)) : could not find function "xfun"
foo<-function (x,
xfun = mean)
{
xfun(x)
}
foo(1:10)
[1] 5.5
what am I missing here?
Thanks
John
[[alternative HTML version deleted]]
2023 Feb 27
1
Undocumented change of dirname("C:/") on R-devel on Windows
Hi Tomas,
There has been an R CMD check error with xfun and r-devel on Windows for a
while:
https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/xfun-00check.html
Basically it means that the following would return TRUE before:
normalizePath('a/b', mustWork = FALSE) == normalizePath('./a/b', mustWork
= FALSE)
but it became F...
2023 Feb 24
1
Undocumented change of dirname("C:/") on R-devel on Windows
I confirmed the revert fixed my failing test. Thanks!
2023?2?23?(?) 20:12 Hiroaki Yutani <yutani.ini at gmail.com>:
> Thanks for the prompt response, I'll confirm it after the new R-devel
> binary is available.
> Also, thanks for the detailed explanation. I agree with you in general.
>
> > "/" in "C:/" is a path separator or not, and whether it is
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
2020 Jun 04
2
mclust package installation is preparing for lazy loading and never finishes
...s
rvest webshot
coda.base flexmix htmlwidgets muhaz purrr
scales whisker
colorspace flexsurv httr munsell qpdf
selectr withr
crayon flextable isoband mvtnorm quadprog
spatial xfun
crosstalk forcats jsonlite nlme R6
stringi xml2
curl foreign kableExtra officer RColorBrewer
stringr yaml
data.table fs kernlab openssl Rcpp
sys zip
DBI gdata knitr...
2019 Jul 04
2
Fwd: Fedora 31 System-Wide change proposal: Automatic R runtime dependencies
...e
* R-timeSeries
* R-tinytest
* R-tinytex
* R-tkrplot
* R-tkWidgets
* R-tufte
* R-tweenr
* R-udunits2
* R-unitizer
* R-units
* R-unix
* R-usethis
* R-utf8
* R-uuid
* R-V8
* R-vctrs
* R-viridisLite
* R-waveslim
* R-wavethresh
* R-webp
* R-webutils
* R-whisker
* R-whoami
* R-widgetTools
* R-withr
* R-xfun
* R-XML
* R-xml2
* R-xopen
* R-xtable
* R-XVector
* R-yaml
* R-zeallot
* R-zoo
* libsbml
* libsedml
* libnuml
* shogun
== Contingency Plan ==
* Contingency mechanism: The side tag will not be merged, or if a side
tag is deemed unnecessary, the generator will not be installed, and
any built packa...