Hello everybody. I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm connecting , I don't have any problem to start Rstudio , but when I am not connecting Rstudio don't start. Any idea? In rsession-user.log I get 29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not found (authoritative)); OCCURRED AT: core::Error core::http::initTcpIpAcceptor(core::http::SocketAcceptorService<boost::asio::ip::tcp>&, const std::string&, const std::string&) /home/ubuntu/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:82; LOGGED FROM: int main(int, char* const*) /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2600
rstudio doesn't work in LMDE without internet conexion.
6 messages · José Luis Cañadas, Dirk Eddelbuettel, Paul Gilbert +1 more
On 30 November 2012 at 00:26, Jos? Luis Ca?adas Reche wrote:
| Hello everybody. | | I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm | connecting , I don't have any problem to start Rstudio , but when I am | not connecting Rstudio don't start. | | | Any idea? Your networking configuration could be non-standard. Even offline, you should _always_ have a fallback 'localhost': edd at max:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.034 ms 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.029 ms 64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.034 ms ^C --- localhost ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.029/0.032/0.034/0.005 ms edd at max:~$ Do you? Dirk | | In rsession-user.log I get | 29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not | found (authoritative)); OCCURRED AT: core::Error | core::http::initTcpIpAcceptor(core::http::SocketAcceptorService<boost::asio::ip::tcp>&, | const std::string&, const std::string&) | /home/ubuntu/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:82; | LOGGED FROM: int main(int, char* const*) | /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2600 | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Possibly you are needing to load something from a network drive? Are you sure you have a local copy of RStudio, and R. and all their pieces, and any packages you may load automatically, and your own directories that they may use? Does R by itself start when you are not connected? Paul
On 12-11-29 08:34 PM, Dirk Eddelbuettel wrote:
On 30 November 2012 at 00:26, Jos? Luis Ca?adas Reche wrote: | Hello everybody. | | I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm | connecting , I don't have any problem to start Rstudio , but when I am | not connecting Rstudio don't start. | | | Any idea? Your networking configuration could be non-standard. Even offline, you should _always_ have a fallback 'localhost': edd at max:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.034 ms 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.029 ms 64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.034 ms ^C --- localhost ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.029/0.032/0.034/0.005 ms edd at max:~$ Do you? Dirk | | In rsession-user.log I get | 29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not | found (authoritative)); OCCURRED AT: core::Error | core::http::initTcpIpAcceptor(core::http::SocketAcceptorService<boost::asio::ip::tcp>&, | const std::string&, const std::string&) | /home/ubuntu/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:82; | LOGGED FROM: int main(int, char* const*) | /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2600 | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian
On 29 November 2012 at 20:45, Paul Gilbert wrote:
| Possibly you are needing to load something from a network drive? Are | you sure you have a local copy of RStudio, and R. and all their pieces, | and any packages you may load automatically, and your own directories | that they may use? Does R by itself start when you are not connected? I fear that's not it. Even the 'desktop' version of RStudio uses a webapp approach with the Qt-based code hitting the Boost asio-provided internal server -- hence the error codes below on http. So your machine is to be normally configured. Dirk | | Paul |
| On 12-11-29 08:34 PM, Dirk Eddelbuettel wrote:
| >
| > On 30 November 2012 at 00:26, Jos? Luis Ca?adas Reche wrote:
| > | Hello everybody. | > | | > | I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm | > | connecting , I don't have any problem to start Rstudio , but when I am | > | not connecting Rstudio don't start. | > | | > | | > | Any idea? | > | > Your networking configuration could be non-standard. Even offline, you should | > _always_ have a fallback 'localhost': | > | > edd at max:~$ ping localhost | > PING localhost (127.0.0.1) 56(84) bytes of data. | > 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.034 ms | > 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.029 ms | > 64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.034 ms | > ^C | > --- localhost ping statistics --- | > 3 packets transmitted, 3 received, 0% packet loss, time 1998ms | > rtt min/avg/max/mdev = 0.029/0.032/0.034/0.005 ms | > edd at max:~$ | > | > Do you? | > | > Dirk | > | > | | > | In rsession-user.log I get | > | 29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not | > | found (authoritative)); OCCURRED AT: core::Error | > | core::http::initTcpIpAcceptor(core::http::SocketAcceptorService<boost::asio::ip::tcp>&, | > | const std::string&, const std::string&) | > | /home/ubuntu/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:82; | > | LOGGED FROM: int main(int, char* const*) | > | /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2600 | > | | > | _______________________________________________ | > | R-SIG-Debian mailing list | > | R-SIG-Debian at r-project.org | > | https://stat.ethz.ch/mailman/listinfo/r-sig-debian | > | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Ok. Thanks.. I'll try later, now I'm in work. Where I use LMDE 32 bits and Rstudio works fine even without conexion. I'm newbie in linux and I don't know how to see the differences between my two machines. El 30/11/12 02:34, Dirk Eddelbuettel escribi?:
On 30 November 2012 at 00:26, Jos? Luis Ca?adas Reche wrote: | Hello everybody. | | I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm | connecting , I don't have any problem to start Rstudio , but when I am | not connecting Rstudio don't start. | | | Any idea? Your networking configuration could be non-standard. Even offline, you should _always_ have a fallback 'localhost': edd at max:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.034 ms 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.029 ms 64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.034 ms ^C --- localhost ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.029/0.032/0.034/0.005 ms edd at max:~$ Do you? Dirk | | In rsession-user.log I get | 29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not | found (authoritative)); OCCURRED AT: core::Error | core::http::initTcpIpAcceptor(core::http::SocketAcceptorService<boost::asio::ip::tcp>&, | const std::string&, const std::string&) | /home/ubuntu/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:82; | LOGGED FROM: int main(int, char* const*) | /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2600 | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian
In a terminal: ifconifg in the results there should be an entry for lo (aka loopback device/your local machine) if it's missing edit /etc/network/interfaces make sure it has a section like: # The loopback network interface auto lo iface lo inet loopback if that seems fine look in /etc/hosts make sure you have a line like: 127.0.0.1 localhost All of the above is the defaults for most Linux distros, but maybe something is missing. Thanks, Alex
On 11/29/2012 11:40 PM, Jos? Luis Ca?adas wrote:
Ok. Thanks.. I'll try later, now I'm in work. Where I use LMDE 32 bits and Rstudio works fine even without conexion. I'm newbie in linux and I don't know how to see the differences between my two machines. El 30/11/12 02:34, Dirk Eddelbuettel escribi?:
On 30 November 2012 at 00:26, Jos? Luis Ca?adas Reche wrote: | Hello everybody. | | I'm using Rstudio in LMDE (64 bits) with xfce desktop. When I'm | connecting , I don't have any problem to start Rstudio , but when I am | not connecting Rstudio don't start. | | | Any idea? Your networking configuration could be non-standard. Even offline, you should _always_ have a fallback 'localhost': edd at max:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.034 ms 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.029 ms 64 bytes from localhost (127.0.0.1): icmp_req=3 ttl=64 time=0.034 ms ^C --- localhost ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.029/0.032/0.034/0.005 ms edd at max:~$ Do you? Dirk | | In rsession-user.log I get | 29 Nov 2012 23:07:50 [rsession-jose] ERROR asio.netdb error 1 (Host not | found (authoritative)); OCCURRED AT: core::Error | core::http::initTcpIpAcceptor(core::http::SocketAcceptorService<boost::asio::ip::tcp>&, | const std::string&, const std::string&) | /home/ubuntu/rstudio/src/cpp/core/include/core/http/TcpIpSocketUtils.hpp:82; | LOGGED FROM: int main(int, char* const*) | /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2600 | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian
_______________________________________________ R-SIG-Debian mailing list R-SIG-Debian at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian