{
  "_id": "6a18c39eacfb0bcc41dcb2d8",
  "Package": "rstudioapi",
  "Title": "Safely Access the RStudio API",
  "Description": "Access the RStudio API (if available) and provide\ninformative error messages when it's not.",
  "Version": "0.18.0.9000",
  "Authors@R": "c(\nperson(\"Kevin\", \"Ushey\", role = c(\"aut\", \"cre\"), email = \"kevin@rstudio.com\"),\nperson(\"JJ\", \"Allaire\", role = c(\"aut\"), email = \"jj@posit.co\"),\nperson(\"Hadley\", \"Wickham\", role = c(\"aut\"), email = \"hadley@posit.co\"),\nperson(\"Gary\", \"Ritchie\", role = c(\"aut\"), email = \"gary@posit.co\"),\nperson(family = \"RStudio\", role = \"cph\")\n)",
  "Maintainer": "Kevin Ushey <kevin@rstudio.com>",
  "License": "MIT + file LICENSE",
  "URL": "https://rstudio.github.io/rstudioapi/,\nhttps://github.com/rstudio/rstudioapi",
  "BugReports": "https://github.com/rstudio/rstudioapi/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Repository": "https://rstudio.r-universe.dev",
  "Date/Publication": "2026-05-28 21:56:05 UTC",
  "RemoteUrl": "https://github.com/rstudio/rstudioapi",
  "RemoteRef": "HEAD",
  "RemoteSha": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 22:34:35 UTC",
    "User": "root"
  },
  "Author": "Kevin Ushey [aut, cre],\nJJ Allaire [aut],\nHadley Wickham [aut],\nGary Ritchie [aut],\nRStudio [cph]",
  "MD5sum": "244040e7d4d53f791a9fc8cf01fb361f",
  "_user": "rstudio",
  "_type": "src",
  "_file": "rstudioapi_0.18.0.9000.tar.gz",
  "_fileid": "4f12ab7c4065811e2d607caf52e5cca74eda085c507df4e3e98c66edc540473f",
  "_filesize": 404717,
  "_sha256": "4f12ab7c4065811e2d607caf52e5cca74eda085c507df4e3e98c66edc540473f",
  "_created": "2026-05-28T22:34:35.000Z",
  "_published": "2026-05-28T22:37:18.800Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78402014289,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7278939982"
    },
    {
      "job": 78402014295,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278939991"
    },
    {
      "job": 78402014282,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7278929470"
    },
    {
      "job": 78402014285,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278928651"
    },
    {
      "job": 78401508371,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278905816"
    },
    {
      "job": 78402014249,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278931017"
    },
    {
      "job": 78402014312,
      "time": 72,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7278926075"
    },
    {
      "job": 78402014273,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7278926954"
    },
    {
      "job": 78402014286,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278933486"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rstudio/rstudioapi",
  "_commit": {
    "id": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
    "author": "Kevin Ushey <kevinushey@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #327 from rstudio/bugfix/getmode-old-rstudio\n\nfix getMode() fallback for old rstudio versions",
    "time": 1780005365
  },
  "_maintainer": {
    "name": "Kevin Ushey",
    "email": "kevin@rstudio.com",
    "login": "kevinushey",
    "description": "",
    "uuid": 1976582
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "clipr",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "rstudio",
  "_selfowned": true,
  "_usedby": 2250,
  "_updates": [
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.18.0",
      "date": "2026-01-16"
    }
  ],
  "_stars": 174,
  "_contributors": [
    {
      "user": "kevinushey",
      "count": 221,
      "uuid": 1976582
    },
    {
      "user": "jjallaire",
      "count": 43,
      "uuid": 104391
    },
    {
      "user": "gtritchie",
      "count": 37,
      "uuid": 10569626
    },
    {
      "user": "jmcphers",
      "count": 32,
      "uuid": 470418
    },
    {
      "user": "zachhannum",
      "count": 30,
      "uuid": 6120081
    },
    {
      "user": "javierluraschi",
      "count": 26,
      "uuid": 3478847
    },
    {
      "user": "hadley",
      "count": 20,
      "uuid": 4196
    },
    {
      "user": "jgutman",
      "count": 18,
      "uuid": 7817881
    },
    {
      "user": "melissa-barca",
      "count": 10,
      "uuid": 5323711
    },
    {
      "user": "andrie",
      "count": 8,
      "uuid": 479998
    },
    {
      "user": "mariasemple",
      "count": 5,
      "uuid": 37987486
    },
    {
      "user": "ashesitr",
      "count": 5,
      "uuid": 2363178
    },
    {
      "user": "jennybc",
      "count": 4,
      "uuid": 599454
    },
    {
      "user": "romainfrancois",
      "count": 2,
      "uuid": 2625526
    },
    {
      "user": "olivroy",
      "count": 2,
      "uuid": 52606734
    },
    {
      "user": "atheriel",
      "count": 2,
      "uuid": 1448326
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    },
    {
      "user": "randyzwitch",
      "count": 1,
      "uuid": 2762787
    },
    {
      "user": "salim-b",
      "count": 1,
      "uuid": 20040931
    },
    {
      "user": "yihui",
      "count": 1,
      "uuid": 163582
    },
    {
      "user": "mutterer",
      "count": 1,
      "uuid": 711344
    },
    {
      "user": "shrektan",
      "count": 1,
      "uuid": 8368933
    },
    {
      "user": "trestletech",
      "count": 1,
      "uuid": 1593639
    }
  ],
  "_userbio": {
    "uuid": 513560,
    "type": "organization",
    "name": "RStudio"
  },
  "_downloads": {
    "count": 803512,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rstudioapi"
  },
  "_mentions": 5,
  "_devurl": "https://github.com/rstudio/rstudioapi",
  "_pkgdown": "https://rstudio.github.io/rstudioapi/",
  "_searchresults": 5136,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rstudioapi.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rstudio/rstudioapi",
  "_realowner": "rstudio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2014-03-27"
    },
    {
      "version": "0.2",
      "date": "2014-12-30"
    },
    {
      "version": "0.3.1",
      "date": "2015-04-06"
    },
    {
      "version": "0.4.0",
      "date": "2015-12-09"
    },
    {
      "version": "0.5",
      "date": "2016-01-24"
    },
    {
      "version": "0.6",
      "date": "2016-06-27"
    },
    {
      "version": "0.7",
      "date": "2017-09-07"
    },
    {
      "version": "0.8",
      "date": "2018-10-02"
    },
    {
      "version": "0.9.0",
      "date": "2019-01-09"
    },
    {
      "version": "0.10",
      "date": "2019-04-08"
    },
    {
      "version": "0.11",
      "date": "2020-02-08"
    },
    {
      "version": "0.12",
      "date": "2020-11-11"
    },
    {
      "version": "0.13",
      "date": "2020-11-12"
    },
    {
      "version": "0.14",
      "date": "2022-08-22"
    },
    {
      "version": "0.15.0",
      "date": "2023-07-07"
    },
    {
      "version": "0.16.0",
      "date": "2024-03-24"
    },
    {
      "version": "0.17.0",
      "date": "2024-10-16"
    },
    {
      "version": "0.17.1",
      "date": "2024-10-22"
    },
    {
      "version": "0.18.0",
      "date": "2026-01-16"
    }
  ],
  "_exports": [
    "addTheme",
    "applyTheme",
    "as.document_position",
    "as.document_range",
    "askForPassword",
    "askForSecret",
    "bugReport",
    "buildToolsCheck",
    "buildToolsExec",
    "buildToolsInstall",
    "callFun",
    "convertTheme",
    "createProjectTemplate",
    "dictionariesPath",
    "document_position",
    "document_range",
    "documentClose",
    "documentId",
    "documentNew",
    "documentOpen",
    "documentPath",
    "documentSave",
    "documentSaveAll",
    "executeCommand",
    "filesPaneNavigate",
    "findFun",
    "findOAuthIntegration",
    "getActiveDocumentContext",
    "getActiveProject",
    "getConsoleEditorContext",
    "getDelegatedAzureToken",
    "getIdentityToken",
    "getMode",
    "getOAuthCredentials",
    "getOAuthIntegration",
    "getOAuthIntegrations",
    "getPersistentValue",
    "getRStudioPackageDependencies",
    "getSourceEditorContext",
    "getThemeInfo",
    "getThemes",
    "getVersion",
    "hasColorConsole",
    "hasFun",
    "highlightUi",
    "initializeProject",
    "insertText",
    "is.document_position",
    "is.document_range",
    "isAvailable",
    "isBackgroundJob",
    "isJob",
    "isWorkbenchJob",
    "jobAdd",
    "jobAddOutput",
    "jobAddProgress",
    "jobGetState",
    "jobList",
    "jobRemove",
    "jobRunScript",
    "jobSetProgress",
    "jobSetState",
    "jobSetStatus",
    "launcherAvailable",
    "launcherConfig",
    "launcherContainer",
    "launcherControlJob",
    "launcherGetInfo",
    "launcherGetJob",
    "launcherGetJobs",
    "launcherHostMount",
    "launcherNfsMount",
    "launcherPlacementConstraint",
    "launcherResourceLimit",
    "launcherSubmitJob",
    "launcherSubmitR",
    "modifyRange",
    "navigateToFile",
    "openProject",
    "previewRd",
    "previewSql",
    "primary_selection",
    "readPreference",
    "readRStudioPreference",
    "registerChunkCallback",
    "registerCommandCallback",
    "registerCommandStreamCallback",
    "removeTheme",
    "restartSession",
    "savePlotAsImage",
    "selectDirectory",
    "selectFile",
    "selectionGet",
    "selectionSet",
    "sendToConsole",
    "setCursorPosition",
    "setDocumentContents",
    "setGhostText",
    "setPersistentValue",
    "setSelectionRanges",
    "showDialog",
    "showEditSuggestion",
    "showPrompt",
    "showQuestion",
    "sourceMarkers",
    "systemUsername",
    "terminalActivate",
    "terminalBuffer",
    "terminalBusy",
    "terminalClear",
    "terminalContext",
    "terminalCreate",
    "terminalExecute",
    "terminalExitCode",
    "terminalKill",
    "terminalList",
    "terminalRunning",
    "terminalSend",
    "terminalVisible",
    "translateLocalUrl",
    "unregisterChunkCallback",
    "unregisterCommandCallback",
    "updateDialog",
    "userDictionariesPath",
    "userIdentity",
    "verifyAvailable",
    "versionInfo",
    "viewer",
    "writePreference",
    "writeRStudioPreference"
  ],
  "_help": [
    {
      "page": "addTheme",
      "title": "Add a Custom Editor Theme",
      "topics": [
        "addTheme"
      ]
    },
    {
      "page": "applyTheme",
      "title": "Apply an Editor Theme to RStudio",
      "topics": [
        "applyTheme"
      ]
    },
    {
      "page": "askForPassword",
      "title": "Ask the user for a password interactively",
      "topics": [
        "askForPassword"
      ]
    },
    {
      "page": "askForSecret",
      "title": "Prompt user for secret",
      "topics": [
        "askForSecret"
      ]
    },
    {
      "page": "bugReport",
      "title": "File an RStudio Bug Report",
      "topics": [
        "bugReport"
      ]
    },
    {
      "page": "build-tools",
      "title": "Build Tools",
      "topics": [
        "build-tools",
        "buildToolsCheck",
        "buildToolsExec",
        "buildToolsInstall"
      ]
    },
    {
      "page": "callFun",
      "title": "Call an RStudio API function",
      "topics": [
        "callFun"
      ]
    },
    {
      "page": "chunk-callbacks",
      "title": "Register and Unregister a Chunk Callback",
      "topics": [
        "chunk-callbacks",
        "registerChunkCallback",
        "unregisterChunkCallback"
      ]
    },
    {
      "page": "convertTheme",
      "title": "Convert a tmTheme to an RStudio Theme",
      "topics": [
        "convertTheme"
      ]
    },
    {
      "page": "createProjectTemplate",
      "title": "Create a Project Template",
      "topics": [
        "createProjectTemplate"
      ]
    },
    {
      "page": "dictionaries",
      "title": "Interact with RStudio's Dictionaries",
      "topics": [
        "dictionaries",
        "dictionariesPath",
        "userDictionariesPath"
      ]
    },
    {
      "page": "document_position",
      "title": "Create a Document Position",
      "topics": [
        "as.document_position",
        "document_position",
        "is.document_position"
      ]
    },
    {
      "page": "document_range",
      "title": "Create a Range",
      "topics": [
        "as.document_range",
        "document_range",
        "is.document_range"
      ]
    },
    {
      "page": "executeCommand",
      "title": "Execute Command",
      "topics": [
        "executeCommand"
      ]
    },
    {
      "page": "file-dialogs",
      "title": "Select a file / folder",
      "topics": [
        "file-dialogs",
        "selectDirectory",
        "selectFile"
      ]
    },
    {
      "page": "filesPaneNavigate",
      "title": "Navigate to a Directory in the Files Pane",
      "topics": [
        "filesPaneNavigate"
      ]
    },
    {
      "page": "findOAuthIntegration",
      "title": "Find OAuth Integration by Criteria",
      "topics": [
        "findOAuthIntegration"
      ]
    },
    {
      "page": "getActiveProject",
      "title": "Retrieve path to active RStudio project",
      "topics": [
        "getActiveProject"
      ]
    },
    {
      "page": "getDelegatedAzureToken",
      "title": "OAuth2 Tokens for Delegated Azure Resources",
      "topics": [
        "getDelegatedAzureToken"
      ]
    },
    {
      "page": "getIdentityToken",
      "title": "Get the User's Identity Token",
      "topics": [
        "getIdentityToken"
      ]
    },
    {
      "page": "getMode",
      "title": "Report whether RStudio Desktop or RStudio Server is in use",
      "topics": [
        "getMode"
      ]
    },
    {
      "page": "getOAuthCredentials",
      "title": "Retrieve OAuth Credentials for Integrations",
      "topics": [
        "getOAuthCredentials"
      ]
    },
    {
      "page": "getOAuthIntegration",
      "title": "Get a Specific OAuth Integration",
      "topics": [
        "getOAuthIntegration"
      ]
    },
    {
      "page": "getOAuthIntegrations",
      "title": "Get OAuth Integrations",
      "topics": [
        "getOAuthIntegrations"
      ]
    },
    {
      "page": "getRStudioPackageDependencies",
      "title": "Get RStudio Package Dependencies",
      "topics": [
        "getRStudioPackageDependencies"
      ]
    },
    {
      "page": "getThemeInfo",
      "title": "Retrieve Themes",
      "topics": [
        "getThemeInfo"
      ]
    },
    {
      "page": "getThemes",
      "title": "Get Theme List",
      "topics": [
        "getThemes"
      ]
    },
    {
      "page": "getVersion",
      "title": "Determine the version of RStudio",
      "topics": [
        "getVersion"
      ]
    },
    {
      "page": "hasColorConsole",
      "title": "Check if console supports ANSI color escapes.",
      "topics": [
        "hasColorConsole"
      ]
    },
    {
      "page": "hasFun",
      "title": "Exists/get for RStudio functions",
      "topics": [
        "findFun",
        "hasFun"
      ]
    },
    {
      "page": "highlightUi",
      "title": "Highlight UI Elements within the RStudio IDE",
      "topics": [
        "highlightUi"
      ]
    },
    {
      "page": "isAvailable",
      "title": "Check if RStudio is running",
      "topics": [
        "isAvailable",
        "verifyAvailable"
      ]
    },
    {
      "page": "isJob",
      "title": "Detect RStudio Jobs",
      "topics": [
        "isBackgroundJob",
        "isJob",
        "isWorkbenchJob"
      ]
    },
    {
      "page": "jobAdd",
      "title": "Add a Job",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobAdd"
      ]
    },
    {
      "page": "jobAddOutput",
      "title": "Add Background Job Output",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobAddOutput"
      ]
    },
    {
      "page": "jobAddProgress",
      "title": "Add Background Job Progress",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobAddProgress"
      ]
    },
    {
      "page": "jobGetState",
      "title": "Get Background Job State",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobGetState"
      ]
    },
    {
      "page": "jobList",
      "title": "List Background Jobs",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobList"
      ]
    },
    {
      "page": "jobRemove",
      "title": "Remove a Background Job",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobRemove"
      ]
    },
    {
      "page": "jobRunScript",
      "title": "Run R Script As Background Job",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobRunScript"
      ]
    },
    {
      "page": "jobSetProgress",
      "title": "Set Background Job Progress",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobSetProgress"
      ]
    },
    {
      "page": "jobSetState",
      "title": "Set Background Job State",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobSetState"
      ]
    },
    {
      "page": "jobSetStatus",
      "title": "Set Background Job Status",
      "concept": [
        "jobs"
      ],
      "topics": [
        "jobSetStatus"
      ]
    },
    {
      "page": "launcherAvailable",
      "title": "Check if Workbench Launcher is Available",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherAvailable"
      ]
    },
    {
      "page": "launcherConfig",
      "title": "Define a Workbench Launcher Configuration",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherConfig"
      ]
    },
    {
      "page": "launcherContainer",
      "title": "Define a Workbench Launcher Container",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherContainer"
      ]
    },
    {
      "page": "launcherControlJob",
      "title": "Interact with (Control) a Workbench Job",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherControlJob"
      ]
    },
    {
      "page": "launcherGetInfo",
      "title": "Retrieve Workbench Launcher Information",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherGetInfo"
      ]
    },
    {
      "page": "launcherGetJob",
      "title": "Retrieve Workbench Job Information",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherGetJob"
      ]
    },
    {
      "page": "launcherGetJobs",
      "title": "Retrieve Workbench Job Information",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherGetJobs"
      ]
    },
    {
      "page": "launcherHostMount",
      "title": "Define a Workbench Launcher Host Mount",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherHostMount"
      ]
    },
    {
      "page": "launcherNfsMount",
      "title": "Define a Workbench Launcher NFS Mount",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherNfsMount"
      ]
    },
    {
      "page": "launcherPlacementConstraint",
      "title": "Define a Workbench Launcher Placement Constraint",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherPlacementConstraint"
      ]
    },
    {
      "page": "launcherResourceLimit",
      "title": "Define a Workbench Launcher Resource Limit",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherResourceLimit"
      ]
    },
    {
      "page": "launcherSubmitJob",
      "title": "Submit a Workbench Job",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherSubmitJob"
      ]
    },
    {
      "page": "launcherSubmitR",
      "title": "Execute an R Script as a Workbench Job",
      "concept": [
        "job-launcher functionality"
      ],
      "topics": [
        "launcherSubmitR"
      ]
    },
    {
      "page": "navigateToFile",
      "title": "Navigate to file",
      "topics": [
        "navigateToFile"
      ]
    },
    {
      "page": "persistent-values",
      "title": "Persistent keys and values",
      "topics": [
        "getPersistentValue",
        "persistent-values",
        "setPersistentValue"
      ]
    },
    {
      "page": "previewRd",
      "title": "Preview an Rd topic in the Help pane",
      "topics": [
        "previewRd"
      ]
    },
    {
      "page": "previewSql",
      "title": "Preview SQL statement",
      "topics": [
        "previewSql"
      ]
    },
    {
      "page": "primary_selection",
      "title": "Extract the Primary Selection",
      "topics": [
        "primary_selection"
      ]
    },
    {
      "page": "projects",
      "title": "Open a project in RStudio",
      "topics": [
        "initializeProject",
        "openProject",
        "projects"
      ]
    },
    {
      "page": "readPreference",
      "title": "Read Preference",
      "topics": [
        "readPreference"
      ]
    },
    {
      "page": "readRStudioPreference",
      "title": "Read RStudio Preference",
      "topics": [
        "readRStudioPreference"
      ]
    },
    {
      "page": "registerCommandCallback",
      "title": "Register Command Callback",
      "topics": [
        "registerCommandCallback"
      ]
    },
    {
      "page": "registerCommandStreamCallback",
      "title": "Register Command Stream Callback",
      "topics": [
        "registerCommandStreamCallback"
      ]
    },
    {
      "page": "removeTheme",
      "title": "Remove a custom theme from RStudio.",
      "topics": [
        "removeTheme"
      ]
    },
    {
      "page": "restartSession",
      "title": "Restart the R Session",
      "topics": [
        "restartSession"
      ]
    },
    {
      "page": "rstudio-documents",
      "title": "Interact with Documents open in RStudio",
      "topics": [
        "documentClose",
        "documentId",
        "documentNew",
        "documentOpen",
        "documentPath",
        "documentSave",
        "documentSaveAll",
        "insertText",
        "modifyRange",
        "rstudio-documents",
        "setCursorPosition",
        "setDocumentContents",
        "setSelectionRanges"
      ]
    },
    {
      "page": "rstudio-editors",
      "title": "Retrieve Information about an RStudio Editor",
      "topics": [
        "getActiveDocumentContext",
        "getConsoleEditorContext",
        "getSourceEditorContext",
        "rstudio-editors"
      ]
    },
    {
      "page": "savePlotAsImage",
      "title": "Save active RStudio plot image",
      "topics": [
        "savePlotAsImage"
      ]
    },
    {
      "page": "selections",
      "title": "Manipulate User Selections in the RStudio IDE",
      "topics": [
        "selectionGet",
        "selections",
        "selectionSet"
      ]
    },
    {
      "page": "sendToConsole",
      "title": "Send code to the R console",
      "topics": [
        "sendToConsole"
      ]
    },
    {
      "page": "setGhostText",
      "title": "Set ghost text",
      "topics": [
        "setGhostText"
      ]
    },
    {
      "page": "showDialog",
      "title": "Show Dialog Box",
      "topics": [
        "showDialog"
      ]
    },
    {
      "page": "showEditSuggestion",
      "title": "Show an Edit Suggestion in RStudio",
      "topics": [
        "showEditSuggestion"
      ]
    },
    {
      "page": "showPrompt",
      "title": "Show Prompt Dialog Box",
      "topics": [
        "showPrompt"
      ]
    },
    {
      "page": "showQuestion",
      "title": "Show Question Dialog Box",
      "topics": [
        "showQuestion"
      ]
    },
    {
      "page": "sourceMarkers",
      "title": "Display source markers",
      "topics": [
        "sourceMarkers"
      ]
    },
    {
      "page": "systemUsername",
      "title": "Get System Username",
      "topics": [
        "systemUsername"
      ]
    },
    {
      "page": "terminalActivate",
      "title": "Activate Terminal",
      "topics": [
        "terminalActivate"
      ]
    },
    {
      "page": "terminalBuffer",
      "title": "Get Terminal Buffer",
      "topics": [
        "terminalBuffer"
      ]
    },
    {
      "page": "terminalBusy",
      "title": "Is Terminal Busy",
      "topics": [
        "terminalBusy"
      ]
    },
    {
      "page": "terminalClear",
      "title": "Clear Terminal Buffer",
      "topics": [
        "terminalClear"
      ]
    },
    {
      "page": "terminalContext",
      "title": "Retrieve Information about RStudio Terminals",
      "topics": [
        "terminalContext"
      ]
    },
    {
      "page": "terminalCreate",
      "title": "Create a Terminal",
      "topics": [
        "terminalCreate"
      ]
    },
    {
      "page": "terminalExecute",
      "title": "Execute Command",
      "topics": [
        "terminalExecute"
      ]
    },
    {
      "page": "terminalExitCode",
      "title": "Terminal Exit Code",
      "topics": [
        "terminalExitCode"
      ]
    },
    {
      "page": "terminalKill",
      "title": "Kill Terminal",
      "topics": [
        "terminalKill"
      ]
    },
    {
      "page": "terminalList",
      "title": "Get All Terminal Ids",
      "topics": [
        "terminalList"
      ]
    },
    {
      "page": "terminalRunning",
      "title": "Is Terminal Running",
      "topics": [
        "terminalRunning"
      ]
    },
    {
      "page": "terminalSend",
      "title": "Send Text to a Terminal",
      "topics": [
        "terminalSend"
      ]
    },
    {
      "page": "terminalVisible",
      "title": "Get Visible Terminal",
      "topics": [
        "terminalVisible"
      ]
    },
    {
      "page": "translateLocalUrl",
      "title": "Translate Local URL",
      "topics": [
        "translateLocalUrl"
      ]
    },
    {
      "page": "unregisterCommandCallback",
      "title": "Unregister Command Callback",
      "topics": [
        "unregisterCommandCallback"
      ]
    },
    {
      "page": "updateDialog",
      "title": "Updates a Dialog Box",
      "topics": [
        "updateDialog"
      ]
    },
    {
      "page": "userIdentity",
      "title": "Get User Identity",
      "topics": [
        "userIdentity"
      ]
    },
    {
      "page": "versionInfo",
      "title": "RStudio version information",
      "topics": [
        "versionInfo"
      ]
    },
    {
      "page": "viewer",
      "title": "View local web content within RStudio",
      "topics": [
        "viewer"
      ]
    },
    {
      "page": "writePreference",
      "title": "Write Preference",
      "topics": [
        "writePreference"
      ]
    },
    {
      "page": "writeRStudioPreference",
      "title": "Write RStudio Preference",
      "topics": [
        "writeRStudioPreference"
      ]
    }
  ],
  "_pkglogo": "https://github.com/rstudio/rstudioapi/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rstudio/rstudioapi/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "document-manipulation.Rmd",
      "filename": "document-manipulation.html",
      "title": "Document Manipulation",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-07-20 18:44:22",
      "modified": "2017-08-24 17:22:03",
      "commits": 2
    },
    {
      "source": "dialogs.Rmd",
      "filename": "dialogs.html",
      "title": "File Dialogs",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-07-20 19:11:19",
      "modified": "2017-08-24 17:22:03",
      "commits": 2
    },
    {
      "source": "r-session.Rmd",
      "filename": "r-session.html",
      "title": "Interact with the R Session",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Detecting RStudio",
        "Session Interaction",
        "Running at Startup"
      ],
      "created": "2017-07-20 19:11:19",
      "modified": "2025-10-03 01:13:41",
      "commits": 5
    },
    {
      "source": "projects.Rmd",
      "filename": "projects.html",
      "title": "Interacting with RStudio Projects",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-07-20 19:11:19",
      "modified": "2017-07-20 19:11:19",
      "commits": 1
    },
    {
      "source": "terminal.Rmd",
      "filename": "terminal.html",
      "title": "Interacting with Terminals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "TerminalExecute Scenario",
        "Interative Terminal Scenario",
        "Terminal Identifier",
        "Terminal Session",
        "Busy Terminal",
        "Terminal States"
      ],
      "created": "2017-08-28 21:23:45",
      "modified": "2023-07-07 17:58:57",
      "commits": 4
    },
    {
      "source": "visual-mode.Rmd",
      "filename": "visual-mode.html",
      "title": "Interfacing with RStudio in Visual Mode",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-09-18 19:52:15",
      "modified": "2020-09-21 16:14:45",
      "commits": 2
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to rstudioapi",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-07-20 18:12:15",
      "modified": "2017-08-24 17:22:03",
      "commits": 4
    }
  ],
  "_score": 18.96990113711067,
  "_indexed": true,
  "_nocasepkg": "rstudioapi",
  "_universes": [
    "rstudio",
    "kevinushey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:36:51.000Z",
      "distro": "noble",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "06ebf78b024a38dc9a3fe4682db3e1aa022a352aa96fe8f3bd827182ebc27497",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:36:51.000Z",
      "distro": "noble",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "8e78ca6fc7dc6ecaceefb3cb1a350871feaefb65a906625d5f6d9f4cef62f8e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:36:15.000Z",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "16e372b404d20514a41b8736bb030389a9e52592f9c70f9f1cb86b65ed231dd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:36:12.000Z",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "5f4abcc736709e27086c6cf7adf8be5fee4ae5472f76889e38752dc581f69fbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:36:30.000Z",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "a78e9e0e59625e3849ca9856446667bd770ef6b6c8962de419412a5790700727",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:35:54.000Z",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "80fe857a92a0b9ad6f5a9fff118b8023f0d55bc55df05b6bcb21d3a603036a3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:35:59.000Z",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "8c3897f0fa5fef691df8ae02453333682e9b2854d8a669ba64cca5ce3ff1bc99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.18.0.9000",
      "date": "2026-05-28T22:36:20.000Z",
      "commit": "df4e683e2f0cb904a1fd9fd8ba7103c9f18fc001",
      "fileid": "6e01501d6ecfbf0615330eb0c153cbff24b97e85abd00420d47ad23d9897a0b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/26606103704"
    }
  ]
}