Skip to content

ess-set-working-directory with unescaped values of default-directory cause prematurely terminated strings, leading to unexpected symbol errors #1327

Description

@bryce-carson
> setwd('/home/bryce/src/echo/ECHO 'ChambeR' package/')
Error: unexpected symbol in "setwd('/home/bryce/src/echo/ECHO 'ChambeR"

The buffer-local value of default-directory used in (ess-set-working-directory default-directory), in ess-r-initialize does not account for paths with quotation marks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions