Skip to content

Commit

Permalink
Pass code to R stdin as list
Browse files Browse the repository at this point in the history
  • Loading branch information
jalvesaq committed May 16, 2016
1 parent ebb39c5 commit c67dfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/common_global.vim
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ function CheckNvimcomVersion()
endif

" The user libs directory may not exist yet if R was just upgraded
let slog = system('R --no-save', 'dir.create(Sys.getenv("R_LIBS_USER")[1L], showWarnings=FALSE, recursive=TRUE)')
let slog = system('R --no-save', ['dir.create(Sys.getenv("R_LIBS_USER")[1L], showWarnings=FALSE, recursive=TRUE)'])
if v:shell_error
call RWarningMsg(slog)
endif
Expand Down

0 comments on commit c67dfb9

Please sign in to comment.