Hi, gvim 7.2 does not come with a R indentation file. I tried the indentation file the following.
http://biostat.mc.vanderbilt.edu/wiki/Main/RVim But it still doesn't indent R files correctly. See an indented result below. Can somebody fix the bug in the indentation file for R and add it in future version of vim? Regards, Peng ##First read in the arguments listed at the command line args=(commandArgs(TRUE)) ##args is now a list of character vectors ## First check to see if arguments are passed. ## Then cycle through each element of the list and evaluate the expressions. if(length(args)!=1) { print("No arguments supplied.") } else{ string = args[[1]] } print(a*2) print(b*3) --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
