Re: [R] boxplot of raster and shapefile

2024-08-28 Thread Ben Tupper
Hi, > e <- extract(r,v) Error in (function (classes, fdef, mtable) : kann keine vererbte Methode finden für Funktion ‘extract’ für Signatur ‘"RasterLayer", "SpatVector"’ The error message is telling you that extract(r, v) hasn't been configured for the combination extract(RasterLayer, SpatV

Re: [R] Barplot for data frame

2023-11-29 Thread Ben Tupper
Another great resource is RSeek.org https://rseek.org/?q=barplot On Wed, Nov 29, 2023 at 4:26 AM Ivan Krylov wrote: > В Wed, 29 Nov 2023 00:29:49 + > Livio Beqiri пишет: > > > how can i create a vertical barplot that displays brands in x-axis > > and Revenue in Y-axis > > What have you tri

Re: [R] intersection in data frame

2022-10-13 Thread Ben Tupper
Hi, If you are game to use a tidy approach then you can use tidyr::pivot_wider() library(dplyr) library(tidyr) x <- dplyr::tribble( ~ID, ~station, ~value, 12, "xy", 15, 12, "xz", 20, 13, "xy", 16, 13, "xz", 19) tidyr::pivot_wider(x, names_from = station,

Re: [R] Reading very large text files into R

2022-09-29 Thread Ben Tupper
man/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 (he/him) Bigelow Laboratory for Ocean Science East Boothbay, Maine http://www.bigelow.org/ https:

Re: [R] Error generated by nlme::gnls

2022-07-23 Thread Ben Tupper
___ > R-help@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. --

Re: [R] Reference factors inside split

2022-07-11 Thread Ben Tupper
ata = myts, main = unique(myts$corp))}) > > # Now I can print one plot at a time > myplots[["ABC"]] > myplots[["XYZ"]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.eth

Re: [R] What to do when problems() returns nothing

2021-11-04 Thread Ben Tupper
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 (he/him) Bigelow Laboratory for Ocean Science East

Re: [R] Putting colours in ggplot facets

2021-10-25 Thread Ben Tupper
n=-Inf,ymax=Inf,alpha = 0.3)+ scale_fill_manual(values=colr)+ geom_bar(stat="identity")+ facet_grid(est~geo) On Mon, Oct 25, 2021 at 10:37 PM Ben Tupper wrote: > > Hi, > > I don't quite follow what you want to achieve - colored backgrounds > for each panel? You c

Re: [R] Putting colours in ggplot facets

2021-10-25 Thread Ben Tupper
min=-Inf,xmax=Inf, > ymin=-Inf,ymax=Inf,alpha = 0.3)+ >scale_fill_manual(values=colr)+ >geom_bar(stat="identity")+ >facet_grid(est~geo) > p0 > > I have tried several approaches and Googled for help, but to no avail. I > am getting the error messag

Re: [R] Specifying plot file name in the rscript

2021-03-09 Thread Ben Tupper
__ > R-help@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, min

Re: [R] Use mapply or lapply to a nested list

2020-12-21 Thread Ben Tupper
[[alternative HTML version deleted]] > > __ > R-help@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.htm

Re: [R] change frequency of wind data correctly

2020-12-06 Thread Ben Tupper
nfetto. > > > > > AVVISO IMPORTANTE: Questo messaggio di posta elettronica può contenere > informazioni confidenziali, pertanto è destinato solo a persone autorizzate > alla ricezione. I messaggi di posta elettronica per i client di Regione > Mar

Re: [R] How to understand the mentality behind tidyverse and ggplot2?

2020-11-18 Thread Ben Tupper
t; __ > R-help@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, sel

Re: [R] getting raster layer between December and march in 1-year raster

2020-07-28 Thread Ben Tupper
oject.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

Re: [R] Help with ggplot error: #Error in FUN(X[[i]], ...) : object 'x' not found

2020-05-19 Thread Ben Tupper
MILL CREEK", "MILLBROOK", > "MILLEDGEVILLE", "MILLINOCKET", "MILNER", "MILTON", "MILWAUKEE", > "MINEOLA", "MINERAL SPGS", "MINERAL WELLS", "MINNEAPOLIS", "MISSION", > "

Re: [R] the volcano orientation

2020-05-10 Thread Ben Tupper
ternative HTML version deleted]] > > __ > R-help@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 &

Re: [R] COVID-19 datasets...

2020-05-04 Thread Ben Tupper
s://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 Science East Boothbay, Maine http://www.bigelow.org

Re: [R] Package renv and Rscript

2020-04-14 Thread Ben Tupper
anecdote is not data. ~ Roger Brinner > The combination of some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of data. > ~ John Tukey > > ////////

Re: [R] Package renv and Rscript

2020-04-14 Thread Ben Tupper
t provide a vehicle for passing other script arguments along. So, in this case, there's no way to communicate the configuration file to the script. Is there a recommended way to call Rscript such that the renv environment gets picked up? Thanks! Ben On Tue, Apr 14, 2020 at 1:41 PM Ben Tupp

[R] Package renv and Rscript

2020-04-14 Thread Ben Tupper
'/path/to/config_file'. I planned to use renv::run('/path/to/script.R', -- Ben Tupper Bigelow Laboratory for Ocean Science East Boothbay, Maine http://www.bigelow.org/ https://eco.bigelow.org [[alternative HTML version deleted]] _

Re: [R] Package httr::GET() question

2020-02-19 Thread Ben Tupper
://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 Science West Boothbay Harbor, Maine http://www.bigelow.

Re: [R] How to extract or sort values from one column

2020-01-31 Thread Ben Tupper
> R-help@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 Tu

Re: [R] Plotting confidence intervals

2019-12-07 Thread Ben Tupper
t.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 Science West Boothbay Harbor, Maine http://www.bigelow.

Re: [R] cannot open file '--no-restore.matrix'

2019-11-23 Thread Ben Tupper
8437542 -0.590669 0.0145733 > rs2174369 -0.167913 -0.0268728 > rs242252 0.20184 0.0161709 > rs34121330 0.328602 0.0753894 > rs4792798 -0.303601 0.00227314 > rs7222311 -0.367686 -0.0419168 > rs74369938 0.687555 -0.223105 > rs8075751 -0.261916 -0.0313484 > > On Fri, Nov 22, 201

Re: [R] cannot open file '--no-restore.matrix'

2019-11-22 Thread Ben Tupper
ed > > > Please advise, > > Thanks > Ana > > __ > R-help@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

Re: [R] using xpath with xml2

2019-11-12 Thread Ben Tupper
> xlink <-> http://www.w3.org/1999/xlink <http://www.w3.org/1999/xlink> > > daymet %>% xml2::xml_find_all(xpath = "d1:dataset") > {xml_nodeset (1)} > [1] http://tibco.com/> > > On Tue, Nov 12, 2019 at 11:35 AM Ben Tupper <mailto:btup...@bigelow.or

[R] using xpath with xml2

2019-11-12 Thread Ben Tupper
7] base other attached packages: [1] magrittr_1.5 httr_1.4.1 xml2_1.2.2 loaded via a namespace (and not attached): [1] compiler_3.5.1 R6_2.4.0 tools_3.5.1curl_4.2 [5] yaml_2.2.0 Rcpp_1.0.3 Thanks, Ben Ben Tupper Bigelow Laboratory for Ocean Sciences 60 Big

Re: [R] Trying to understand the magic of lm

2019-05-08 Thread Ben Tupper
-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

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Ben Tupper
> > min_ > = min(minValue(xras), minValue(yras)) > > max_ > = max(maxValue(xras), maxValue(yras)) > > r.range > = c(min_, max_) > > > levelplot > (stack(xras, yras), col.regions = rev(rainbow(99, start=0, end=1)), colorkey > = list(space = "bottom&q

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Ben Tupper
; bottom's image and y values for each image. > > I added the following code on your code > grid.arrange(PP[[1]],PP[[2]],PP[[3]]) > > But, as I mentioned above, I can get three separate images with its own > legend and X and Y axix > Thanks, > > From: Ben Tup

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Ben Tupper
w")) > > thanks > > > [[alternative HTML version deleted]] > > __________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE d

Re: [R] looking for 'tied rows' in dataframe

2019-03-18 Thread Ben Tupper
ut I'm stuck beyond this. >> >> The following gets me pretty close, >> >> test_new <- test >> test_new[which(apply(test,1,isUnique)==FALSE),] <- 'T' >> >> but is clunky. >> >> >> >> >> >> >

Re: [R] Randomization Test

2019-02-27 Thread Ben Tupper
> discrimination, but it is important to note which assumptions have to be >>> (implicitly) made. >>> * I'm not sure what you mean by "mean differences" of the events - is that >>> two groups you are comparing? If so, that seems reasonable, but just mak

Re: [R] Finding the Mean of a Specific Set of Columns

2019-02-14 Thread Ben Tupper
native HTML version deleted]] > > __ > R-help@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

Re: [R] I can't get seq to behave how I think it should

2019-01-17 Thread Ben Tupper
Hi, This looks like a floating point reality bump - see https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f You can use other methods to finding

Re: [R] Width of a text

2018-12-12 Thread Ben Tupper
roject.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 Ecological Forecasting: https://eco.bigelow.org/ [[alternativ

Re: [R] POSIXct format

2018-12-04 Thread Ben Tupper
elp@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 O

Re: [R] gemo_text issue

2018-11-27 Thread Ben Tupper
; zp1 <- zp1 + scale_y_continuous(breaks = 0:6, expand = c(0, 0)) > zp1 <- zp1 + coord_fixed() > zp1 <- zp1 + theme_bw() > print(zp1) > > ### Add title and lines ### > zp1 <- zp1 + ggtitle("5x5 Plot")+theme(plot.title = element_text(hjust = 0.5)) > zp1 <- zp1 + geom_vline(xintercept=c(1.5:5.5)) >

Re: [R] Sp-package overlay

2018-10-02 Thread Ben Tupper
SUBSCRIBE 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 Laborator

Re: [R] Casting Date to char

2018-09-05 Thread Ben Tupper
ng 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 Bi

Re: [R] Understanding read.csv error message

2018-08-18 Thread Ben Tupper
le code. > > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > __

Re: [R] error with the expand.grid command

2018-08-09 Thread Ben Tupper
ved products were generally > computed with the standard SeaDAS algorithms. QAA IOPs were derived using > the standard SeaDAS algorithm but with a modified backscattering table to > match that used in the bandshifting. The final chlorophyll is a combination > of OC4, Hu's CI

Re: [R] inconsistency in display of character vector....

2018-07-08 Thread Ben Tupper
/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > [[alternative HTML version deleted]] > > __ > R-help@r-project.or

Re: [R] Generate random Bernoulli draws

2018-07-06 Thread Ben Tupper
sting guide http://www.R-project.org/posti >>> ng-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >>> >> >> > > [[alternative HTML version deleted]] > > __ >

Re: [R] aggregate and list elements of variables in data.frame

2018-06-07 Thread Ben Tupper
nzia Regionale per la Prevenzione e > Protezione Ambientale del Veneto > > Dipartimento Provinciale di Treviso > Via Santa Barbara, 5/a > 31100 Treviso, Italy > > tel: +39 0422 558545 > fax: +39 0422 558516 > e-mail: massimo.bres...@arpa.veneto.it > --

Re: [R] Histogram of character elements

2018-06-07 Thread Ben Tupper
2018, at 7:02 AM, Luigi Marongiu wrote: > > also, with this approach, I need to re-arrange the data. Is it > possible to work directly on a dataframe? > On Thu, Jun 7, 2018 at 12:48 PM Ben Tupper wrote: >> >> Hi, >> >> Is this what you are after? >&g

Re: [R] Histogram of character elements

2018-06-07 Thread Ben Tupper
factor(df$group)) and histogram(df$freq ~ > as.factor(df$group)) report all groups on the x axis (that is good) > but all at 20% level. > > What am I missing? > Thank you. > > -- > Best regards, > Luigi > > __ > R-help@r-project.org mailing list -- To UN

Re: [R] netCDF to GeoTIFF by layer in r

2018-03-28 Thread Ben Tupper
; > > Ahmed Attia, Ph.D. > Agronomist & Soil Scientist > > [[alternative HTML version deleted]] > > __________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo

Re: [R] how to add a child to a child in XML

2018-03-22 Thread Ben Tupper
ote: > > 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:btup...@bigelow.org] > Sent: Wednesday, March 21

Re: [R] how to add a child to a child in XML

2018-03-21 Thread Ben Tupper
p="") > > root <- addChildren(root$child1,xmlNode("child2",attrs=node3)) > > > > Error in UseMethod("addChildren") : no applicable method for 'addChildren' > applied to an object of class "NULL" > > > Stephen B

Re: [R] roxygen2 error - x$tag operator is invalid for atomic vectors

2018-01-17 Thread Ben Tupper
> > __ > R-help@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

Re: [R] httr::content without message

2018-01-02 Thread Ben Tupper
r 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 wrote: >> >> Ahoy! >> >> That's a message g

Re: [R] httr::content without message

2018-01-02 Thread Ben Tupper
K Jr. > > __ > R-help@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 commen

Re: [R] Generating help files for a function

2017-12-16 Thread Ben Tupper
Houston - Downtown > mailto: erinm.hodg...@gmail.com > > [[alternative HTML version deleted]] > > __ > R-help@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://ww

Re: [R] Problem Subsetting Rows that Have NA's

2017-10-24 Thread Ben Tupper
ct.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

Re: [R] rgdal error when trying to import raster

2017-09-06 Thread Ben Tupper
brary(rgdal) and none of the other libraries that are loaded require >> rgdal. The package raster does suggest it though. Is that causing the >> problem? Is there a way to avoid this? Any help is welcome. >>> >>> best, >>> >>> John >>> >>

Re: [R] rgdal error when trying to import raster

2017-09-06 Thread Ben Tupper
an to be quiet, > and he'll be silent for a moment. > Feed a man to a red dragon > and he'll be silent for a lifetime." > -Anne Isabella Thackeray Ritchie > > __________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and m

Re: [R] really dumb question with building/creating a new package.

2017-08-17 Thread Ben Tupper
; > > -- > Erin Hodgess > Associate Professor > Department of Mathematical and Statistics > University of Houston - Downtown > mailto: erinm.hodg...@gmail.com > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list --

Re: [R] Nested for loop

2017-08-07 Thread Ben Tupper
> population differs. I can do this separately, 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

Re: [R] Nested for loop

2017-08-06 Thread Ben Tupper
timate)) + > geom_point(size = 2) + > geom_line() + > geom_hline(yintercept = N, col = "red", lwd = 1) + > coord_cartesian(xlim = c(0:100), ylim = c(300:500)) + > scale_x_continuous(breaks = pretty_breaks(11)) + > scale_y_continuous(breaks = pretty_breaks(11)) + >

Re: [R] Copy and Rename Folder in same directory

2017-05-08 Thread Ben Tupper
still getting FALSE and files are not getting copied from the > folder. However,if I give a single file name it copies that file to new > folder. > > Any thoughts ? > > On Mon, May 8, 2017 at 4:07 PM, Archit Soni <mailto:soni.archit1...@gmail.com>> wrote: > Tha

Re: [R] Copy and Rename Folder in same directory

2017-05-08 Thread Ben Tupper
ting-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 __ R-help@r-project.org mailing

Re: [R] Reading XML attriutes in R

2017-04-28 Thread Ben Tupper
lated then as is. > > Unit Value Type > NANA NA > 3h0.0925 rain > > Thanks again and in advance ! > > Archit > > On Thu, Apr 27, 2017 at 6:27 PM, Ben Tupper wrote: > Hi, > > There might be an easy solution out there

Re: [R] Reading XML attriutes in R

2017-04-27 Thread Ben Tupper
ng a lot, thanks for reading and cheers! :) > > -- > Regards > Archit > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/ma

Re: [R] Maximum length for a -e argument to Rscript?

2017-04-21 Thread Ben Tupper
e script to a file and then execute > that file with Rscript, since that seems to work; but I was really hoping to > avoid that extra complication and overhead. Is there a better way? > > Thanks for any help you can provide! :-> > > Cheers, > -B. > > Benjami

Re: [R] readr to generate tibble from a character matrix

2017-04-07 Thread Ben Tupper
sAsFactors=FALSE), type.convert, as.is=TRUE) >> as_tibble(mm) > # Your solution simplified by converting to a data.frame > >> as_tibble(lapply(as_tibble(m), type.convert, as.is=TRUE)) > # Ulrik's solution but without the pipes. Shows why you need 2 as_tibbles() > > ---

Re: [R] readr to generate tibble from a character matrix

2017-04-06 Thread Ben Tupper
7; but it get the job done. > > HTH > Ulrik > > On Thu, 6 Apr 2017 at 16:41 Ben Tupper <mailto:btup...@bigelow.org>> wrote: > Hello, > > I have a workflow yields a character matrix that I convert to a tibble. Here > is a simple example. > > libra

[R] readr to generate tibble from a character matrix

2017-04-06 Thread Ben Tupper
the matrix to a file or paste it all into a character vector and then use read_* functions, but I confess I am looking for a straighter path by simply passing the matrix to a function like readr::read_matrix() or the like. Thanks! Ben Ben Tupper Bigelow Laboratory for Ocean Sciences 60 Bi

Re: [R] as.POSIXct character string is not in a standard unambiguous format

2017-04-05 Thread Ben Tupper
t -- 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 Dr

Re: [R] taking a small piece of large tiff

2017-04-05 Thread Ben Tupper
ucible code. > > ______ > R-help@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, m

Re: [R] Extracting time-series data from netCDF file for a defined period using ncdf4 package

2017-03-23 Thread Ben Tupper
nd 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 38

Re: [R] [FORGED] Re: get() return nothing

2017-02-14 Thread Ben Tupper
[[alternative HTML version deleted]] >> >> __ >> R-help@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/

Re: [R] princomp() output loadings component missing

2017-01-29 Thread Ben Tupper
> How should I explain this? > Thanks. > Ace > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posti

Re: [R] Current Terminal (console) width

2017-01-20 Thread Ben Tupper
; > > CONFIDENTIALITY NOTICE: This message and any accompanyi...{{dropped:19}} > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting gui

Re: [R] Error in R_nc4_open

2017-01-11 Thread Ben Tupper
SE do read the posting guide >>> http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >> > > [[alternative HTML version deleted]] > > __ > R-help@

Re: [R] XML to CSV

2017-01-04 Thread Ben Tupper
or > recommendations would be greatly appreciated as I have felt fairly stuck. > Once again, thank you very much for your help. > > Best, > Andrew > > On Tue, Jan 3, 2017 at 2:29 PM, Ben Tupper <mailto:btup...@bigelow.org>> wrote: > Hi, > > It's har

Re: [R] XML to CSV

2017-01-03 Thread Ben Tupper
; (207) 620-4854 > > [[alternative HTML version deleted]] > > __ > R-help@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.ht

Re: [R] Any help on R code interpretation?

2016-12-22 Thread Ben Tupper
-help@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

Re: [R] Error: XYZ is not an exported object

2016-12-10 Thread Ben Tupper
www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEA

Re: [R] Convert arc-second to degree

2016-11-29 Thread Ben Tupper
ve HTML version deleted]] > > __ > R-help@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/p

Re: [R] Merra2 files

2016-11-27 Thread Ben Tupper
ASE 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 ___

Re: [R] Question about using ggplot

2016-11-13 Thread Ben Tupper
english skills..:( > > __ > R-help@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/pos

Re: [R] How to create a list of trellis objects for grid.arrange()

2016-10-30 Thread Ben Tupper
ted, minimal, self-contained, reproducible code. > > __ > R-help@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/pos

Re: [R] [FORGED] [FORGED] lattice: control panel extent on device

2016-10-27 Thread Ben Tupper
lt;- x[[n]]$y.limits >yticks <- axisTicks(yrange, FALSE) >x[[n]] <- update(x[[n]], > scales=list(y=list(at=yticks, > labels=rep(" ", > length(yticks) >

Re: [R] [FORGED] lattice: control panel extent on device

2016-10-26 Thread Ben Tupper
ayout.widths$ylab <- list(x=1, units="cm", data=NULL) > layout.widths$panel <- list(x=width, units="in", data=NULL) > layout.widths$key.right <- list(x=1, units="cm", data=NULL) > lattice.options(layout.widths=layout.widths) > # Force (width of) left axi

Re: [R] [FORGED] lattice: control panel extent on device

2016-10-25 Thread Ben Tupper
t; # Force (width of) left axis labels to be the same > xy_p <- xyplot(y ~ x, data = xy, xlim=xscale, > scales=list(y=list(at=seq(100, 200, 20), > labels=rep(" ", 11 > print(xy_p, newpage=FALSE, prefix="xy_p")

Re: [R] [FORGED] Re: lattice: control panel extent on device

2016-10-25 Thread Ben Tupper
his do what you want ? > > library(latticeExtra) > c(vol_p, xy_p, x.same=TRUE) > > Paul > > On 26/10/16 04:30, Ben Tupper wrote: >> Thanks, Bert. >> >> I have used latticeExtra for layering graphics. I'm not sure how I >> would use it to align gra

Re: [R] lattice: control panel extent on device

2016-10-25 Thread Ben Tupper
> Cheers, > Bert > > > On Oct 25, 2016 2:55 PM, "Ben Tupper" <mailto:btup...@bigelow.org>> wrote: > Hello, > > I am drawing a levelplot and an xyplot on a single device as shown in the > runnable example below. I would like the x axes to align - th

[R] lattice: control panel extent on device

2016-10-25 Thread Ben Tupper
1] lattice_0.20-33 loaded via a namespace (and not attached): [1] tools_3.3.1 grid_3.3.1 Ben Tupper Bigelow Laboratory for Ocean Sciences 60 Bigelow Drive, P.O. Box 380 East Boothbay, Maine 04544 http://www.bigelow.org __ R-help@r-project.org mai

Re: [R] Efficient means to link two data frames

2016-09-29 Thread Ben Tupper
Than.com <http://www.plessthan.com/> > > > > > > [[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-h

Re: [R] How to add overall xlabel and ylabel?

2016-09-25 Thread Ben Tupper
lp@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 f

Re: [R] splitting a vector of strings

2016-07-21 Thread Ben Tupper
> MIVEGEC. - UMR (CNRS/IRD/UM) 5290 > Maladies Infectieuses et Vecteurs, Génétique, Evolution et Contrôle > Institut de Recherche pour le Développement (IRD) > 911, Avenue Agropolis > BP 64501 > 34394 Montpellier Cedex 5, France > > __ &

Re: [R] documenting R reference class methods with roxygen2

2016-07-20 Thread Ben Tupper
t; __ > R-help@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-

Re: [R] UUIDgenerate() withn a s4 class produces the same uuid at each instance

2016-06-08 Thread Ben Tupper
; An object of class "C" Slot "id": [1] > "1e07d7c2-2d71-11e6-b5e1-e1f59d8ccf09" > > Calling UUIDgenerate() successively at the R command line produces > different UUIDS each time. > > Where do I go wrong? > > Thanks > > Servet >

Re: [R] projectRaster function no values

2016-05-18 Thread Ben Tupper
3.2.3 in a Linux/Unix > environment. > > Many thanks for your help! > > Adrienne > -- > Adrienne Wootten > Ph.D Candidate / Graduate Research Assistant > State Climate Office of North Carolina > Department of Marine, Earth and Atmospheric Sciences > North Carolina St

Re: [R] Could not find function "pointsToRaster"

2016-04-30 Thread Ben Tupper
; > library(maps) > w = map("world") > wc = cbind(w$x, w$y) > wc=wc[!is.na(wc[,1]),] > write.table(wc, file = "my.fileb", sep=" ",row=FALSE,col=FALSE) > my<-read.table("my.out",col.names=c("a","b")) > rena = fu

Re: [R] Could not find function "pointsToRaster"

2016-04-30 Thread Ben Tupper
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

Re: [R] installation of dplyr

2016-04-20 Thread Ben Tupper
Increasing memory resolved the issue for me. Thanks again, Ben > On Apr 19, 2016, at 4:10 PM, Hadley Wickham wrote: > > You normally see these errors when compiling on a vm that has very > little memory. > Hadley > > On Tue, Apr 19, 2016 at 2:47 PM, Ben Tupper wrote:

Re: [R] installation of dplyr

2016-04-19 Thread Ben Tupper
Hi, OK - that can be fixed by our IT whizzes. Thanks, Ben P.S. Thanks for dplyr! > On Apr 19, 2016, at 4:10 PM, Hadley Wickham wrote: > > You normally see these errors when compiling on a vm that has very > little memory. > Hadley > > On Tue, Apr 19, 2016 at 2:47

[R] installation of dplyr

2016-04-19 Thread Ben Tupper
error similar to the other but not quite exactly the same - the error messages sail right over my head. I can contact the package author if that would be better, but thought it best to start here. Thanks! Ben Ben Tupper Bigelow Laboratory for Ocean Sciences 60 Bigelow Drive, P.O. Box 380 East

  1   2   3   >