Read Raw in R (Response from API)
18:57 22 Jan 2026

in response from API I recived list as bellow. Full API documantation https://lmstudio.ai/docs/developer/openai-compat/models

I tried to read data in raw format but it does not work. How can I read data from this API?

response from API

I tired code like bellow but this does not work.

Example


dane <- readRaw(r2)
dane <- readLines(hexViewFile(r2))
dane <- content(r$content, "parsed")
dane <- content(r$content, "raw")
r raw