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

Blank script in Function lesson #702

Closed
togogh opened this issue May 10, 2018 · 4 comments
Closed

Blank script in Function lesson #702

togogh opened this issue May 10, 2018 · 4 comments

Comments

@togogh
Copy link

togogh commented May 10, 2018

In Functions, supposed to be seeing the script of my first function. boring_function.R opens, but is blank. No idea how to progress with the lesson from here. Screenshot below.

image

@sf-rocha
Copy link

Hi Interseksyon,

Have you found a solution to this problem? I'm having a similar issue and cannot progress with the course. If I type in skip() then I get the solution but this isn't quite ideal..

Thanks

@togogh
Copy link
Author

togogh commented Nov 17, 2018 via email

@KaticaR
Copy link

KaticaR commented Jan 15, 2020

I also have the same problem, but I was just skip() - ing the questions with the scripts.
Don't understand why no one have solved them.

@togogh
Copy link
Author

togogh commented Nov 8, 2021

Hello everyone! Jumping back in to say I've figured out a fix. Once boring_function opens, click File > Reopen with Encoding > Select UTF-8 and check "Set as default encoding for source files". Now your scripts should load properly.

Blank files are apparently a common issue in Rstudio, and I found the fix here: rstudio/rstudio#1623

@togogh togogh closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants