Re: [R] Need help to fix the max date filter problem in the date input

2021-06-07 Thread Biplab Nayak
Hi Rui, Please find the data file attached here. Thanks & Regards Biplab Nayak On Mon, Jun 7, 2021 at 4:21 PM Rui Barradas wrote: > Hello, > > This is not reproducible, we don't have access to ttclasses.csv. > Can you post sample data? Please post the output of > > dput(ttclasses) > > Or, if

Re: [R] Need help to fix the max date filter problem in the date input

2021-06-07 Thread Rui Barradas
Hello, Thanks for the data. There were some, not many, bugs that I have corrected below. library(tidyverse) #library(stringr)# attached with tidyverse #library(readr) library(shiny) ttclasses <- read_csv("~/tmp/ttclasses.csv") #Filter data ttclasses <-ttclasses %>%

Re: [R] Need help to fix the max date filter problem in the date input

2021-06-07 Thread Rui Barradas
Hello, This is not reproducible, we don't have access to ttclasses.csv. Can you post sample data? Please post the output of dput(ttclasses) Or, if it is too big, the output of dput(head(ttclasses, 20)) Hope this helps, Rui Barradas Às 18:03 de 07/06/21, Biplab Nayak escreveu: Hi All, I

[R] Need help to fix the max date filter problem in the date input

2021-06-07 Thread Biplab Nayak
Hi All, I Need a bit of help to fix the code. Code: library(readr) library(shiny) ttclasses <- read_csv("ttclasses.csv") #Filter data library(stringr) library(dplyr) ttclasses <-ttclasses %>% filter(str_detect(assessment, "Assignment")) ttclasses <-ttclasses %>% filter(str_detect(name,

Re: [R] Package installation for 4.1 on windows.

2021-06-07 Thread Duncan Murdoch
On 07/06/2021 10:37 a.m., Witold E Wolski wrote: Hello, I just installed R 4.1 and now trying to update install some packages. R version 4.1.0 (2021-05-18) -- "Camp Pontanezen" Copyright (C) 2021 The R Foundation for Statistical Computing But when installing packages I read: Installing

Re: [R] .Last function in R 4.1.0

2021-06-07 Thread Duncan Murdoch
And to expand a bit: only the site file tries to put objects into the base package. The local .Rprofile file would put them into the global environment. So there's still support for .First and .Last, but it has changed. This abuses things a bit, but appears to work in an Rprofile.site

[R] Package installation for 4.1 on windows.

2021-06-07 Thread Witold E Wolski
Hello, I just installed R 4.1 and now trying to update install some packages. R version 4.1.0 (2021-05-18) -- "Camp Pontanezen" Copyright (C) 2021 The R Foundation for Statistical Computing But when installing packages I read: Installing packages into

Re: [R] .Last function in R 4.1.0

2021-06-07 Thread Bert Gunter
According to the News file for 4.1.0 -- you should always check there first for such things -- "The base environment and its namespace are now locked (so one can no longer add bindings to these or remove from these)." So the docs do seem to need updating. Bert Gunter "The trouble with having

Re: [R] Magick Package

2021-06-07 Thread Duncan Murdoch
On 07/06/2021 5:09 a.m., Nick Wray wrote: Hello I'm trying to use the Magick package for animations - it has downloaded OK but says that it was built under version 4.0.5 and that fontconfig and x11 features are disabled. Atm I am using R 1.4.1103 That's not an R version number. It looks

[R] Magick Package

2021-06-07 Thread Nick Wray
Hello I'm trying to use the Magick package for animations - it has downloaded OK but says that it was built under version 4.0.5 and that fontconfig and x11 features are disabled. Atm I am using R 1.4.1103 Am I being naive in assuming that all later versions of R subsume the features of earlier

Re: [R] Directly copying data from RStudio to MS Excel

2021-06-07 Thread Erich Subscriptions
Read https://www.johndcook.com/blog/r_excel_clipboard/ > On 06.06.2021, at 22:28, Ahmad Raza wrote: > > Dear Experts, > I am trying to copy data tables from RStudio to MS Excel. In Macbook, its > working effortlessly. I can just press CMD+A, copy and directly paste onto > excel sheet. All

[R] .Last function in R 4.1.0

2021-06-07 Thread Paul Louisell
Here's my relevant OS / version info for background: R version 4.1.0 (2021-05-18) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19043) Here's the problem: I've inserted the following lines *only *into my Rprofile.site file in the etc folder: if(interactive()){