psyc3400 icon indicating copy to clipboard operation
psyc3400 copied to clipboard

Loading .CSV

Open LindaMonterroso opened this issue 7 years ago • 3 comments

How do I load csv files into R studio cloud ??

LindaMonterroso avatar Oct 14 '18 04:10 LindaMonterroso

Can you specify which specific file you are referring to?

On Sun, Oct 14, 2018 at 12:12 AM LindaMonterroso [email protected] wrote:

How do I load csv files into R studio cloud ??

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CrumpLab/psyc3400/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/AHDBIM6yx8iMUTFepvFbxZyXgjdn6dmgks5ukrmfgaJpZM4Xa81O .

fahd09 avatar Oct 14 '18 04:10 fahd09

Lab 6 where it says "Load the data.table library. Then use the fread function and supply the web address to the file. Just like this. No downloading required."

LindaMonterroso avatar Oct 14 '18 23:10 LindaMonterroso

You can just run this cell

library(data.table)
all_data <- fread("https://raw.githubusercontent.com/CrumpLab/statisticsLab/master/data/MehrSongSpelke2016.csv")

this will automatically locate and load the file from the internet. You can check that the file is downloaded by checking if you see all_data in the environment variables.

Best

fahd09 avatar Oct 15 '18 20:10 fahd09