How do I view plots?
|
To view graphics, use the png command. For example:
png("fig1");
x<-seq(-5,5);
y<-x*x;
plot(x,y,lwd=5,type='l',col=2);
dev.off();
And to view the same figure again during the session, simply place a colon before its name:
:fig1
|
My R server is open to the internet. How do I make sure it's secure?
|
The easiest is to set up an R server running on your desktop or laptop for use on your local network.
- Install R
- Within R, install Rserve: install.packages('Rserve');
- Edit your Rserv.conf (e.g., /etc/Rserv.conf) to include the following line:
remote enable
- Within R, start up Rserve:
library(Rserve);
Rserve()
Note: If you're using an R GUI, you may need to type: Rserve(args='--no-save')
When connecting to this local R server, you can leave the username and password fields blank in your iOS copy of Arcly. But if your R server is open to the internet, please see the next question for setting up a username and password!
|
How do I set up an R server to connect to?
|
It's important to make sure your R server is secure, because otherwise unauthorized individuals might gain gain access. If your computer is behind a firewall and you are connecting locally within your network, authentication is not necessary (username and password can be left blank). However, if your R server is reachable over the internet, it is highly recommended that you add the following settings to your Rserv.conf to enable authentication:
remote enable
pwdfile /etc/my_R_passwords_file.txt
auth enabled
plaintext disabled
and place a username and password in your "my_R_passwords_file.txt" (separated by a space).
|
Arcly developed by Patryk Laurent. iPad and iPhone are registered trademarks of Apple, Inc.
More questions? Contact paklsound1_support at me.com
|
Frequently asked questions.
|