Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201919

Sourcing data into rstudio

$
0
0

My mentor and I ran through this code and now I need to find out how to access it from rstudio. Here's what he did:

load first Excel file containing sample IDs, and Iowa Gambling Task scores (latency, total gain);

assign input to data frame

full_rdoc_phenos = data.frame(fread("~/Google Drive/mac_storage/TWAS/rdoc/MergedRDoCData_3.15.18.csv"))

Here's what I'm getting:

full_rdoc_phenos = data.frame(fread("~/This PC/Desktop/Lab/OneDrive_3_11-17-2019/MergedRDoCData_3.15.18.csv")) Error in fread("~/This PC/Desktop/Lab/OneDrive_3_11-17-2019/MergedRDoCData_3.15.18.csv") : could not find function "fread"

What am I doing wrong here?


Viewing all articles
Browse latest Browse all 201919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>