search for: tupper

Displaying 20 results from an estimated 66 matches for "tupper".

Did you mean: upper
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 fu...
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 ge...
2018 Mar 22
0
how to add a child to a child in XML
...On Mar 22, 2018, at 9:19 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 o...
2008 Feb 27
2
multiple plots per page using hist and pdf
...) hist(iris$Sepal.Length, main = "Plot 1") plot(iris$Petal.Length, iris$Petal.Width, main = "Plot 2") plot(iris$Sepal.Length, iris$Petal.Length, main = "Plot 3") plot(iris$Sepal.Width, iris$Petal.Width, main = "Plot 4") dev.off() par(orig.par) ###END Ben Tupper PemaquidRiver at tidewater.net I GoodSearch for Ashwood Waldorf School. Raise money for your favorite charity or school just by searching the Internet with GoodSearch - www.goodsearch.com - powered by Yahoo!
2010 Nov 29
1
map() and pdf clipping
...TF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] mapproj_1.1-8.2 akima_0.5-4 RColorBrewer_1.0-2 [4] mapdata_2.1-3 maps_2.1-5 loaded via a namespace (and not attached): [1] tools_2.12.0 Ben Tupper Bigelow Laboratory for Ocean Sciences 180 McKown Point Rd. P.O. Box 475 West Boothbay Harbor, Maine 04575-0475 http://www.bigelow.org/
2018 Jan 02
1
httr::content without message
...'s suggestion also 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 fil...
2017 Sep 06
1
rgdal error when trying to import raster
...and necessary packages 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...
2010 Oct 01
1
colored rasterImage()
...l = my.color) This yields a greyscale image. Is it possible to create colored images using rasterImage, and, if so, what is the correct way to generate a colored image using rasterImage? Also, is there a vignette or tutorial on using the new rasterImage() and related functions? Thanks! Ben Tupper Bigelow Laboratory for Ocean Science www.bigelow.org > R.Version() $platform [1] "i386-apple-darwin9.8.0" $arch [1] "i386" $os [1] "darwin9.8.0" $system [1] "i386, darwin9.8.0" $status [1] "" $major [1] "2" $minor [1] "11.1...
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
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/ [[alterna...
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]]
2012 Oct 29
1
XML namespace control
...without the namespace prefix and without the definition # <storm type="hurricane" name="Sandy">ripsnorter</storm> Is there some way to create a node with a namespace prefix but without embedding the namespace definition along with the attributes? Thanks! Ben Ben Tupper Bigelow Laboratory for Ocean Sciences 180 McKown Point Rd. P.O. Box 475 West Boothbay Harbor, Maine 04575-0475 http://www.bigelow.org > sessionInfo() R version 2.15.0 (2012-03-30) Platform: i386-apple-darwin9.8.0/i386 (32-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/e...
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
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 <-
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/ [[alterna...
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]]
2017 Aug 06
1
Nested for loop
...parately, but I'm 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. > >...
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/
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
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 =