Re: [R] sd in aggregate and help.search/?? seem not to work as usual in latest version

2019-07-01 Thread Duncan Murdoch
On 01/07/2019 8:28 p.m., Duncan Murdoch wrote: On 01/07/2019 5:41 a.m., Marvin Kiene wrote: Additionally, the 'help.search()' always just gives the result: "No results found", for all of my students. Those students are probably using RStudio. This appears to be an incompatibility in the RStu

Re: [R] sd in aggregate and help.search/?? seem not to work as usual in latest version

2019-07-01 Thread Duncan Murdoch
On 01/07/2019 5:41 a.m., Marvin Kiene wrote: Additionally, the 'help.search()' always just gives the result: "No results found", for all of my students. Those students are probably using RStudio. This appears to be an incompatibility in the RStudio browser to a nearly unannounced (as far as

Re: [R] sd in aggregate and help.search/?? seem not to work as usual in latest version

2019-07-01 Thread Jim Lemon
Hi Marvin, One way to get around the problem with "sd" is to only process those columns of a data frame for which the variance is defined. It is an opportunity to show students how to write wrapper functions as well: sd_num<-function(x) return(ifelse(is.numeric(x),sd(x),NA)) df<-data.frame(group=

[R] sd in aggregate and help.search/?? seem not to work as usual in latest version

2019-07-01 Thread Marvin Kiene
Hello dear helpers, I am currently running a small R-crash course for beginners at my university, since I believe that there a far too few lectures about how to use R. Thereby, I showed the '??' or 'help.search()' function to the students as well as the 'aggregate()' function with 'FUN=sd'. T