Comments (23)
Thanks again!! :)
Overall, all I needed to do was this...
(for ubuntu or debian)
sudo apt-get install librsvg2-dev
sudo su - -c "R -e "install.packages('rsvg', repos='http://vnijs.github.io/radiant_miniCRAN/')\""
sudo su - -c "R -e "install.packages('radiant', repos='http://vnijs.github.io/radiant_miniCRAN/')\""
and I was good!!!
from radiant.
For a linux server remove type = 'binary'
and make sure to specify the correct repo (see below) . It should install from source and the latest version of Radiant is available. Note that you cannot knit
reports on a server as this would be a security risk.
install.packages("radiant", repos = "http://vnijs.github.io/radiant_miniCRAN/")
from radiant.
I tried this
sudo su - -c "R -e "install.packages('radiant', repos='http://vnijs.github.io/radiant_miniCRAN/')\""
It tells me the same when I run the install.packages (in r)
Warning messages:
1: In install.packages("radiant", repos = "http://vnijs.github.io/radiant_miniCRAN/") :
installation of package ‘rsvg’ had non-zero exit status
2: In install.packages("radiant", repos = "http://vnijs.github.io/radiant_miniCRAN/") :
installation of package ‘DiagrammeR’ had non-zero exit status
3: In install.packages("radiant", repos = "http://vnijs.github.io/radiant_miniCRAN/") :
installation of package ‘radiant’ had non-zero exit status
from radiant.
On linux rsvg
may require you to install a system utility first. Try the following and then see what it needs:
install.packages("rsvg", repos = "http://vnijs.github.io/radiant_miniCRAN/")
from radiant.
gibberish to me, but maybe this rings a bell to you...?
install.packages('rsvg', repos='http://vnijs.github.io/radiant_miniCRAN/')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL '
http://vnijs.github.io/radiant_miniCRAN/src/contrib/rsvg_0.4.tar.gz'Content type 'application/octet-stream' length 7857 bytes
downloaded 7857 bytes
- installing source package ‘rsvg’ ...
** package ‘rsvg’ successfully unpacked and MD5 sums checked
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `librsvg-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librsvg-2.0' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lrsvg
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because librsvg-2.0 was not found. Try installing:- deb: librsvg2-dev (Debian, Ubuntu, etc)
- rpm: librsvg2-devel (Fedora, EPEL)
- csw: librsvg_dev, sunx11_devel (Solaris)
-
brew: librsvg (OSX)
ERROR: configuration failed for package ‘rsvg’
If librsvg-2.0 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a librsvg-2.0.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
- removing ‘/usr/local/lib/R/site-library/rsvg’
The downloaded source packages are in
‘/tmp/RtmpQJaxCh/downloaded_packages’
Warning message:
In install.packages("rsvg", repos = "
http://vnijs.github.io/radiant_miniCRAN/") :
installation of package ‘rsvg’ had non-zero exit status
On Thu, Mar 31, 2016 at 10:19 PM, Vincent Nijs [email protected]
wrote:
On linux rsvg may require you to install a system utility first. Try the
following and then see what it needs:install.packages("rsvg", repos = "http://vnijs.github.io/radiant_miniCRAN/
")—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#50 (comment)
from radiant.
The utility it needs is shown in the message as suggested.
"No package 'librsvg-2.0' found"
If you are using Ubuntu you would need something like
sudo apt-get install librsvg2-bin
from radiant.
sudo apt-get install librsvg2-bin
ran... but now i tried the rsvg again and had no luck
from radiant.
I am trying
sudo apt-get install librsvg2-dev
since thts what the error recomended
from radiant.
awesome!! that unlocked it and let me download radiant on ubuntu!! Later int he summer when im bored, ill write a how-to on radiant inside digital ocean! :)
from radiant.
Glad that worked. Good to have this a (closed) issue in case others run into the same thing.
from radiant.
I ran into issues installing radiant on an under-powered ubuntu server. The problem was that R on ubuntu requires that dependencies be compiled locally from the R source code (downloaded from cran) but compiling sometimes required more than the 1GB RAM on my system. The work around is to install the packages from precompiled binaries as follows:
sudo apt-get update # refresh
sudo apt-get install software-properties-common
sudo add-apt-repository -y "ppa:marutter/rrutter"
sudo add-apt-repository -y "ppa:marutter/c2d4u"
sudo apt-get update # now with new repos
sudo apt-get install r-cran-readr # now replace readr with the names of the dependencies that previously failed to install.
Notice that this may be risky because these files were not officially compiled/distributed by cran. Hope this can help someone else facing this issue!
from radiant.
@RSchwinn I forgot that ubuntu offers binaries for (some) R-packages. Thanks for sharing.
FYI Radiant development moved to https://github.com/radiant-rstats a while back. Install instructions are available at: https://radiant-rstats.github.io/docs/install.html
from radiant.
from radiant.
FYI Radiant development moved to https://github.com/radiant-rstats a while back. Install instructions are available at: https://radiant-rstats.github.io/docs/install.html
from radiant.
from radiant.
Please clarify what you mean @subhashjaini. Example?
from radiant.
from radiant.
from radiant.
I think you are asking about running Radiant inside sqlserver. If so ... I have never done anything like that. If that is not what you are after, please provide (a lot) more detail.
from radiant.
from radiant.
Sorry. No idea what you mean by "r session" here :)
Are you trying to access data from the global environment or from a database? You can use Data > Manage to access data in the global environment. If you want data from a database, use Report > Rmd and specify the connection information. Then "register" the data.frame so you can access it from the dropdown menu's (https://radiant-rstats.github.io/radiant.data/reference/register.html)
from radiant.
from radiant.
Radiant uses the shiny package to communicate between an R process and the browser. There is no communication between different R sessions. Maybe shiny is something you could use or else perhaps https://github.com/r-lib/callr
from radiant.
Related Issues (20)
- Error: package ‘radiant’ is available as a source package but not as a binary HOT 3
- Geom_line color HOT 4
- lost the sync of my fork HOT 3
- Decision Tree: Issue with cost HOT 7
- Package ‘radiant’ was removed from the CRAN repository. HOT 8
- avoid MathJaxR dependency HOT 9
- Chi- Squared distribution Mean HOT 3
- Add URL param that would cause the session to NOT be saved HOT 1
- trouble loading radiant HOT 3
- logo HOT 4
- Dropdown variable list doesnt showup in the Visualize option HOT 1
- make my bar graphs have manually selected colors HOT 3
- Download button doesn't work properly HOT 2
- Readme has git merge conflict markers HOT 2
- Command options not generating when added to report HOT 4
- Regression - Center Option HOT 4
- Training Variable: same seed, different outputs HOT 3
- simulater for poisson restrict lambda to integer; result is constant 0 for lambda in (0,1) HOT 1
- How to set directory for load the data? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiant.