Displaying 20 results from an estimated 116 matches for "bigelow".
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. Instead use either `[name]` to get a list of children of that name or `[[name]]` to get the just the first child...
2018 Mar 22
0
how to add a child to a child in XML
...AM, Bond, Stephen <Stephen.Bond at cibc.com> wrote:
>
> 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. Instead use either `[name]` to get a list of children of that name or...
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 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...
2018 Jan 02
1
httr::content without message
...works if I do:
junk <- readr::read_csv(r1$content, col_types = cols())
Perfect. Using httr rather than putting the url in any of the read.csv or read_csv type code allows me greater control if the request fails.
Thanks again,
-Roy
> On Jan 2, 2018, at 9:44 AM, Ben Tupper <btupper at bigelow.org> wrote:
>
> Ahoy!
>
> That's a message generated by the readr::read_table() function (or it's friends). You can suppress it a number of ways, but this should work as httr::content() will pass through arguments, like col_types = cols(), to the file reader.
>
> ju...
2017 Dec 16
0
Generating help files for a function
..._________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
Ecocast Reports: http://seascapemodeling.org/ecocast.html
Tick Reports: https://report.bigelow.org/tick/
Jellyfish Reports: https://jellyfish.bigelow.org/jellyfish/
[[alternative HTM...
2017 Sep 06
1
rgdal error when trying to import raster
...s entirely within your personal development directories with no system installation to bother your sysadmin about... but you might also just go find another computer to do your work on.
--
Sent from my phone. Please excuse my brevity.
On September 6, 2017 3:29:41 PM PDT, Ben Tupper <btupper at bigelow.org> wrote:
>Hi,
>
>The message "there is no package called 'rgdal'" means that you don't
>have rgdal installed.
>
>https://cran.r-project.org/web/packages/rgdal/index.html
>
>Also, you will get very good patial-centric help if you subscribed to
>...
2017 Aug 06
1
Nested for loop
...having trouble
putting them all on the same graph.
I'd like to have sample on the x axis (1-300) and estimate on the y axis. I
want to show how population affects the estimates.
Does this make more sense?
Thanks for your time!
Kirsten
On Sun, Aug 6, 2017 at 3:21 PM Ben Tupper <btupper at bigelow.org> wrote:
> Hi Kirsten,
>
>
>
> I can run your example code but I can't quite follow your division of
> sampling. Can you restate the the task? Below is what I think you are
> asking for, but I have the feeling I may be off the mark.
>
>
>
>
>
> Se...
2018 Jan 02
0
httr::content without message
..._________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
Ecocast Reports: http://seascapemodeling.org/ecocast.html
Tick Reports: https://report.bigelow.org/tick/
Jellyfish Reports: https://jellyfish.bigelow.org/jellyfish/
[[alternative HTM...
2017 Sep 06
0
rgdal error when trying to import raster
..._________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
Ecocast Reports: http://seascapemodeling.org/ecocast.html
Tick Reports: https://report.bigelow.org/tick/
Jellyfish Reports: https://jellyfish.bigelow.org/jellyfish/
2018 Mar 28
0
netCDF to GeoTIFF by layer in r
...___
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
Tick Forecasting: https://eco.bigelow.org/
[[alternative HTML version deleted]]
2018 Mar 21
0
how to add a child to a child in XML
...___
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
Tick Forecasting: https://eco.bigelow.org/
[[alternative HTML version deleted]]
2017 Dec 16
5
Generating help files for a function
Hello everyone!
I'm in the process of writing a package, and I'm using the lovely "R
Package" book as a guideline.
However, in the midst of my work, I discovered that I had omitted a
function and am now putting in it the package. Not a problem. But the
problem is the help file. What is the best way to generate a help file
"after the fact" like that, please?
Thank
2018 Mar 21
2
how to add a child to a child in XML
I am trying to add a child to a child using XML package in R. the following fails
library(XML)
node1 <- c("val1","val2","val3")
names(node1) <- c("att1","att2","att3")
root <- xmlNode("root", attrs=node1)
node2 <- LETTERS[1:3]
names(node2) <- paste("name",1:3,sep="")
root <-
2017 Sep 06
2
rgdal error when trying to import raster
Dear useRs,
I am trying to import a raster with the line:
nlcd <- raster("/home/jpolo/NRI/nlcd_nri5000.tif")
And I keep getting an error like this:
"Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE,? :
? there is no package called 'rgdal'
Error in .rasterObjectFromFile(x, band = band, objecttype =
2016 Apr 30
0
Could not find function "pointsToRaster"
..._________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
2009 Dec 29
4
subsetting by groups, with conditions
...t "AreaPoly2" value, but only if Veg1=Veg2. For this
example, the desired dataset would be
P1id Veg1 Veg2 AreaPoly2 P2ID
1 p p 1.5 2
2 p p 2 3
Can anyone point me in the right direction on this?
Dr. Seth W. Bigelow
Biologist, USDA-FS Pacific Southwest Research Station
1731 Research Park Drive, Davis California
[[alternative HTML version deleted]]
2018 Jan 02
4
httr::content without message
Hi All:
I am using httr to download files form a service, in this case a .csv file. When I use httr::content on the result, I get a message. Since this will be in a package. I want to suppress the message, but haven't figured out how to do so.
The following should reproduce the result:
myURL <-
2016 Apr 30
3
Could not find function "pointsToRaster"
Dear All,
I have a script that draws longitude and latitude of lightning
occurrence. This script was running fine before. But when I changed my
system and do a fresh install on another laptop, this error persist.
source("script")
Error in eval(expr, envir, enclos) :
could not find function "pointsToRaster"
I have tried to see if there is any other package I need to install
2017 Aug 06
0
Nested for loop
..._________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ben Tupper
Bigelow Laboratory for Ocean Sciences
60 Bigelow Drive, P.O. Box 380
East Boothbay, Maine 04544
http://www.bigelow.org
Ecocast Reports: http://seascapemodeling.org/ecocast.html
Tick Reports: https://report.bigelow.org/tick/
Jellyfish Reports: https://jellyfish.bigelow.org/jellyfish/
2017 Apr 05
2
as.POSIXct character string is not in a standard unambiguous format
Hi
I have lots of issues when I try to install R 3.3.3 during the "make
check" step.
Every time a call to as.POSIXct is done in test scripts, I got the same
error message:
e.g. x <- as.POSIXct("2002-02-02 02:02")
Error in as.POSIXlt.character(x, tz, ...) :
character string is not in a standard unambiguous format
It looks to be linked to localtime but when I compiled