@kumeS san, I resume a tutorial titled above.
In section 3.5.2 'Individual network diagrams', the programme shows a message below.
Warning message in dir.create(outputDir):
"cannot create dir 'agVisNetwork_急性リンパ性白血病.wd:Q180664_221209_files', reason 'Invalid argument'"
Warning message in dir.create(target_dir):
"cannot create dir 'agVisNetwork_急性リンパ性白血病.wd:Q180664_221209_files\htmlwidgets-1.5.4', reason 'Invalid argument'"
Error in normalizePath(path.expand(path), winslash, mustWork): path[1]="agVisNetwork_急性リンパ性白血病.wd:Q180664_221209_files/htmlwidgets-1.5.4": ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。
Traceback:
- agVisNetwork(Graph = res5[[n]], Selected = Lab00, Browse = FALSE,
. Output = TRUE, FilePath = FileName)
- VIS %>% networkD3::saveNetwork(file = FilePath)
- networkD3::saveNetwork(., file = FilePath)
- htmlwidgets::saveWidget(network, file, selfcontained)
- pandoc_save_markdown(html, file = file, libdir = libdir, background = background,
. title = title)
- lapply(rendered$dependencies, function(dep) {
. dep <- htmltools::copyDependencyToDir(dep, libdir, FALSE)
. dep <- htmltools::makeDependencyRelative(dep, dir, FALSE)
. dep
. })
- FUN(X[[i]], ...)
- htmltools::copyDependencyToDir(dep, libdir, FALSE)
- normalizePath(target_dir, "/", TRUE)
Well, I think that in Windows OS, ":" could not be used in directory or folder or file name.
(so that, in macOS, the programme is done. But another [WARNING] messages appear. That is "Deprecated: --self-contained. use --embed-resources --standalone".)
Then, could you please fix the probelms.
Thank you for your kindness.