Re: [R] Best settings for RStudio video recording?

2020-08-13 Thread Bert Gunter
Well then: "Using the multi-OS RStudio for teaching R seems rather less off-topic than that." If the query is about teaching r, wouldn't R-Sig-teaching be the right place to post? Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." --

Re: [R] Best settings for RStudio video recording?

2020-08-13 Thread Jeff Newmiller
The jab about a "private company" detracted from your point. It is a public benefit corporation, but either way they produce open source software that is frequently used to introduce people to R, and the company management structure is irrelevant. While I would have preferred to see a question

Re: [R] Best settings for RStudio video recording?

2020-08-13 Thread Martin Morgan
Excellent question! I think most R courses use RStudio, so it is completely appropriate to ask about how to help people learn R using RStudio. I don't have a lot experience with virtual teaching, and very limited experience with anything other than short-term workshops. I think that there is

Re: [R] Best settings for RStudio video recording?

2020-08-13 Thread Bert Gunter
Way off topic. Ask at RStudio. This is **R-Help** -- help on R programming. RStudio is a private company. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu,

[R] Best settings for RStudio video recording?

2020-08-13 Thread Jonathan Greenberg
Folks: I was wondering if you all would suggest some helpful RStudio configurations that make recording a session via e.g. zoom the most useful for students doing remote learning. Thoughts? --j -- Jonathan A. Greenberg, PhD Randall Endowed Professor and Associate Professor of Remote Sensing

Re: [R] rNOMAD package

2020-08-13 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi Philip: Both 'ncdf4' and 'Rnetcdf' should be able to download data using OPeNDAP. That the package is using OPeNDAP is transparent to the user, other than the fact that the "file" is an URL. Extracts are just like reading a netCDF file using these packages, so you may have to spend

[R] rNOMAD package

2020-08-13 Thread Philip
Daniel Bowman wrote a wonderful package to access National Weather Service data with R. Unfortunately I stuck trying to download archived Rapid Update Forecasts (RAP) going back into 2016. I have been poking around on the Internet for days but keep getting recycled to three or four websites

Re: [R] R 3.6.1 for MAC

2020-08-13 Thread Ivan Krylov
Dear Elena, On Thu, 13 Aug 2020 09:00:10 +0300 Elena Ivanova wrote: > Could you please let me know where to find the Version 3.6.1 for MAC > since I have a package only working with this version Short answer: perhaps https://cran.r-project.org/bin/macosx/el-capitan/base/R-3.6.1.pkg would work?

[R] R 3.6.1 for MAC

2020-08-13 Thread Elena Ivanova
Dear Sir/Madame, Could you please let me know where to find the Version 3.6.1 for MAC since I have a package only working with this version Unfortunately I can not find it here https://cran.r-project.org/bin/macosx/ Elena Ivanova PhD Student elena.ivan...@hu-berlin.de

Re: [R] stacked bar on single-color printing

2020-08-13 Thread Greg Snow
While it is possible to fill bars with patterns, it is not recommended. Fill patterns can lead to what is called the Moire effect and other optical illusions. Depending on the fill patterns and how they relate to each other this can cause an illusion of movement within the plot, straight lines

Re: [R] stacked bar on single-color printing

2020-08-13 Thread Rui Barradas
Hello, In base graphics function barplot has arguments angle and density, see the help page ?barplot. As an example, with the same data (note that the argument density is recycled, 2 values, one per stacked bar times the number of unique X vakues): barplot(Freq ~ Y + X, tbl, density =

Re: [R] date conversion problem

2020-08-13 Thread Abdoulaye Sarr
Hi Jim, Thanks for the hint, that makes sense and I'll arrange accordingly. Best regards, Abdoulaye On Thu, Aug 13, 2020 at 8:38 AM Jim Lemon wrote: > Hi Abdoulaye, > It looks to me as though your offsets are in hours, not days. You can > get a rough date like this: > >

Re: [R] stacked bar on single-color printing

2020-08-13 Thread John
Thanks Rui. That's very close to what I am looking for. You use gray scales for different categories. That would be a great idea. Could we use pattern fill? Rui Barradas 於 2020年8月13日 週四 下午6:31寫道: > Hello, > > Without sample data and the code you've tried it's difficult to say but > are you

Re: [R] Error with sf ordinary kriging after creating grid

2020-08-13 Thread Bert Gunter
You should post on r-sig-geo, not here. The specific expertise you seek is much more likely to be found there. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On

[R] Error with sf ordinary kriging after creating grid

2020-08-13 Thread Nicola Gambaro
I want to perform ordinary kriging of temperature (UTCI) data in Nigeria with sf and gstat packages. However, after fitting the variogram model and creating a grid for the region, the krige function returns this error: Error in (function (classes, fdef, mtable) : unable to find an inherited

Re: [R] stacked bar on single-color printing

2020-08-13 Thread Rui Barradas
Hello, Without sample data and the code you've tried it's difficult to say but are you looking for something like this? set.seed(2020) df1 <- expand.grid(X = factor(1:5), Y = LETTERS[1:2]) df1 <- df1[sample(nrow(df1), 100, TRUE), ] library(ggplot2) tbl <- as.data.frame(table(df1))

[R] Binomial PCA Using pcr()

2020-08-13 Thread Prasad DN
Hi All, i am very new to R and need guidance. Need help in doing process capability Analysis for my data set (6 months of data) given in below format: Date | Opportunities | Defectives | DefectivesInPercent I searched and found that pcr() from QualityTools package can be used for this

[R] stacked bar on single-color printing

2020-08-13 Thread John
Hi, I would like to create percentage stacked bar with graphics package (e.g., ggplot2) and print it in white/black. The regular option is to use different color on the bar. Is there any way to use different background on a bar so that we can tell on a black/white printing? For example, let my

Re: [R] date conversion problem

2020-08-13 Thread Jim Lemon
Hi Abdoulaye, It looks to me as though your offsets are in hours, not days. You can get a rough date like this: time<-c(1569072,1569096,1569120,1569144, 1569168,1569192,1569216,1569240) time_d<-as.Date("1800-01-01")+time/24 time_d [1] "1979-01-01" "1979-01-02" "1979-01-03" "1979-01-04"

[R] date conversion problem

2020-08-13 Thread Abdoulaye Sarr
I have dataset with time sine 1800-01-01 and extracted data from 1981 to 2019 and used these lines for the data conversion: > time_d <- as.Date(time, format="%j", origin=as.Date("1800-01-01")) > time_years <- format(time_d, "%Y") > time_months <- format(time_d, "%m") > time_year_months <-

Re: [R] add trailing dates with rbind

2020-08-13 Thread PIKAL Petr
Hi I am not sure if I understand correctly. You want to change starting days to some common value? It seems to me that you actually want start at zero date and continue in each dataset regardless of actual starting date. If it is the case, I would use day numbers like in these examples > x