Online R Editor.
Work on R scripts for matrices, plots, and numerical experiments before moving to your runtime.
Completions appear as you type; press Ctrl+Space to open the list. Tab expands snippets where available. Find: Ctrl+F (Cmd+F on Mac). Format: toolbar button or Ctrl+Shift+B for supported languages.
Choose editor font size in pixels
Work on R scripts for matrices, plots, and numerical experiments before moving to your runtime.
Matrix ops
% R
A = [1 2; 3 4];
B = A' * A;
detA = det(A);Plot
x = linspace(0, 2*pi, 200);
y = sin(x);
plot(x, y); grid on; title('sin'); Vectors & matrices
v = 1:10;
M = rand(3,3);
I = eye(3);Indexing
sub = M(1:2, 2:3);
M(:,1) = 0;Functions
function y = sq(x)
y = x.^2;
endComments
% line
%{ block %} Vectorized pipeline
% R: normalize columns
X = rand(100, 3);
mu = mean(X, 1);
sigma = std(X, 0, 1);
Z = (X - mu) ./ sigma;
disp(['mean', mean(Z,1); 'std', std(Z,0,1)]); - Does R code run on ConversionTab servers?
- No. Editing happens in your browser. Download the file and run it in your usual compiler, runtime, or platform.
- Can I change theme and font size?
- Yes. Use the toolbar above the editor; choices persist in local storage for your browser profile.