{
  "_id": "6ac61805f511ae58c09a5fd8",
  "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.19.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)",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://rstudio.r-universe.dev",
  "Date/Publication": "2026-10-05 19:58:04 UTC",
  "RemoteUrl": "https://github.com/rstudio/rstudioapi",
  "RemoteRef": "HEAD",
  "RemoteSha": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 08:50:48 UTC",
    "User": "root"
  },
  "Author": "Kevin Ushey [aut, cre],\nJJ Allaire [aut],\nHadley Wickham [aut],\nGary Ritchie [aut],\nRStudio [cph]",
  "_user": "rstudio",
  "_type": "src",
  "_file": "rstudioapi_0.19.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5ce914afb3db953093edc134ef75f56631a9fd4e5b6c7204898165f8f7ef9f76",
  "_filesize": 409035,
  "_sha256": "5ce914afb3db953093edc134ef75f56631a9fd4e5b6c7204898165f8f7ef9f76",
  "_expires": "2027-01-15T09:59:30.000Z",
  "_created": "2026-10-07T08:50:48.000Z",
  "_published": "2026-10-07T09:59:33.511Z",
  "_buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 112710458062,
      "time": 109,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11470968552"
    },
    {
      "job": 112710457991,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11472245122"
    },
    {
      "job": 112710458075,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11473574333"
    },
    {
      "job": 112710457940,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11473893029"
    },
    {
      "job": 112706024564,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11470474638"
    },
    {
      "job": 112710457892,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11471961299"
    },
    {
      "job": 112710457961,
      "time": 101,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11470404136"
    },
    {
      "job": 112710457962,
      "time": 68,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11470524724"
    },
    {
      "job": 112710457970,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11470668560"
    }
  ],
  "_upstream": "https://github.com/rstudio/rstudioapi",
  "_commit": {
    "id": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
    "author": "Kevin Ushey <kevinushey@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #292 from jameslairdsmith/patch-1\n\nAdd example theme change",
    "time": 1791230284
  },
  "_maintainer": {
    "name": "Kevin Ushey",
    "email": "kevin@rstudio.com",
    "login": "kevinushey",
    "description": "",
    "uuid": 1976582
  },
  "_distro": "resolute",
  "_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": "R6",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "rstudio",
  "_selfowned": true,
  "_usedby": 2279,
  "_updates": [
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 5
    },
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.18.0",
      "date": "2026-01-16"
    },
    {
      "name": "0.19.0",
      "date": "2026-06-11"
    }
  ],
  "_stars": 175,
  "_contributors": [
    {
      "user": "kevinushey",
      "count": 232,
      "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": "ashesitr",
      "count": 5,
      "uuid": 2363178
    },
    {
      "user": "mariasemple",
      "count": 5,
      "uuid": 37987486
    },
    {
      "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": "jameslairdsmith",
      "count": 1,
      "uuid": 12127550
    },
    {
      "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",
    "followers": 3590
  },
  "_downloads": {
    "count": 798982,
    "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": 5728,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rstudioapi.html",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "0.19.0",
      "date": "2026-06-12"
    }
  ],
  "_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": 19.121360768321782,
  "_indexed": true,
  "_nocasepkg": "rstudioapi",
  "_universes": [
    "rstudio",
    "kevinushey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.19.0.9000",
      "date": "2026-10-07T09:03:16.000Z",
      "distro": "resolute",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/c8823cf8b14eac11170d63449d1dbc95c176cb9b2748c639e22e711c4343a201",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.19.0.9000",
      "date": "2026-10-07T09:03:22.000Z",
      "distro": "resolute",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/7303d50c7293de84c5a3a6429f26d22fc6dee88a18202080a1b746c6c827100d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.19.0.9000",
      "date": "2026-10-07T09:58:57.000Z",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/63a6865e2533c3274d9e30fda8d7d4f8fe2be74d6af3ac3c9517db2cfee686dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.19.0.9000",
      "date": "2026-10-07T09:58:22.000Z",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/f940667e1ea35253db56acde4235787cbfa86f961604e8dde7177d06270d5572",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.19.0.9000",
      "date": "2026-10-07T09:03:16.000Z",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/768baa35408e437995575aaa75374958f7404b754ea773fbb4991771d2389463",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.19.0.9000",
      "date": "2026-10-07T08:52:31.000Z",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/2824a75bf0177127a8955403fd450a49095259dc58efe63409d40090a62a79e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.19.0.9000",
      "date": "2026-10-07T08:52:00.000Z",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/56e07e5a28fb1574aae798fc3339941bb3e82e0ce649d7d513ffd7d48d912600",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.19.0.9000",
      "date": "2026-10-07T08:52:07.000Z",
      "commit": "832e2a8870a2641e36f7e88ccadbc2d75a0fe0d2",
      "fileid": "https://r2.ropensci.org/af4af7d18a50a4f2e0f629c87d1f4fcc3d66f66a6541aae6d182b29b9ebfd80d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rstudio/actions/runs/37594404375"
    }
  ]
}