[ESS] ESS ignores roxygen configuration ess-roxy-tags-param?

Yihui Xie xie at yihui.name
Tue Aug 30 03:04:48 CEST 2011


Perfect! The SVN version worked. Thanks!

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Mon, Aug 29, 2011 at 2:43 PM, Henning Redestig
<henning.red at googlemail.com> wrote:
> Hi Yihui,
>
> this was related to an error that managed to pass the otherwise
> rigorous code quality control; try now with ess from svn.
>
> Best, Henning
>
> 2011/8/28 Yihui Xie <xie at yihui.name>:
>> Hi all,
>>
>> I see from the ess configuration that we can customize the list of
>> roxygen tags, so I added @noRd and @example to the list and saved to
>> .emacs like this:
>>
>>  '(ess-roxy-tags-noparam (quote ("export" "noRd")))
>>  '(ess-roxy-tags-param (quote ("author" "aliases" "concept" "examples"
>> "format" "keywords" "method" "exportMethod" "name" "note" "param"
>> "include" "references" "return" "seealso" "source" "docType" "title"
>> "TODO" "usage" "import" "exportClass" "exportPattern" "S3method"
>> "importFrom" "importClassesFrom" "importMethodsFrom" "useDynLib"
>> "rdname" "slot" "details" "description" "example")))
>>
>> but when I type in an R script like this
>>
>> ##' @name
>> ##' @noRd
>> ##' @export
>> ##' @examples
>> ##' @example
>>
>> the highlighting does not work for @noRd and @example.
>>
>> Is this an expected behavior of ESS or I missed anything? Thanks a lot!
>>
>> Regards,
>> Yihui
>> --
>> Yihui Xie <xieyihui at gmail.com>
>> Phone: 515-294-2465 Web: http://yihui.name
>> Department of Statistics, Iowa State University
>> 2215 Snedecor Hall, Ames, IA
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
>
>
>
> --
> /Henning
>



More information about the ESS-help mailing list