Re: [R] Associate a .R file with the RGui

2022-11-05 Thread David Winsemius
On 11/5/22 09:58, Amarjit Chandhial via R-help wrote: Hi Jeff, Please see my original question. You were told that RGui is not an editor. Are you implying that your initial message contained an implicit request for instructions on how to get R code in an .R file to be opened automagicall

Re: [R] Is this *always* the intended R^2 value for no intercept in lm?

2022-11-05 Thread Bert Gunter
FAQ 7.41 and https://stackoverflow.com/questions/57415793/r-squared-in-lm-for-zero-intercept-model (among numerous others that could no doubt be found with a bit of searching). In short, the "null models" against which you are comparing the fitted model are different with and without an intercept

Re: [R] rio: list of extensions for supported formats

2022-11-05 Thread John Kane
Cat was being helpful. On Sat, 5 Nov 2022 at 15:39, John Kane wrote: > o idea but there is a list here > https://thomasleeper.com/rio/articles/rio.html > > On Sat, 5 Nov 2022 at 04:04, Sigbert Klinke > wrote: > >> Hi, >> >> is there a function in the package rio to get the file

Re: [R] rio: list of extensions for supported formats

2022-11-05 Thread John Kane
o idea but there is a list here https://thomasleeper.com/rio/articles/rio.html On Sat, 5 Nov 2022 at 04:04, Sigbert Klinke wrote: > Hi, > > is there a function in the package rio to get the file extensions listed > in the vignette under supported formats? > > Thanks Sigbert > > _

[R] Is this *always* the intended R^2 value for no intercept in lm?

2022-11-05 Thread Thierry Zell
I am puzzled by the computation of R^2 with intercept omitted that is already illustrated by the following example taken from help("lm") ## Annette Dobson (1990) "An Introduction to Generalized Linear Models". ## Page 9: Plant Weight Data. ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14

Re: [R] Associate a .R file with the RGui

2022-11-05 Thread Amarjit Chandhial via R-help
Hi Jeff, Please see my original question. Thanks, Amarjiit > On 5 Nov 2022, at 15:03, Jeff Newmiller wrote: > > RGui is not an editor. It is a console (aka REPL, > https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop). > > When using RGui, it is up to you to edit your R fi

Re: [R] Selecting a minimum value of an attribute associated with point values neighboring a given point and assigning it as a new attribute

2022-11-05 Thread Bert Gunter
Probably better posted on R-sig-geo. -- Bert On Sat, Nov 5, 2022 at 12:36 AM Duhl, Tiffany R. wrote: > Hello, > > I have sets of spatial points with LAT, LON coords (unprojected, WGS84 > datum) and several value attributes associated with each point, from > numerous csv files (with an average o

Re: [R] Associate a .R file with the RGui

2022-11-05 Thread Jeff Newmiller
RGui is not an editor. It is a console (aka REPL, https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop). When using RGui, it is up to you to edit your R file in an external editor like Notepad++ and copy paste code snippets or use source("yourfile.R") as desired. On November 5, 20

Re: [R] Associate a .R file with the RGui

2022-11-05 Thread Amarjit Chandhial via R-help
Hi Andrew/Petr, Thanks for the replies. In R Console if I run: R.home("bin") I get the following "C:/PROGRA~1/R/R-42~1.2/bin/x64" which is where Rgui.exe is (within the x64 folder there are 13 files in total: 8 . exe and 5 .dll). In file Explorer if I right-click on a .R file -> Open

[R] rio: list of extensions for supported formats

2022-11-05 Thread Sigbert Klinke
Hi, is there a function in the package rio to get the file extensions listed in the vignette under supported formats? Thanks Sigbert __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PL

[R] Selecting a minimum value of an attribute associated with point values neighboring a given point and assigning it as a new attribute

2022-11-05 Thread Duhl, Tiffany R.
Hello, I have sets of spatial points with LAT, LON coords (unprojected, WGS84 datum) and several value attributes associated with each point, from numerous csv files (with an average of 6,000-9,000 points in each file) as shown in the following example: data<- read.csv("R_find_pts_testdata.csv