The code comes out like a text in my R markdown file insted of a data set. Why is this happening? When I run ths code in my console, it works but it doesn't show on the makdown file.
Hi @Ibifubara_Orabere, try to check the correct path of theses files.
For set the work directory you could use setwd(dir ='path of directoy').
Other way is put the full path of each object with file.choose()
When I try to knit it, it comes out like a text and when i try to use the head(), an error message says "no object like daily_activity found".
I used getwd() to find out my working directory and gives me "/cloud/project". I have also used file.choose() to find the correct path of my files. The result is;
"/cloud/project/dailyActivity_merged.csv"
"/cloud/project/sleepDay_merged.csv"
"/cloud/project/weightLogInfo_merged.csv"
I changed the code to;