Hi all, currently I cant access the code below:
data_file <- file.path(data_dir,sprintf('tutorial_d2_competition_network_sample.rds',firm_i,d))
nets.all <- readRDS(data_file)
Error in gzfile(file, "rb") : cannot open the connection
In addition: Warning message:
In gzfile(file, "rb") :
cannot open compressed file 'D:\<U+4EA4><U+5927>\THESIS\R_Git Executable/tutorial_d2_competition_network_sample.rds', probable reason 'Invalid argument'
len <- length(nets.all)
Error: object 'nets.all' not found
source(file.path(cb_data_dir,'amj_tutorial_cb_data_prep.R')) ## cb: CrunchBase dataframes object
Error in setwd(tmp_work_dir) : cannot change working directory
Hi, I have a question for ggplot2movies~
How do I create a new column and name it as"Class". At the same time, I want to determine in the "Class" column, if those columns "Action", "Animation", "Comedy", "Drama", "Documentary", "Romance", "Short" have "1" in the column, just fill in the column name in "Class".
(If two "1" appear in the same row of those columns, the final column will be dominant, which same likely as concept of priority)
How can I write it?