shoha99 / concerto-platform

Automatically exported from code.google.com/p/concerto-platform
0 stars 0 forks source link

concerto R package installation FAILED. #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I installed concerto R packages as given in installation information in 
(http://code.google.com/p/concerto-platform/wiki/installation4) step 3 of the 
tutorials provided.the results are like this-
$ sudo R CMD INSTALL -l /usr/lib/R/library concerto
* installing *source* package ‘concerto’ ...
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (concerto)
2. After doing this the setup/ pages shows that concerto package is not 
installed.

What is the expected output? What do you see instead?

On running http://mydomain/{concerto_directory}/setup it shows concerto R 
package not installed. Recommendation shows that install concerto R package to 
main R library directory

What version of the product are you using? On what operating system?
I am using concertov4.0.0 beta4 and R v3.0.1 on ubuntu13.04

Original issue reported on code.google.com by g.himans...@gmail.com on 12 Jun 2013 at 8:24

GoogleCodeExporter commented 8 years ago
Can you load the package in R directly ?

library(concerto)

Original comment by LisPrzem...@gmail.com on 12 Jun 2013 at 3:21

GoogleCodeExporter commented 8 years ago
As per your response related to my query the installed packages in R show 
concerto as being installed over there still I am facing the same issue.
Any help regarding that please.

Original comment by g.himans...@gmail.com on 13 Jun 2013 at 4:22

GoogleCodeExporter commented 8 years ago
Please try to login as your Apache user (probably www-data) and then try to 
load the package in R directly

library(concerto)

Original comment by LisPrzem...@gmail.com on 13 Jun 2013 at 11:40

GoogleCodeExporter commented 8 years ago
I have followed all the steps as mentioned in Version 4 installation page. 
however, i am getting the error message that "concerto R package is not 
installed." what you think where i have gone wrong. 

Original comment by shahzadh...@gmail.com on 1 Jun 2014 at 7:06

Attachments:

GoogleCodeExporter commented 8 years ago
I followed all the instructions as mentioned in this page
https://code.google.com/p/concerto-platform/wiki/installation4

Please advise me....im desperately in need

REgards

Original comment by shahzadh...@gmail.com on 1 Jun 2014 at 7:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please run in R console:
.libPaths()
to check for library directories R is looking in for installed libraries. Is 
there a directory you used in installation command (sudo R CMD INSTALL -l 
[directory]) present?

Original comment by LisPrzem...@gmail.com on 2 Jun 2014 at 9:30

GoogleCodeExporter commented 8 years ago
I am also facing the same problem after following all the instructions given. 
Please can someone add more explanation or alternative for this.

Original comment by nileshbi...@gmail.com on 28 Sep 2014 at 2:25

GoogleCodeExporter commented 8 years ago
From within R console, as a root user do:

install.packages("rjson")
install.packages("session")
install.packages("RMySQL")

Before installing "concerto" package. Did this helped?

Original comment by LisPrzem...@gmail.com on 29 Sep 2014 at 11:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,

I have tried everything possible on earth to rectify this same error. Could you 
please tell us in detail about why is this error happening and how can we 
rectify it?

Original comment by guptama...@gmail.com on 16 Nov 2014 at 11:09

GoogleCodeExporter commented 8 years ago
The problem you have is because library is not accessible for web user.
Everyone who has this problem please post:
1) name of the Linux user that installed the library
2) directory where the library was installed (please double check that it's 
there)
3) output of R .libPaths() function

Original comment by LisPrzem...@gmail.com on 17 Nov 2014 at 1:59

GoogleCodeExporter commented 8 years ago
Hi,

Thanks for helping out here. The name of the Linux user in my case is "ubuntu" 
and all the packages i.e. concerto, RMySQL, session and rjson are present in 
the first path as suggested by the .libPaths() function output below:

[1] "/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.0"
[2] "/usr/local/lib/R/site-library"                 
[3] "/usr/lib/R/site-library"                       
[4] "/usr/lib/R/library"

Are you suggesting that the installer will pick up concerto package 
installation only when all the above packages are present in library path 2 to 
4 and not 1 ? I remember that I had to forcibly install RMySQL in path 1 
because of some user permission issues while installing it in the other 
directories.

Original comment by guptama...@gmail.com on 17 Nov 2014 at 7:23

GoogleCodeExporter commented 8 years ago
@guptamanil

This is why it's stated in installation step #3 that you should install the 
library with root user. You've installed it to "ubuntu" user private library 
and it seems that Concerto is run by some other user then "ubuntu" so the 
library is not available.

Original comment by LisPrzem...@gmail.com on 18 Nov 2014 at 9:00

GoogleCodeExporter commented 8 years ago
Thanks ! It's working now. Missing a crucial step could be hazardous sometimes 
:)

Original comment by guptama...@gmail.com on 22 Nov 2014 at 1:12

GoogleCodeExporter commented 8 years ago

Original comment by LisPrzem...@gmail.com on 29 Dec 2014 at 1:01