Watts-College / cpp-528-spr-2022

https://watts-college.github.io/cpp-528-spr-2022/
0 stars 0 forks source link

Lab 3 Import::Here Error #10

Closed mrowland1 closed 2 years ago

mrowland1 commented 2 years ago

I went through all of the "Data Steps" instructions successfully but when I tried to run the import::here("clean_d", "tidy_up_data", "build_year", "RELEVANT_FILES", "obtain_crosswalk", "create_final_metadata_file",

notice the use of here::here() that points to the .R file

         # where all these R objects are created
         .from = here::here("data/labs/wk03/utilities.R"),
         .character_only = TRUE)

for the lab, it gave me the following error: "Error: Cannot assign name to different value in the given environment. Name already in use."

yukicruz commented 2 years ago

@mrowland1, try clearing your Global Environment within RStudio then restart R.

u12345 commented 2 years ago

@mrowland1

Clean the variables as shown in the page, run the script again https://www.geeksforgeeks.org/clear-the-console-and-the-environment-in-r-studio/

mrowland1 commented 2 years ago

That didn't do anything. It says the same thing.

yukicruz commented 2 years ago

In addition to the directions in the link that Ujitha posted to clear the console and environment, you can also try clicking on: Session > Restart R and Clear Output.

Then restart RStudio and your computer for further measure.

u12345 commented 2 years ago

@mrowland1,

Did you try to use the brush as shown in the attached file? rstudio.docx