Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better syntax highlighting? #18

Closed
rhinopotamus opened this issue Nov 15, 2018 · 2 comments
Closed

Better syntax highlighting? #18

rhinopotamus opened this issue Nov 15, 2018 · 2 comments

Comments

@rhinopotamus
Copy link
Contributor

I'm noticing that students, like, really don't understand how to "chunk up" R code into meaningful pieces. I wonder if better syntax highlighting would help. In particular, the only things that currently get a different color in code chunks are string literals and boolean literals, and also in particular, functions don't -- so I don't think students see what I mean when I say "the chisq.test function" or whatever.

A couple of thoughts:

@VectorPosse
Copy link
Owner

VectorPosse commented Jan 11, 2019

I won't have time to look into this now, but possibly this summer.

@VectorPosse
Copy link
Owner

There's a cost/benefit trade-off here. I've been reluctant to make changes to global settings in RStudio Server. When we install new versions (or especially when we have to re-install things on the server), sometimes these changes revert back to their defaults. Even when maintaining a list of all the settings we want to change, it gets onerous to try to check them all the time to make sure they're still working. I also try to leave the settings alone so that they match what a user might see if they install RStudio on their own machine. While that isn't common in DATA 220 (and in fact we discourage it), I am always thinking ahead to when I get around to publishing this as a book online, so I don't want anything to be too specific to our Westminster setup.

So I'm putting this one on hold for now. I'm willing to re-visit in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants