Displaying 20 results from an estimated 10000 matches similar to: "update R version in windows"
2017 Nov 10
0
update R version in windows
This issue does not exist on Linux. My Ubuntu updates both R and all packages.
Stephen B
-----Original Message-----
From: J C Nash [mailto:profjcnash at gmail.com]
Sent: Friday, November 10, 2017 1:19 PM
To: r-help; RICHARD M. HEIBERGER; Bond, Stephen
Subject: Re: [R] update R version in windows
However, trying this on Linux Mint gave
package ?installr? is not available (for R version
2017 Nov 10
3
update R version in windows
Is there a utility which will allow me to upgrade my R version and update all packages from the old version?
If I manually upgrade, then I have to manually re-install 50 packages.
Thank you.
Stephen B
[[alternative HTML version deleted]]
2020 May 08
2
Xenial repository for R 4.0.0
Over a week ago (on r-help, my bad!) I raised a question of why the
ubuntu install instructions
https://cran.r-project.org/bin/linux/ubuntu/README.html
instruct users with a xenial-based system to use
deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran40/
Looking at https://cloud.r-project.org/bin/linux/ubuntu/
there is no xenial-cran40 directory. However,
2018 Mar 22
1
how to add a child to a child in XML
Just to clarify and hopefully catch the attention of the maintainer:
The newXMLNode function is not mentioned in:
https://cran.r-project.org/web/packages/XML/XML.pdf
which supposedly describes all functions in the package.
Stephen
From: Ben Tupper [mailto:btupper at bigelow.org]
Sent: Thursday, March 22, 2018 10:40 AM
To: Bond, Stephen
Cc: r-help
Subject: Re: [R] how to add a child to a
2018 Mar 22
0
how to add a child to a child in XML
Hi,
It's a reasonable question. The answer is that it actually is included, but there are many instances across packages where multiple functions are documented on a single help page. The following brings up such a page... (for XML_3.98-1.9)
> library(XML)
> ?newXMLNode
You can see the same on line...
https://www.rdocumentation.org/packages/XML/versions/3.98-1.9/topics/newXMLDoc
2018 Mar 22
2
how to add a child to a child in XML
Big thanks. newXMLNode works great. Wonder why it is not included in the documentation.
There is newXMLDoc and newXMLNamespace, but no mention of newXMLNode.
Stephen
From: Ben Tupper [mailto:btupper at bigelow.org]
Sent: Wednesday, March 21, 2018 6:18 PM
To: Bond, Stephen
Cc: r-help
Subject: Re: [R] how to add a child to a child in XML
Hi,
XML doesn't use the `$` to access child nodes.
2017 Aug 22
3
How to benchmark speed of load/readRDS correctly
Not convinced Jeff is completely right about this not concerning R, since I've found that the application language (R,
perl, etc.) makes a difference in how files are accessed by/to OS. He is certainly correct that OS (and versions) are
where the actual reading and writing happens, but sometimes the call to those can be inefficient. (Sorry, I've not got
examples specifically for file
2015 Mar 12
2
Requirement for pandoc 1.12.3 in R 3.1.3
Thanks Brian.
Indeed, the vignette is in markdown form. When I updated my system to
R 3.1.3 I ran update.packages() and this seems to have upset things
(including R-studio processing of markdown files).
I tried removing rmarkdown and reverting to an older version so that my
sessionInfo() is
Loading required package: rmarkdown
> sessionInfo()
R version 3.1.3 (2015-03-09)
Platform:
2019 Mar 04
2
Package inclusion in R core implementation
As the original coder (in mid 1970s) of BFGS, CG and Nelder-Mead in optim(), I've
been pushing for some time for their deprecation. They aren't "bad", but we have
better tools, and they are in CRAN packages. Similarly, I believe other optimization
tools in the core (optim::L-BFGS-B, nlm, nlminb) can and should be moved to
packages (there are already 2 versions at least of LBFGS
2023 Aug 20
1
Determining Starting Values for Model Parameters in Nonlinear Regression
The cautions people have given about starting values are worth heeding. That nlxb() does well in many cases is useful,
but not foolproof. And John Fox has shown that the problem can be tackled very simply too.
Best, JN
On 2023-08-19 18:42, Paul Bernal wrote:
> Thank you so much Dr. Nash, I truly appreciate your kind and valuable contribution.
>
> Cheers,
> Paul
>
> El El
2018 Aug 13
1
trace in uniroot() ?
Despite my years with R, I didn't know about trace(). Thanks.
However, my decades in the minimization and root finding game make me like having
a trace that gives some info on the operation, the argument and the current function value.
I've usually found glitches are a result of things like >= rather than > in tests etc., and
knowing what was done is the quickest way to get there.
2019 Jan 31
1
nlminb with constraints failing on some platforms
Prof Nash, Prof Galanos
Is it possible to use a generic code stub in front of packages that use
optimx to improve optimx use or curtail it according to the requirements?
Best Regards
Amit
+91 7899381263
________________________________________________________________________
Please request Skype as available
5th Year FPM (Ph.D.) in Finance and Accounting Area
Indian Institute
2023 Aug 19
1
Determining Starting Values for Model Parameters in Nonlinear Regression
Thank you so much Dr. Nash, I truly appreciate your kind and valuable
contribution.
Cheers,
Paul
El El s?b, 19 de ago. de 2023 a la(s) 3:35 p. m., J C Nash <
profjcnash at gmail.com> escribi?:
> Why bother. nlsr can find a solution from very crude start.
>
> Mixture <- c(17, 14, 5, 1, 11, 2, 16, 7, 19, 23, 20, 6, 13, 21, 3, 18, 15,
> 26, 8, 22)
> x1 <- c(69.98, 72.5,
2017 Aug 22
0
How to benchmark speed of load/readRDS correctly
Caching happens, both within the operating system and within the C standard library. Ostensibly the intent for those caches is to help performance, but you are right that different low-level caching algorithms can be a poor match for specific application level use cases such as copying files or parsing text syntax. However, the OS and even the specific file system drivers (e.g. ext4 on flash disk
2018 Jul 30
2
trace in uniroot() ?
In looking at rootfinding for the histoRicalg project (see gitlab.com/nashjc/histoRicalg),
I thought I would check how uniroot() solves some problems. The following short example
ff <- function(x){ exp(0.5*x) - 2 }
ff(2)
ff(1)
uniroot(ff, 0, 10)
uniroot(ff, c(0, 10), trace=1)
uniroot(ff, c(0, 10), trace=TRUE)
shows that the trace parameter, as described in the Rd file, does not seem to
be
2017 Nov 10
0
update R version in windows
Thanks Caitlin and Richard MH. Works great.
Stephen
From: Caitlin [mailto:bioprogrammer at gmail.com]
Sent: Friday, November 10, 2017 12:33 PM
To: Bond, Stephen
Subject: Re: [R] update R version in windows
install.packages("installr")
updateR()
rather...
On Friday, November 10, 2017, Bond, Stephen <Stephen.Bond at cibc.com<mailto:Stephen.Bond at cibc.com>> wrote:
Is
2020 Mar 26
2
unstable corner of parameter space for qbeta?
Despite the need to focus on pbeta, I'm still willing to put in some effort.
But I find it really helps to have 2-3 others involved, since the questions back
and forth keep matters moving forward. Volunteers?
Thanks to Martin for detailed comments.
JN
On 2020-03-26 10:34 a.m., Martin Maechler wrote:
>>>>>> J C Nash
>>>>>> on Thu, 26 Mar 2020
2018 Mar 21
0
how to add a child to a child in XML
Hi,
XML doesn't use the `$` to access child nodes. Instead use either `[name]` to get a list of children of that name or `[[name]]` to get the just the first child of that name encountered in the genealogy. Thus for your example...
> root$child1
NULL
> root[['child1']]
<child1 name1="A" name2="B" name3="C"/>
On the other hand, you might
2017 Aug 23
1
How to benchmark speed of load/readRDS correctly
Hi there
Thanks for your answers. I didn't expect that this would be so complex. Honestly, I don't understand everything you wrote since I'm not an IT specialist. But I read something that reading *.rds files is faster than loading *.Rdata and I wanted to proof that for my system and R version. But thanks anyway for your time.
Cheers Raphael
> -----Urspr?ngliche Nachricht-----
2024 Dec 18
2
Query concerning working directory for file.choose()
Try choose.files
choose.files(default = file.path(mydir, "*.*"), multi = FALSE)
On Wed, Dec 18, 2024 at 10:33?AM J C Nash <profjcnash at gmail.com> wrote:
>
> I've been working on a small personal project that needs to select files for manipulation from
> various directories and move them around in planned ways. file.choose() is a nice way to select
> files.