swirl_courses icon indicating copy to clipboard operation
swirl_courses copied to clipboard

Error in yaml.load: Invalid tag for scalar: int#base60

Open zoedsj opened this issue 6 years ago • 7 comments

In the Getting and Cleaning Data class on lesson 'Manipulating Data with dplyr, after loading the 'dplyr' package successfullly, there was a problem as shown in the screenshot below. i installed the course again but still couldn't deal with it. who can help me, thanks very much! screenshot

zoedsj avatar Mar 14 '18 11:03 zoedsj

I also encountered the same error. Checked comments of @viking at https://github.com/viking/r-yaml/issues/53 Later just edited the YAML file by adding quotation marks at respective places to make it acceptable. Please unzip the attached file and replace it at: ~Documents\R\R-3.4.4\library\swirl\Courses\Getting_and_Cleaning_Data\Manipulating_Data_with_dplyr lesson.zip

atalv avatar Apr 04 '18 14:04 atalv

got it ! thanks very much ^_^

zoedsj avatar Apr 10 '18 03:04 zoedsj

Hi I am completely new to R. Can you tell me what you mean by "adding quotation marks at respective places"? and when I downloaded "Getting and Cleaning Data" there is no folder where I can replace the file. How do I replace it?

Jaebane avatar Apr 14 '18 14:04 Jaebane

Thanks @atalv . Its working now.

@Jaebane if you are on mac. Open finder and press command+shift+g . Go to folder pop-up will open. you need to paste folder path which you can find in error message in R. For eg:

/Library/Frameworks/R.framework/Versions/3.4/Resources/library/swirl/Courses/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/

This is what i am getting . Your version maybe different so just check that path in error message.

After you press Go button. it wil take you that directory and you will find lesson.yaml file. You just need to replace with attached file as provided by atalv.

nitinanarwal avatar Apr 20 '18 19:04 nitinanarwal

This worked for me on a mac:

  1. download the lesson.zip from atalv
  2. unzip it to see a file called lesson.yaml
  3. In Finder: Go-->Go To Folder...
  4. then entered the following into the "Go to the folder dialog": ~/.R/packages/swirl/Courses/Getting_and_Cleaning_Data/Manipulating_Data_with_dplyr/
  5. the folder that opens has a lesson.yaml, replace it with the one from atalv

TonyMcode avatar Apr 27 '18 05:04 TonyMcode

By the way, this should be fixed in the latest version of the yaml package (2.1.19). It was released today so it may be a couple of days before mac and windows binaries are available from CRAN.

viking avatar May 01 '18 18:05 viking

I also encountered the same error. Checked comments of @viking at vubiostat/r-yaml#53 Later just edited the YAML file by adding quotation marks at respective places to make it acceptable. Please unzip the attached file and replace it at: ~Documents\R\R-3.4.4\library\swirl\Courses\Getting_and_Cleaning_Data\Manipulating_Data_with_dplyr lesson.zip

I replaced it with the file from archive and it didnt help((

noooo123456 avatar Sep 12 '22 10:09 noooo123456