This is a paragraph in the markdown document.
This is another paragraph in the markdown document.
Here is a list of supported features in R# notebook:
Create a table in document just like what you do in the markdown document:
| Features | supported |
|---|---|
| markdown document | yes |
| code block | yes |
| image output of the code block | yes |
Yes, you can write a code block in markdown document block:
print("Hello world!");
But this code block will not be evaluated
One code block in the R# notebook should be start with a
tag: region "name", and then should be end with a tag:
end region. And also the code block should be end with
a individual semicolon symbol.
syntax example as:
#region "block name"
...
#end region
;
const word as string = ["World", "R#", "User"];
# print string contents at here will also be
# rendered on the html document!
print(`Hello ${word}!`);
[1] "Hello World!" "Hello R#!" "Hello User!"
the image outputs of the R# charting plot code will be encoded as
base64 string and then embbled as image tag in the generated
html document code.
# scatter plot test
const size = 225;
const x = runif(size);
const y = ((x * 5) ^ 3) / 2 + x * 5 + 60;
plot(x, y + runif(size) * 13,
background = "white",
grid.fill = "white",
color = "skyblue",
point_size = 23,
shape = "Triangle"
);