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

Error in editor(file = file, title = title) #446

Closed
TGeurts opened this issue Apr 7, 2016 · 2 comments
Closed

Error in editor(file = file, title = title) #446

TGeurts opened this issue Apr 7, 2016 · 2 comments

Comments

@TGeurts
Copy link

TGeurts commented Apr 7, 2016

I'm currently following the swirl course "Regression Models". In the middel of my course I get the error

Error in editor(file = file, title = title) : 
  argument "name" is missing, with no default

Leaving swirl now. Type swirl() to resume.

I've done several other modules without any problem. I am using RStudio Version 0.99.893 under Windows 7 (64-bit) Professional and R version 3.2.4 Revised (2016-03-16 r70336) "Very secure dishes".
I have uninstall all lessons, removed the swirl package. reinstalled the swirl package, installed the course. Problem persists.

Point in the course I get the problem:

|========================================================                                                        |  50%

| Now extract the slope from fit$coef and put it in the variable ols.slope; the slope is the second element in the
| fit$coef vector, fit$coef[2].

> ols.slope <-fit$coef[2]

| You're the best!

  |============================================================                                                    |  53%

| Now we'll show you some R code which generates the left and right sides of this equation.  Take a moment to look it
| over. We've formed two 6-long vectors of variations, one for the slope and one for the intercept. Then we have two
| "for" loops to generate the two sides of the equation.

Error in editor(file = file, title = title) : 
  argument "name" is missing, with no default

Any ideas how to fix this?

Thanks,
Ton.

@seankross
Copy link
Member

See #434
On Thu, Apr 7, 2016 at 9:57 AM Ton Geurts notifications@github.com wrote:

I'm currently following the swirl course "Regression Models". In the
middel of my course I get the error

Error in editor(file = file, title = title) :
argument "name" is missing, with no default

Leaving swirl now. Type swirl() to resume.

I've done several other modules without any problem. I am using RStudio
Version 0.99.893 under Windows 7 (64-bit) Professional and R version
3.2.4 Revised (2016-03-16 r70336) "Very secure dishes".
I have uninstall all lessons, removed the swirl package. reinstalled the
swirl package, installed the course. Problem persists.

Point in the course I get the problem:

|======================================================== | 50%

| Now extract the slope from fit$coef and put it in the variable ols.slope; the slope is the second element in the
| fit$coef vector, fit$coef[2].

ols.slope <-fit$coef[2]

| You're the best!

|============================================================ | 53%

| Now we'll show you some R code which generates the left and right sides of this equation. Take a moment to look it
| over. We've formed two 6-long vectors of variations, one for the slope and one for the intercept. Then we have two
| "for" loops to generate the two sides of the equation.

Error in editor(file = file, title = title) :
argument "name" is missing, with no default

Any ideas how to fix this?

Thanks,
Ton.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#446

@TGeurts
Copy link
Author

TGeurts commented Apr 7, 2016

Thanks for the link to the solution, Sean.

Before you start swirl in RStudio, try entering options(editor = "internal"). Please let me know if that improves your situation.

It works for me as well.

Thanks,
Ton

@TGeurts TGeurts closed this as completed Apr 7, 2016
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

2 participants