Re: [R] R, RStudio, and a server for my iPad.

2024-05-21 Thread peter dalgaard
...or look inside the administration interface for your router. Typically 
starts with opening a browser on 192.168.0.1 or 192.168.1.1 (with a password 
that you presumably have from your provider) and going to "Access Control" or 
thereabouts.

-pd

> On 12 Apr 2014, at 20:08 , Viechtbauer Wolfgang (STAT) 
>  wrote:
> 
> You will have to enter the external IP address and then use port forwarding.
> 
> Just google for that term (port forwarding) ... For example:
> 
> http://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/
> http://en.wikipedia.org/wiki/Port_forwarding
> 
> Best,
> Wolfgang
> 
> From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf 
> Of John Sorkin [jsor...@grecc.umaryland.edu]
> Sent: Saturday, April 12, 2014 7:37 PM
> To: fransiepansiekever...@gmail.com
> Cc: r-help@r-project.org
> Subject: Re: [R] R, RStudio, and a server for my iPad.
> 
> Grand,
> Thank you. I have been able to use my iPad to connect to a server running 
> RStudio server as described in an earlier email and can use the virtual 
> keyboard, which works but is not convenient as one needs to go from keyboard 
> screen to another.
> My current problem is that while I can get everything to work when my iPad is 
> on my local network, I don't know how to access my server from outside my 
> LAN. I know my server's private IP address I know my cable modem's external 
> IP address, but I have no idea what IP address to enter in my iPad, when my 
> iPad is outside my LAN trying to access my server.
> John
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk  Priv: pda...@gmail.com

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-12 Thread Viechtbauer Wolfgang (STAT)
You will have to enter the external IP address and then use port forwarding.

Just google for that term (port forwarding) ... For example:

http://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/
http://en.wikipedia.org/wiki/Port_forwarding

Best,
Wolfgang

From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of 
John Sorkin [jsor...@grecc.umaryland.edu]
Sent: Saturday, April 12, 2014 7:37 PM
To: fransiepansiekever...@gmail.com
Cc: r-help@r-project.org
Subject: Re: [R] R, RStudio, and a server for my iPad.

Grand,
Thank you. I have been able to use my iPad to connect to a server running 
RStudio server as described in an earlier email and can use the virtual 
keyboard, which works but is not convenient as one needs to go from keyboard 
screen to another.
My current problem is that while I can get everything to work when my iPad is 
on my local network, I don't know how to access my server from outside my LAN. 
I know my server's private IP address I know my cable modem's external IP 
address, but I have no idea what IP address to enter in my iPad, when my iPad 
is outside my LAN trying to access my server.
John
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-12 Thread Jeff Newmiller
That you cannot reach your home LAN from the Internet without learning 
something about networking is a good thing, since that offers some hope that 
the Russian Mafia can't use your computer to launch criminal activities against 
the rest of us, either.

Studying how to set up a VPN on your network router was a good recommendation 
that you have not acknowledged. However, that subject is networking, not R, and 
is definitely off topic here. 
---
Jeff NewmillerThe .   .  Go Live...
DCN:Basics: ##.#.   ##.#.  Live Go...
  Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/BatteriesO.O#.   #.O#.  with
/Software/Embedded Controllers)   .OO#.   .OO#.  rocks...1k
--- 
Sent from my phone. Please excuse my brevity.

On April 12, 2014 10:37:46 AM PDT, John Sorkin  
wrote:
>Grand,
>Thank you. I have been able to use my iPad to connect to a server
>running RStudio server as described in an earlier email and can use the
>virtual keyboard, which works but is not convenient as one needs to go
>from keyboard screen to another. 
>My current problem is that while I can get everything to work when my
>iPad is on my local network, I don't know how to access my server from
>outside my LAN. I know my server's private IP address I know my cable
>modem's external IP address, but I have no idea what IP address to
>enter in my iPad, when my iPad is outside my LAN trying to access my
>server.
>John
>
>> On Apr 12, 2014, at 11:46 AM, "Frans Marcelissen
>" 
>wrote:
>> 
>> Running rstudio (server) on an ipad.
>> I do'nt have an ipad anymore, but some years ago I noticed that
>rstudio (server) worked fine on an ipad of you have a separate
>keyboard. It does not work with the virtual keyboard. The same is true
>with android tablets.
>> Frans
>> 
>> 
>> 2014-04-12 3:38 GMT+02:00 Roy Mendelssohn :
>>> GIYF - Google VPN and iPad.
>>> 
>>> -Roy
>>> 
>>> On Apr 11, 2014, at 6:34 PM, "John Sorkin"
> wrote:
>>> 
>>> > David,
>>> > Thank you for your assistance.
>>> > I have, in fact been able to get things to work, at least when my
>iPad is on my local network. I had to do the following:
>>> > (1) install Linux (I used linux Mint) on a computer on my LAN
>>> > (2) install R on the linux box (accomplished using the Mint
>package manager)
>>> > (3) install Rstudio and RStudio server on the linux box
>(accomplished using the Mint package manager)
>>> > (4) obtain the linux computer's internal IP address (obtained
>using ifconfig command entered at a terminal). The internal IP address
>was 192.168.0.101
>>> > (5) use a browser on my iPad (I used google chrome, I believe
>firefox would also work) to connect to the linux box, requesting a
>connection using port 8787
>>> > In the brower I entered http://192.168.0.101:8787
>>> > This works like a charm; I can now control RStudio, which runs on
>the Linux box, by typing on my iPad. I thus gain access to RStudio on
>my iPad, RStudio works exactly as if it were running directly on my
>iPad, hooray!
>>> >
>>> > My remaining problem is to determine how I can gain access to the
>linux box from outside my LAN. I know the IP address of my cable router
>xx.xx.xx.xx (forgive me I am not listing my external IP address for
>security reasons), but I don't know how I can address the linux box
>from outside my LAN. Clearly I can't use 192.168.0.101 as it is an
>internal IP address, and I can't use the external IP address,
>xx.xx.xx.xx as it is the address of my cable box, not the address of
>the Linux box behind the cable modem. If I can figure how to address
>the linux box from outside my LAN my problem will be solved! If anyone
>can help me with this last problem I would be grateful. I know it is
>not strictly an R question, but in my case it is related to running R,
>at least on my iPad.
>>> > John
>>> >
>>> >
>>> >
>>> >
>>> > John David Sorkin M.D., Ph.D.
>>> > Professor of Medicine
>>> > Chief, Biostatistics and Informatics
>>> > University of Maryland School of Medicine Division of Gerontology
>and Geriatric Medicine
>>> > Baltimore VA Medical Center
>>> > 10 North Greene Street
>>> > GRECC (BT/18/GR)
>>> > Baltimore, MD 21201-1524
>>> > (Phone) 410-605-7119
>>> > (Fax) 410-605-7913 (Please call phone number above prior to
>faxing)
>>>  David Winsemius  4/11/2014 9:06 PM >>>
>>> >
>>> > On Apr 11, 2014, at 2:00 PM, John Sorkin wrote:
>>> >
>>> >> I bemoan the fact that I can not run R or Rstudio on my iPad. A
>possible work around would be to set up a server (probably under
>Linux), and get the server to present a web page that to would allow me
>to run R on the server.
>>> >
>>> >
>>> > I fear that the response so far has been focussing on RStudio when
>the desire at its minimum was to run interactive R session on an iPad.
>Why not use

Re: [R] R, RStudio, and a server for my iPad.

2014-04-12 Thread John Sorkin
Grand,
Thank you. I have been able to use my iPad to connect to a server running 
RStudio server as described in an earlier email and can use the virtual 
keyboard, which works but is not convenient as one needs to go from keyboard 
screen to another. 
My current problem is that while I can get everything to work when my iPad is 
on my local network, I don't know how to access my server from outside my LAN. 
I know my server's private IP address I know my cable modem's external IP 
address, but I have no idea what IP address to enter in my iPad, when my iPad 
is outside my LAN trying to access my server.
John

> On Apr 12, 2014, at 11:46 AM, "Frans Marcelissen 
> "  wrote:
> 
> Running rstudio (server) on an ipad.
> I do'nt have an ipad anymore, but some years ago I noticed that rstudio 
> (server) worked fine on an ipad of you have a separate keyboard. It does not 
> work with the virtual keyboard. The same is true with android tablets.
> Frans
> 
> 
> 2014-04-12 3:38 GMT+02:00 Roy Mendelssohn :
>> GIYF - Google VPN and iPad.
>> 
>> -Roy
>> 
>> On Apr 11, 2014, at 6:34 PM, "John Sorkin"  
>> wrote:
>> 
>> > David,
>> > Thank you for your assistance.
>> > I have, in fact been able to get things to work, at least when my iPad is 
>> > on my local network. I had to do the following:
>> > (1) install Linux (I used linux Mint) on a computer on my LAN
>> > (2) install R on the linux box (accomplished using the Mint package 
>> > manager)
>> > (3) install Rstudio and RStudio server on the linux box (accomplished 
>> > using the Mint package manager)
>> > (4) obtain the linux computer's internal IP address (obtained using 
>> > ifconfig command entered at a terminal). The internal IP address was 
>> > 192.168.0.101
>> > (5) use a browser on my iPad (I used google chrome, I believe firefox 
>> > would also work) to connect to the linux box, requesting a connection 
>> > using port 8787
>> > In the brower I entered http://192.168.0.101:8787
>> > This works like a charm; I can now control RStudio, which runs on the 
>> > Linux box, by typing on my iPad. I thus gain access to RStudio on my iPad, 
>> > RStudio works exactly as if it were running directly on my iPad, hooray!
>> >
>> > My remaining problem is to determine how I can gain access to the linux 
>> > box from outside my LAN. I know the IP address of my cable router 
>> > xx.xx.xx.xx (forgive me I am not listing my external IP address for 
>> > security reasons), but I don't know how I can address the linux box from 
>> > outside my LAN. Clearly I can't use 192.168.0.101 as it is an internal IP 
>> > address, and I can't use the external IP address, xx.xx.xx.xx as it is the 
>> > address of my cable box, not the address of the Linux box behind the cable 
>> > modem. If I can figure how to address the linux box from outside my LAN my 
>> > problem will be solved! If anyone can help me with this last problem I 
>> > would be grateful. I know it is not strictly an R question, but in my case 
>> > it is related to running R, at least on my iPad.
>> > John
>> >
>> >
>> >
>> >
>> > John David Sorkin M.D., Ph.D.
>> > Professor of Medicine
>> > Chief, Biostatistics and Informatics
>> > University of Maryland School of Medicine Division of Gerontology and 
>> > Geriatric Medicine
>> > Baltimore VA Medical Center
>> > 10 North Greene Street
>> > GRECC (BT/18/GR)
>> > Baltimore, MD 21201-1524
>> > (Phone) 410-605-7119
>> > (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>>  David Winsemius  4/11/2014 9:06 PM >>>
>> >
>> > On Apr 11, 2014, at 2:00 PM, John Sorkin wrote:
>> >
>> >> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible 
>> >> work around would be to set up a server (probably under Linux), and get 
>> >> the server to present a web page that to would allow me to run R on the 
>> >> server.
>> >
>> >
>> > I fear that the response so far has been focussing on RStudio when the 
>> > desire at its minimum was to run interactive R session on an iPad. Why not 
>> > use an SSH client to connect to a machine that recognizes the security 
>> > keys?
>> >
>> > https://itunes.apple.com/us/app/server-auditor-ssh-client/id549039908?mt=8
>> >
>> > I think RServe could be the server end, but I do not know how graphics 
>> > devices would be handled. Maybe just create pdfs on the server? Is there a 
>> > sendfile function that an SSH client could receive and allow the iPad user 
>> > to open? I think the stats-rosuda-devel mailing list might be the place to 
>> > find experienced users of such techniques.
>> >
>> > --
>> > David.
>> >
>> >
>> >> I have searched the web for a clear, simple answer on how to do this but 
>> >> can not find one. There are answers, but not for someone who has not 
>> >> built a Linux server. Can someone provide either a reference to, or a 
>> >> short explanation of how I can build the server, get R or RStudio to run 
>> >> on it, and get the server and its R or RStudio program available to me on 
>> >

Re: [R] R, RStudio, and a server for my iPad.

2014-04-12 Thread Frans Marcelissen
Running rstudio (server) on an ipad.
I do'nt have an ipad anymore, but some years ago I noticed that rstudio
(server) worked fine on an ipad of you have a separate keyboard. It does
not work with the virtual keyboard. The same is true with android tablets.
Frans


2014-04-12 3:38 GMT+02:00 Roy Mendelssohn :

> GIYF - Google VPN and iPad.
>
> -Roy
>
> On Apr 11, 2014, at 6:34 PM, "John Sorkin" 
> wrote:
>
> > David,
> > Thank you for your assistance.
> > I have, in fact been able to get things to work, at least when my iPad
> is on my local network. I had to do the following:
> > (1) install Linux (I used linux Mint) on a computer on my LAN
> > (2) install R on the linux box (accomplished using the Mint package
> manager)
> > (3) install Rstudio and RStudio server on the linux box (accomplished
> using the Mint package manager)
> > (4) obtain the linux computer's internal IP address (obtained using
> ifconfig command entered at a terminal). The internal IP address was
> 192.168.0.101
> > (5) use a browser on my iPad (I used google chrome, I believe firefox
> would also work) to connect to the linux box, requesting a connection using
> port 8787
> > In the brower I entered http://192.168.0.101:8787
> > This works like a charm; I can now control RStudio, which runs on the
> Linux box, by typing on my iPad. I thus gain access to RStudio on my iPad,
> RStudio works exactly as if it were running directly on my iPad, hooray!
> >
> > My remaining problem is to determine how I can gain access to the linux
> box from outside my LAN. I know the IP address of my cable router
> xx.xx.xx.xx (forgive me I am not listing my external IP address for
> security reasons), but I don't know how I can address the linux box from
> outside my LAN. Clearly I can't use 192.168.0.101 as it is an internal IP
> address, and I can't use the external IP address, xx.xx.xx.xx as it is the
> address of my cable box, not the address of the Linux box behind the cable
> modem. If I can figure how to address the linux box from outside my LAN my
> problem will be solved! If anyone can help me with this last problem I
> would be grateful. I know it is not strictly an R question, but in my case
> it is related to running R, at least on my iPad.
> > John
> >
> >
> >
> >
> > John David Sorkin M.D., Ph.D.
> > Professor of Medicine
> > Chief, Biostatistics and Informatics
> > University of Maryland School of Medicine Division of Gerontology and
> Geriatric Medicine
> > Baltimore VA Medical Center
> > 10 North Greene Street
> > GRECC (BT/18/GR)
> > Baltimore, MD 21201-1524
> > (Phone) 410-605-7119
> > (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>  David Winsemius  4/11/2014 9:06 PM >>>
> >
> > On Apr 11, 2014, at 2:00 PM, John Sorkin wrote:
> >
> >> I bemoan the fact that I can not run R or Rstudio on my iPad. A
> possible work around would be to set up a server (probably under Linux),
> and get the server to present a web page that to would allow me to run R on
> the server.
> >
> >
> > I fear that the response so far has been focussing on RStudio when the
> desire at its minimum was to run interactive R session on an iPad. Why not
> use an SSH client to connect to a machine that recognizes the security keys?
> >
> >
> https://itunes.apple.com/us/app/server-auditor-ssh-client/id549039908?mt=8
> >
> > I think RServe could be the server end, but I do not know how graphics
> devices would be handled. Maybe just create pdfs on the server? Is there a
> sendfile function that an SSH client could receive and allow the iPad user
> to open? I think the stats-rosuda-devel mailing list might be the place to
> find experienced users of such techniques.
> >
> > --
> > David.
> >
> >
> >> I have searched the web for a clear, simple answer on how to do this
> but can not find one. There are answers, but not for someone who has not
> built a Linux server. Can someone provide either a reference to, or a short
> explanation of how I can build the server, get R or RStudio to run on it,
> and get the server and its R or RStudio program available to me on my iPad?
> I can probably find guidance on how to build an Apache server under Linux.
> >> Thank you,
> >> John
> >>
> >>
> >>
> >>
> >> John David Sorkin M.D., Ph.D.
> >> Professor of Medicine
> >> Chief, Biostatistics and Informatics
> >> University of Maryland School of Medicine Division of Gerontology and
> Geriatric Medicine
> >> Baltimore VA Medical Center
> >> 10 North Greene Street
> >> GRECC (BT/18/GR)
> >> Baltimore, MD 21201-1524
> >> (Phone) 410-605-7119
> >> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
> >>
> >> Confidentiality Statement:
> >> This email message, including any attachments, is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information.  Any unauthorized use, disclosure or distribution is
> prohibited.  If you are not the intended recipient, please contact the
> sender by reply email and destroy a

Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread Roy Mendelssohn
GIYF - Google VPN and iPad.

-Roy

On Apr 11, 2014, at 6:34 PM, "John Sorkin"  wrote:

> David,
> Thank you for your assistance. 
> I have, in fact been able to get things to work, at least when my iPad is on 
> my local network. I had to do the following:
> (1) install Linux (I used linux Mint) on a computer on my LAN
> (2) install R on the linux box (accomplished using the Mint package manager)
> (3) install Rstudio and RStudio server on the linux box (accomplished using 
> the Mint package manager)
> (4) obtain the linux computer's internal IP address (obtained using ifconfig 
> command entered at a terminal). The internal IP address was 192.168.0.101
> (5) use a browser on my iPad (I used google chrome, I believe firefox would 
> also work) to connect to the linux box, requesting a connection using port 
> 8787
> In the brower I entered http://192.168.0.101:8787
> This works like a charm; I can now control RStudio, which runs on the Linux 
> box, by typing on my iPad. I thus gain access to RStudio on my iPad, RStudio 
> works exactly as if it were running directly on my iPad, hooray!
> 
> My remaining problem is to determine how I can gain access to the linux box 
> from outside my LAN. I know the IP address of my cable router xx.xx.xx.xx 
> (forgive me I am not listing my external IP address for security reasons), 
> but I don't know how I can address the linux box from outside my LAN. Clearly 
> I can't use 192.168.0.101 as it is an internal IP address, and I can't use 
> the external IP address, xx.xx.xx.xx as it is the address of my cable box, 
> not the address of the Linux box behind the cable modem. If I can figure how 
> to address the linux box from outside my LAN my problem will be solved! If 
> anyone can help me with this last problem I would be grateful. I know it is 
> not strictly an R question, but in my case it is related to running R, at 
> least on my iPad.
> John
> 
> 
> 
> 
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and 
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing) 
 David Winsemius  4/11/2014 9:06 PM >>>
> 
> On Apr 11, 2014, at 2:00 PM, John Sorkin wrote:
> 
>> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible 
>> work around would be to set up a server (probably under Linux), and get the 
>> server to present a web page that to would allow me to run R on the server.
> 
> 
> I fear that the response so far has been focussing on RStudio when the desire 
> at its minimum was to run interactive R session on an iPad. Why not use an 
> SSH client to connect to a machine that recognizes the security keys?
> 
> https://itunes.apple.com/us/app/server-auditor-ssh-client/id549039908?mt=8
> 
> I think RServe could be the server end, but I do not know how graphics 
> devices would be handled. Maybe just create pdfs on the server? Is there a 
> sendfile function that an SSH client could receive and allow the iPad user to 
> open? I think the stats-rosuda-devel mailing list might be the place to find 
> experienced users of such techniques.
> 
> -- 
> David.
> 
> 
>> I have searched the web for a clear, simple answer on how to do this but can 
>> not find one. There are answers, but not for someone who has not built a 
>> Linux server. Can someone provide either a reference to, or a short 
>> explanation of how I can build the server, get R or RStudio to run on it, 
>> and get the server and its R or RStudio program available to me on my iPad? 
>> I can probably find guidance on how to build an Apache server under Linux.
>> Thank you,
>> John 
>> 
>> 
>> 
>> 
>> John David Sorkin M.D., Ph.D.
>> Professor of Medicine
>> Chief, Biostatistics and Informatics
>> University of Maryland School of Medicine Division of Gerontology and 
>> Geriatric Medicine
>> Baltimore VA Medical Center
>> 10 North Greene Street
>> GRECC (BT/18/GR)
>> Baltimore, MD 21201-1524
>> (Phone) 410-605-7119
>> (Fax) 410-605-7913 (Please call phone number above prior to faxing) 
>> 
>> Confidentiality Statement:
>> This email message, including any attachments, is for the sole use of the 
>> intended recipient(s) and may contain confidential and privileged 
>> information.  Any unauthorized use, disclosure or distribution is 
>> prohibited.  If you are not the intended recipient, please contact the 
>> sender by reply email and destroy all copies of the original message. 
>> __
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> David Winsemius
> Alameda, CA, USA
> 
> 
> 
> Confidentiali

Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread John Sorkin
David,
Thank you for your assistance. 
I have, in fact been able to get things to work, at least when my iPad is on my 
local network. I had to do the following:
(1) install Linux (I used linux Mint) on a computer on my LAN
(2) install R on the linux box (accomplished using the Mint package manager)
(3) install Rstudio and RStudio server on the linux box (accomplished using the 
Mint package manager)
(4) obtain the linux computer's internal IP address (obtained using ifconfig 
command entered at a terminal). The internal IP address was 192.168.0.101
(5) use a browser on my iPad (I used google chrome, I believe firefox would 
also work) to connect to the linux box, requesting a connection using port 8787
In the brower I entered http://192.168.0.101:8787
This works like a charm; I can now control RStudio, which runs on the Linux 
box, by typing on my iPad. I thus gain access to RStudio on my iPad, RStudio 
works exactly as if it were running directly on my iPad, hooray!
 
My remaining problem is to determine how I can gain access to the linux box 
from outside my LAN. I know the IP address of my cable router xx.xx.xx.xx 
(forgive me I am not listing my external IP address for security reasons), but 
I don't know how I can address the linux box from outside my LAN. Clearly I 
can't use 192.168.0.101 as it is an internal IP address, and I can't use the 
external IP address, xx.xx.xx.xx as it is the address of my cable box, not the 
address of the Linux box behind the cable modem. If I can figure how to address 
the linux box from outside my LAN my problem will be solved! If anyone can help 
me with this last problem I would be grateful. I know it is not strictly an R 
question, but in my case it is related to running R, at least on my iPad.
John


 
 
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing) 
>>> David Winsemius  4/11/2014 9:06 PM >>>

On Apr 11, 2014, at 2:00 PM, John Sorkin wrote:

> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible work 
> around would be to set up a server (probably under Linux), and get the server 
> to present a web page that to would allow me to run R on the server.


I fear that the response so far has been focussing on RStudio when the desire 
at its minimum was to run interactive R session on an iPad. Why not use an SSH 
client to connect to a machine that recognizes the security keys?

https://itunes.apple.com/us/app/server-auditor-ssh-client/id549039908?mt=8

I think RServe could be the server end, but I do not know how graphics devices 
would be handled. Maybe just create pdfs on the server? Is there a sendfile 
function that an SSH client could receive and allow the iPad user to open? I 
think the stats-rosuda-devel mailing list might be the place to find 
experienced users of such techniques.

-- 
David.


> I have searched the web for a clear, simple answer on how to do this but can 
> not find one. There are answers, but not for someone who has not built a 
> Linux server. Can someone provide either a reference to, or a short 
> explanation of how I can build the server, get R or RStudio to run on it, and 
> get the server and its R or RStudio program available to me on my iPad? I can 
> probably find guidance on how to build an Apache server under Linux.
> Thank you,
> John 
> 
> 
> 
> 
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and 
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing) 
> 
> Confidentiality Statement:
> This email message, including any attachments, is for the sole use of the 
> intended recipient(s) and may contain confidential and privileged 
> information.  Any unauthorized use, disclosure or distribution is prohibited. 
>  If you are not the intended recipient, please contact the sender by reply 
> email and destroy all copies of the original message. 
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA



Confidentiality Statement:
This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.  
Any unauthorized use, disclosure or distribution is prohibited.  If you are not 
the intended recipie

Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread David Winsemius

On Apr 11, 2014, at 2:00 PM, John Sorkin wrote:

> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible work 
> around would be to set up a server (probably under Linux), and get the server 
> to present a web page that to would allow me to run R on the server.


I fear that the response so far has been focussing on RStudio when the desire 
at its minimum was to run interactive R session on an iPad. Why not use an SSH 
client to connect to a machine that recognizes the security keys?

https://itunes.apple.com/us/app/server-auditor-ssh-client/id549039908?mt=8

I think RServe could be the server end, but I do not know how graphics devices 
would be handled. Maybe just create pdfs on the server? Is there a sendfile 
function that an SSH client could receive and allow the iPad user to open? I 
think the stats-rosuda-devel mailing list might be the place to find 
experienced users of such techniques.

-- 
David.


> I have searched the web for a clear, simple answer on how to do this but can 
> not find one. There are answers, but not for someone who has not built a 
> Linux server. Can someone provide either a reference to, or a short 
> explanation of how I can build the server, get R or RStudio to run on it, and 
> get the server and its R or RStudio program available to me on my iPad? I can 
> probably find guidance on how to build an Apache server under Linux.
> Thank you,
> John 
> 
> 
> 
> 
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and 
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing) 
> 
> Confidentiality Statement:
> This email message, including any attachments, is for ...{{dropped:15}}

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread John Sorkin
Hadley,
Thank you for the clarification! This is too bad as I had thought that given 
that RStudio server followed a web-based rather than a client-server paradigm 
that I could use my iPad to access an RStudio server and thus have access to R. 
Perhaps I wasted a loot of   on my iPad . . .
John 

 
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing) 
>>> Hadley Wickham  4/11/2014 6:10 PM >>>
You can not type _anything_ into Rstudio if you connect to it on the
ipad. In other words, Rstudio is not currently usable on the ipad.
Hadley

On Fri, Apr 11, 2014 at 6:08 PM, John Sorkin
 wrote:
> Hadley,
> First, thank you for replying to my question. Are you saying that the iPad
> browser will not allow me to type the character string :/ into a browser
> window? I am not sure exactly what you are trying to tell me. Please forgive
> my lack of insight! Can you explain a but further?
> Do you have any suggestions for a solution that will allow me to access R on
> my iPad?
> John
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
 Hadley Wickham  4/11/2014 6:01 PM >>>
>
> Even if you do get Rstudio running on a server, unfortunately it won't
> help. The ipad doesn't support quite enough html to get a fully
> functional Rstudio interface - almost everything works but you can't
> type anything :/  It would be possible to fix this, but fundamentally
> we don't believe that the Rstudio interface is the right choice for an
> ipad.
>
> Hadley
>
> On Fri, Apr 11, 2014 at 5:00 PM, John Sorkin
>  wrote:
>> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible
>> work around would be to set up a server (probably under Linux), and get the
>> server to present a web page that to would allow me to run R on the server.
>> I have searched the web for a clear, simple answer on how to do this but can
>> not find one. There are answers, but not for someone who has not built a
>> Linux server. Can someone provide either a reference to, or a short
>> explanation of how I can build the server, get R or RStudio to run on it,
>> and get the server and its R or RStudio program available to me on my iPad?
>> I can probably find guidance on how to build an Apache server under Linux.
>> Thank you,
>> John
>>
>>
>>
>>
>> John David Sorkin M.D., Ph.D.
>> Professor of Medicine
>> Chief, Biostatistics and Informatics
>> University of Maryland School of Medicine Division of Gerontology and
>> Geriatric Medicine
>> Baltimore VA Medical Center
>> 10 North Greene Street
>> GRECC (BT/18/GR)
>> Baltimore, MD 21201-1524
>> (Phone) 410-605-7119
>> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>>
>> Confidentiality Statement:
>> This email message, including any attachments, is for the sole use of the
>> intended recipient(s) and may contain confidential and privileged
>> information.  Any unauthorized use, disclosure or distribution is
>> prohibited.  If you are not the intended recipient, please contact the
>> sender by reply email and destroy all copies of the original message.
>>
>> __
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
> --
> http://had.co.nz/
>
>
> Confidentiality Statement:
>
> This email message, including any attachments, is for the sole use of the
> intended recipient(s) and may contain confidential and privileged
> information. Any unauthorized use, disclosure or distribution is prohibited.
> If you are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original message.



-- 
http://had.co.nz/


Confidentiality Statement:
This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.  
Any unauthorized use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy 
all copies of the original message. 
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.ht

Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread Hadley Wickham
You can not type _anything_ into Rstudio if you connect to it on the
ipad. In other words, Rstudio is not currently usable on the ipad.
Hadley

On Fri, Apr 11, 2014 at 6:08 PM, John Sorkin
 wrote:
> Hadley,
> First, thank you for replying to my question. Are you saying that the iPad
> browser will not allow me to type the character string :/ into a browser
> window? I am not sure exactly what you are trying to tell me. Please forgive
> my lack of insight! Can you explain a but further?
> Do you have any suggestions for a solution that will allow me to access R on
> my iPad?
> John
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
 Hadley Wickham  4/11/2014 6:01 PM >>>
>
> Even if you do get Rstudio running on a server, unfortunately it won't
> help. The ipad doesn't support quite enough html to get a fully
> functional Rstudio interface - almost everything works but you can't
> type anything :/  It would be possible to fix this, but fundamentally
> we don't believe that the Rstudio interface is the right choice for an
> ipad.
>
> Hadley
>
> On Fri, Apr 11, 2014 at 5:00 PM, John Sorkin
>  wrote:
>> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible
>> work around would be to set up a server (probably under Linux), and get the
>> server to present a web page that to would allow me to run R on the server.
>> I have searched the web for a clear, simple answer on how to do this but can
>> not find one. There are answers, but not for someone who has not built a
>> Linux server. Can someone provide either a reference to, or a short
>> explanation of how I can build the server, get R or RStudio to run on it,
>> and get the server and its R or RStudio program available to me on my iPad?
>> I can probably find guidance on how to build an Apache server under Linux.
>> Thank you,
>> John
>>
>>
>>
>>
>> John David Sorkin M.D., Ph.D.
>> Professor of Medicine
>> Chief, Biostatistics and Informatics
>> University of Maryland School of Medicine Division of Gerontology and
>> Geriatric Medicine
>> Baltimore VA Medical Center
>> 10 North Greene Street
>> GRECC (BT/18/GR)
>> Baltimore, MD 21201-1524
>> (Phone) 410-605-7119
>> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>>
>> Confidentiality Statement:
>> This email message, including any attachments, is for the sole use of the
>> intended recipient(s) and may contain confidential and privileged
>> information.  Any unauthorized use, disclosure or distribution is
>> prohibited.  If you are not the intended recipient, please contact the
>> sender by reply email and destroy all copies of the original message.
>>
>> __
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
> --
> http://had.co.nz/
>
>
> Confidentiality Statement:
>
> This email message, including any attachments, is for ...{{dropped:11}}

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread John Sorkin
Hadley,
First, thank you for replying to my question. Are you saying that the iPad 
browser will not allow me to type the character string :/ into a browser 
window? I am not sure exactly what you are trying to tell me. Please forgive my 
lack of insight! Can you explain a but further?
Do you have any suggestions for a solution that will allow me to access R on my 
iPad?
John

 
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric 
Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing) 
>>> Hadley Wickham  4/11/2014 6:01 PM >>>
Even if you do get Rstudio running on a server, unfortunately it won't
help. The ipad doesn't support quite enough html to get a fully
functional Rstudio interface - almost everything works but you can't
type anything :/  It would be possible to fix this, but fundamentally
we don't believe that the Rstudio interface is the right choice for an
ipad.

Hadley

On Fri, Apr 11, 2014 at 5:00 PM, John Sorkin
 wrote:
> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible work 
> around would be to set up a server (probably under Linux), and get the server 
> to present a web page that to would allow me to run R on the server. I have 
> searched the web for a clear, simple answer on how to do this but can not 
> find one. There are answers, but not for someone who has not built a Linux 
> server. Can someone provide either a reference to, or a short explanation of 
> how I can build the server, get R or RStudio to run on it, and get the server 
> and its R or RStudio program available to me on my iPad? I can probably find 
> guidance on how to build an Apache server under Linux.
> Thank you,
> John
>
>
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and 
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>
> Confidentiality Statement:
> This email message, including any attachments, is for the sole use of the 
> intended recipient(s) and may contain confidential and privileged 
> information.  Any unauthorized use, disclosure or distribution is prohibited. 
>  If you are not the intended recipient, please contact the sender by reply 
> email and destroy all copies of the original message.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
http://had.co.nz/


Confidentiality Statement:
This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.  
Any unauthorized use, disclosure or distribution is prohibited.  If you are not 
the intended recipient, please contact the sender by reply email and destroy 
all copies of the original message. 
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread John Sorkin
Steve,
Are you suggesting that all I need to is build a Linux box (easily
done, I have done many) and them simply use the package manager to
install RStudio server? This would mean I don't need to build an Apache
Server with a LAMP stack, hooray!
John

 
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and
Geriatric Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing) 
>>> Steve Lianoglou  4/11/2014 5:51 PM >>>
I see. You might indeed be over thinking it ... since everything is
installable by the package manager for the flavor of linux you choose,
it should actually be relatively straightfoward (although if this is
your first time setting up a linux box, it can take a few tries).

I'll assume you are using an ubuntu server. There are two things you
can do to get one

(1) Get yourself a "spare" CPU. Blow out the OS on it, and setup
"vanilla" ubuntu; or
(2) Rent an ubuntu server from somewhere like linode.com

Then:

(a) Install R on it, by following the instructions here:
http://cran.rstudio.com/bin/linux/ubuntu/README.html

Which boils down to basically:
(i) adding the appropriate line to your `/etc/apt/sources.list` given
the version of ubuntu you installed (saucy, quantal, etc) ; and
(ii) Running the following from the terminal:

   sudo apt-get update
   sudo apt-get install r-base
   sudo apt-get install r-base-dev

(b) Install RStudio Server. Start from the "Download and Install"
section here (since you already installed R):
https://www.rstudio.com/ide/download/server

Then go here:
https://www.rstudio.com/ide/docs/server/getting_started

If you've set this up on your own machine (option (1) from above) then
you have to figure out how to connect it to the internet if you want
to use it from anywhere outside of your LAN.

It might seem like a lot of work, but as mentioned above -- since
these packages are available by the system's package manager, all of
the dependencies (like apache (if you need it)) will be installed for
you if you follow the (presumably correct) installation instructions
from RStudio.

=== An even easier setup ===

Just realized that there is  3rd route. You can save yourself a lot of
time by using an already built amazon machine instance that the
bioconductor folks have setup for you. Look at the instructions here:

http://www.bioconductor.org/help/bioconductor-cloud-ami/

If you follow along (you'll need an amazon account), you can rent a
machine and have it loaded w/ RStudio Server as well as some
bioconductor-specific libraries to get you started (by using the
bioconductor AMI). Once you have that up, you can connect to the
server running on Amazon's cloud via your web browser on both your CPU
(to make sure it all worked) then using an iOS device.

This would be a very easy way for you to see if taking one of the 2
avenues of setting up RStudio Server yourself would be worth the pain.

HTH,
-steve

On Fri, Apr 11, 2014 at 2:34 PM, John Sorkin
 wrote:
> Steve,
> Thank you for your help.
> I have seen the material you have sent me to, but do not fully
> understand it. Do I have to build a linux server first? If so does
it
> have to run Apache or some other web server? Is RStudio server run
under
> Apache, if so how? On the other hand, do I simply need a box running
a
> flavor of Linux (without Apache)., and then simply download RStudio
> server? Perhaps I am over thinking this . . .
> Thanks,
> John
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology
and
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
 Steve Lianoglou  4/11/2014 5:23 PM >>>
> Hi,
>
> On Fri, Apr 11, 2014 at 2:00 PM, John Sorkin
>  wrote:
>> I bemoan the fact that I can not run R or Rstudio on my iPad.
>
> I feel like this is something I'm not missing much, at all, but
> different strokes ... :-)
>
>> A possible work around would be to set up a server (probably under
> Linux), and get the server to present a web page that to would allow
me
> to run R on the server. I have searched the web for a clear, simple
> answer on how to do this but can not find one. There are answers,
but
> not for someone who has not built a Linux server. Can someone
provide
> either a reference to, or a short explanation of how I can build the
> server, get R or RStudio to run on it, and get the server and its R
or
> RStudio program available to me on my iPad? I can probably find
guidance
> on how to build an Apache server under Linux.
>
> You might try to follow the instructions to get RStudio Server
> running:
>
> htt

Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread Hadley Wickham
Even if you do get Rstudio running on a server, unfortunately it won't
help. The ipad doesn't support quite enough html to get a fully
functional Rstudio interface - almost everything works but you can't
type anything :/  It would be possible to fix this, but fundamentally
we don't believe that the Rstudio interface is the right choice for an
ipad.

Hadley

On Fri, Apr 11, 2014 at 5:00 PM, John Sorkin
 wrote:
> I bemoan the fact that I can not run R or Rstudio on my iPad. A possible work 
> around would be to set up a server (probably under Linux), and get the server 
> to present a web page that to would allow me to run R on the server. I have 
> searched the web for a clear, simple answer on how to do this but can not 
> find one. There are answers, but not for someone who has not built a Linux 
> server. Can someone provide either a reference to, or a short explanation of 
> how I can build the server, get R or RStudio to run on it, and get the server 
> and its R or RStudio program available to me on my iPad? I can probably find 
> guidance on how to build an Apache server under Linux.
> Thank you,
> John
>
>
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and 
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>
> Confidentiality Statement:
> This email message, including any attachments, is for ...{{dropped:19}}

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread Steve Lianoglou
I see. You might indeed be over thinking it ... since everything is
installable by the package manager for the flavor of linux you choose,
it should actually be relatively straightfoward (although if this is
your first time setting up a linux box, it can take a few tries).

I'll assume you are using an ubuntu server. There are two things you
can do to get one

(1) Get yourself a "spare" CPU. Blow out the OS on it, and setup
"vanilla" ubuntu; or
(2) Rent an ubuntu server from somewhere like linode.com

Then:

(a) Install R on it, by following the instructions here:
http://cran.rstudio.com/bin/linux/ubuntu/README.html

Which boils down to basically:
(i) adding the appropriate line to your `/etc/apt/sources.list` given
the version of ubuntu you installed (saucy, quantal, etc) ; and
(ii) Running the following from the terminal:

   sudo apt-get update
   sudo apt-get install r-base
   sudo apt-get install r-base-dev

(b) Install RStudio Server. Start from the "Download and Install"
section here (since you already installed R):
https://www.rstudio.com/ide/download/server

Then go here:
https://www.rstudio.com/ide/docs/server/getting_started

If you've set this up on your own machine (option (1) from above) then
you have to figure out how to connect it to the internet if you want
to use it from anywhere outside of your LAN.

It might seem like a lot of work, but as mentioned above -- since
these packages are available by the system's package manager, all of
the dependencies (like apache (if you need it)) will be installed for
you if you follow the (presumably correct) installation instructions
from RStudio.

=== An even easier setup ===

Just realized that there is  3rd route. You can save yourself a lot of
time by using an already built amazon machine instance that the
bioconductor folks have setup for you. Look at the instructions here:

http://www.bioconductor.org/help/bioconductor-cloud-ami/

If you follow along (you'll need an amazon account), you can rent a
machine and have it loaded w/ RStudio Server as well as some
bioconductor-specific libraries to get you started (by using the
bioconductor AMI). Once you have that up, you can connect to the
server running on Amazon's cloud via your web browser on both your CPU
(to make sure it all worked) then using an iOS device.

This would be a very easy way for you to see if taking one of the 2
avenues of setting up RStudio Server yourself would be worth the pain.

HTH,
-steve

On Fri, Apr 11, 2014 at 2:34 PM, John Sorkin
 wrote:
> Steve,
> Thank you for your help.
> I have seen the material you have sent me to, but do not fully
> understand it. Do I have to build a linux server first? If so does it
> have to run Apache or some other web server? Is RStudio server run under
> Apache, if so how? On the other hand, do I simply need a box running a
> flavor of Linux (without Apache)., and then simply download RStudio
> server? Perhaps I am over thinking this . . .
> Thanks,
> John
>
>
> John David Sorkin M.D., Ph.D.
> Professor of Medicine
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology and
> Geriatric Medicine
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
 Steve Lianoglou  4/11/2014 5:23 PM >>>
> Hi,
>
> On Fri, Apr 11, 2014 at 2:00 PM, John Sorkin
>  wrote:
>> I bemoan the fact that I can not run R or Rstudio on my iPad.
>
> I feel like this is something I'm not missing much, at all, but
> different strokes ... :-)
>
>> A possible work around would be to set up a server (probably under
> Linux), and get the server to present a web page that to would allow me
> to run R on the server. I have searched the web for a clear, simple
> answer on how to do this but can not find one. There are answers, but
> not for someone who has not built a Linux server. Can someone provide
> either a reference to, or a short explanation of how I can build the
> server, get R or RStudio to run on it, and get the server and its R or
> RStudio program available to me on my iPad? I can probably find guidance
> on how to build an Apache server under Linux.
>
> You might try to follow the instructions to get RStudio Server
> running:
>
> https://www.rstudio.com/ide/docs/server/getting_started
>
> It seems like they have packages built for many popular linux distros:
>
> https://www.rstudio.com/ide/download/server
>
> Once your linux server is set up, you should be able to access the
> server with any client via a web browser, although I have no idea if
> any of the iOS browsers are up to the task of dealing with the RStudio
> web interface, but you can try and find out. RStudio's support forum
> is more likely to be helpful here, for instance:
>
> https://support.rstudio.com/hc/en-us/search?utf8=✓&query=ios&commit=Search
>
> HTH,
> -steve
>
> --
> Steve Lianoglou
> Computational Biologis

Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread John Sorkin
Steve, 
Thank you for your help.
I have seen the material you have sent me to, but do not fully
understand it. Do I have to build a linux server first? If so does it
have to run Apache or some other web server? Is RStudio server run under
Apache, if so how? On the other hand, do I simply need a box running a
flavor of Linux (without Apache)., and then simply download RStudio
server? Perhaps I am over thinking this . . .
Thanks,
John

 
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and
Geriatric Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing) 
>>> Steve Lianoglou  4/11/2014 5:23 PM >>>
Hi,

On Fri, Apr 11, 2014 at 2:00 PM, John Sorkin
 wrote:
> I bemoan the fact that I can not run R or Rstudio on my iPad.

I feel like this is something I'm not missing much, at all, but
different strokes ... :-)

> A possible work around would be to set up a server (probably under
Linux), and get the server to present a web page that to would allow me
to run R on the server. I have searched the web for a clear, simple
answer on how to do this but can not find one. There are answers, but
not for someone who has not built a Linux server. Can someone provide
either a reference to, or a short explanation of how I can build the
server, get R or RStudio to run on it, and get the server and its R or
RStudio program available to me on my iPad? I can probably find guidance
on how to build an Apache server under Linux.

You might try to follow the instructions to get RStudio Server
running:

https://www.rstudio.com/ide/docs/server/getting_started

It seems like they have packages built for many popular linux distros:

https://www.rstudio.com/ide/download/server

Once your linux server is set up, you should be able to access the
server with any client via a web browser, although I have no idea if
any of the iOS browsers are up to the task of dealing with the RStudio
web interface, but you can try and find out. RStudio's support forum
is more likely to be helpful here, for instance:

https://support.rstudio.com/hc/en-us/search?utf8=✓&query=ios&commit=Search

HTH,
-steve

-- 
Steve Lianoglou
Computational Biologist
Genentech


Confidentiality Statement:
This email message, including any attachments, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.  Any unauthorized use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply email and destroy all copies of the original message. 
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R, RStudio, and a server for my iPad.

2014-04-11 Thread Steve Lianoglou
Hi,

On Fri, Apr 11, 2014 at 2:00 PM, John Sorkin
 wrote:
> I bemoan the fact that I can not run R or Rstudio on my iPad.

I feel like this is something I'm not missing much, at all, but
different strokes ... :-)

> A possible work around would be to set up a server (probably under Linux), 
> and get the server to present a web page that to would allow me to run R on 
> the server. I have searched the web for a clear, simple answer on how to do 
> this but can not find one. There are answers, but not for someone who has not 
> built a Linux server. Can someone provide either a reference to, or a short 
> explanation of how I can build the server, get R or RStudio to run on it, and 
> get the server and its R or RStudio program available to me on my iPad? I can 
> probably find guidance on how to build an Apache server under Linux.

You might try to follow the instructions to get RStudio Server running:

https://www.rstudio.com/ide/docs/server/getting_started

It seems like they have packages built for many popular linux distros:

https://www.rstudio.com/ide/download/server

Once your linux server is set up, you should be able to access the
server with any client via a web browser, although I have no idea if
any of the iOS browsers are up to the task of dealing with the RStudio
web interface, but you can try and find out. RStudio's support forum
is more likely to be helpful here, for instance:

https://support.rstudio.com/hc/en-us/search?utf8=✓&query=ios&commit=Search

HTH,
-steve

-- 
Steve Lianoglou
Computational Biologist
Genentech

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.