Re: [R] listing all files in a directory ending in ".xxx" in a script

2018-12-14 Thread J C Nash
Apologies for list noise. I just found a subtle typo so the command was different from what it appeared to be in the actual use-case. dir() seems to be working OK once that was fixed. JN Forwarded Message Subject: listing all files in a directory ending in ".xxx" in a script D

[R] listing all files in a directory ending in ".xxx" in a script

2018-12-14 Thread J C Nash
When in a console (I was in Rstudio) I can run dir("../provenance-of-rootfinding/", pattern="\\.Rmd") to list all Rmd files in the specified directory. However, when I try to run this in a script under Rscript --vanilla I don't get the files to list. Am I missing something obvious that I s

Re: [R] Need help with R studio

2018-12-14 Thread Madhavi Bhat
Thanks for the tip! On Fri, Dec 14, 2018 at 11:58 AM Jeff Newmiller wrote: > Looks fine to me, though you seem to be confused between what R is (on > topic in this mailing list) and what RStudio is (a fine software package > that relies on R but is not really on topic here). > > Do find the link

Re: [R] Need help with R studio

2018-12-14 Thread Bert Gunter
... and R GUI is an interactive and command driven language. This means you have to learn how how to use it like a programming language. Please spend some time with R tutorials to do this -- there are many on the web. ... or see here for a GUI interface to some of R's basic, but most widely used,

Re: [R] Need help with R studio

2018-12-14 Thread Jeff Newmiller
Looks fine to me, though you seem to be confused between what R is (on topic in this mailing list) and what RStudio is (a fine software package that relies on R but is not really on topic here). Do find the link in the footer below about posting in R-help and read it before posting again. On D

[R] Revolutions blog: November 2018 roundup

2018-12-14 Thread David Smith (CDA) via R-help
For more than 10 years, Microsoft staff and guests have written about R at the Revolutions blog (http://blog.revolutionanalytics.com) and every month I post a summary of articles from the previous month of particular interest to readers of r-help. In case you missed them, here are some articles re

[R] Plotting Very Large lat-lon data in x-y axes graph: SOLVED

2018-12-14 Thread Ogbos Okike
Dear Jim, Good news to me!! Welcome. I am fine. The code elegantly displayed the color. I also tried to adjust the line: draw.circle(lonmids[lon],latmids[lat],radius=sqrt(counts[lat,lon])/100, border=countcol[lat,lon],col=countcol[lat,lon]) in order to reduce the radius of the circle in order

Re: [R] [R studio] Plotting of line chart for each columns at 1 page

2018-12-14 Thread Jim Lemon
Hi Subhamitra, As before, I don't have your data, so I cannot run your code. Similarly, when you say the plot is looking unclear, I have almost no idea what that means in terms of a plot that I could see and possibly correct. Let's start at the top anyway. You set up an array of 20 plots, then plot