swirldev / swirl_courses

:mortar_board: A collection of interactive courses for the swirl R package.
http://swirlstats.com
Other
4.25k stars 7.25k forks source link

Error message in Exploratory Data Analysis/Clustering courses #151

Open sesean opened 9 years ago

sesean commented 9 years ago

Hello,

I am very new to R and github, and these courses have been a godsend. Thank You!

I downloaded the three different Clustering courses and I keep receiving this message when I try to open any of the lessons:

Error in file(con, "r") : invalid 'description' argument

| Leaving swirl now. Type swirl() to resume.

I looked through past comments on this error message, uninstalled the course, and then reinstalled but that did not work.

Any advice? Do you need more information? Any help will be appreciated.

WilCrofter commented 9 years ago

The error message says a file can't be opened for reading. This suggests an improper installation. Try reinstalling the course. (For more detail see the docs).

library(swirl)
install_from_swirl("Exploratory Data Analysis")
| Course installed successfully!

Now start swirl, choose Exploratory Data Analysis from the course menu and a clustering lesson from the lesson menu.

swirl()

| Welcome to swirl!

| Please sign in. If you've been here before, use the same name as you did then. If you are new, call yourself something unique.

What shall I call you? w

1: Exploratory Data Analysis
2: R Programming
3: Take me to the swirl course repository!

Selection: 1

| Please choose a lesson, or type 0 to return to course menu.

 1: Principles of Analytic Graphs   2: Exploratory Graphs              3: Graphics Devices in R           4: Plotting Systems                5: Base Plotting System         
 6: Lattice Plotting System         7: Working with Colors             8: GGPlot2 Part1                   9: GGPlot2 Part2                  10: GGPlot2 Extras               
11: Hierarchical Clustering        12: K Means Clustering             13: Dimension Reduction            14: Clustering Example             15: CaseStudy                  

Selection: 11

| Attemping to load lesson dependencies...

| Package ‘ggplot2’ loaded correctly!

| Package ‘fields’ loaded correctly!

| Package ‘jpeg’ loaded correctly!

| Package ‘datasets’ loaded correctly!

  |                                                                         |   0%

| Hierarchical_Clustering. (Slides for this and other Data Science courses may be
| found at github https://github.com/DataScienceSpecialization/courses/. If you
| care to use them, they must be downloaded as a zip file and viewed locally. This
| lesson corresponds to 04_ExploratoryAnalysis/hierarchicalClustering.)
sesean commented 9 years ago

Thank you so very much!

On Tue, Mar 31, 2015 at 8:10 AM, William R Bauer notifications@github.com wrote:

The error message says a file can't be opened for reading. This suggests an improper installation. Try reinstalling the course. (For more detail see the docs http://swirlstats.com/students.html).

library(swirl) install_from_swirl("Exploratory Data Analysis") | Course installed successfully!

Now start swirl, choose Exploratory Data Analysis from the course menu and a clustering lesson from the lesson menu.

swirl()

| Welcome to swirl!

| Please sign in. If you've been here before, use the same name as you did then. If you are new, call yourself something unique.

What shall I call you? w

1: Exploratory Data Analysis 2: R Programming 3: Take me to the swirl course repository!

Selection: 1

| Please choose a lesson, or type 0 to return to course menu.

1: Principles of Analytic Graphs 2: Exploratory Graphs 3: Graphics Devices in R 4: Plotting Systems 5: Base Plotting System 6: Lattice Plotting System 7: Working with Colors 8: GGPlot2 Part1 9: GGPlot2 Part2 10: GGPlot2 Extras 11: Hierarchical Clustering 12: K Means Clustering 13: Dimension Reduction 14: Clustering Example 15: CaseStudy

Selection: 11

| Attemping to load lesson dependencies...

| Package ‘ggplot2’ loaded correctly!

| Package ‘fields’ loaded correctly!

| Package ‘jpeg’ loaded correctly!

| Package ‘datasets’ loaded correctly!

| | 0%

| Hierarchical_Clustering. (Slides for this and other Data Science courses may be | found at github https://github.com/DataScienceSpecialization/courses/. If you | care to use them, they must be downloaded as a zip file and viewed locally. This | lesson corresponds to 04_ExploratoryAnalysis/hierarchicalClustering.)

— Reply to this email directly or view it on GitHub https://github.com/swirldev/swirl_courses/issues/151#issuecomment-88063183 .

mooncalfskb commented 7 years ago

Thank you!

MI-ayon commented 10 months ago

Selection: 1

| Please choose a lesson, or type 0 to return to course menu.

1: Principles of Analytic Graphs 2: Exploratory Graphs
3: Graphics Devices in R 4: Plotting Systems
5: Base Plotting System 6: Lattice Plotting System
7: Working with Colors 8: GGPlot2 Part1
9: GGPlot2 Part2 10: GGPlot2 Extras
11: Hierarchical Clustering 12: K Means Clustering
13: Dimension Reduction 14: Clustering Example
15: CaseStudy

Selection: 11

| Attempting to load lesson dependencies...

| Package ‘ggplot2’ loaded correctly!

| Package ‘fields’ loaded correctly!

| Package ‘jpeg’ loaded correctly!

| Package ‘datasets’ loaded correctly!

Error in mt[22:32, 1:6] : subscript out of bounds

| Leaving swirl now. Type swirl() to resume.

I am facing this error.