Ashish Ranjan
2017-Jul-25 10:43 UTC
[R] To Supporting graphpad prism in R, add external library to poratbleR
Hi Team, Please suggest me on below :- 1).are There any linux based library for dplyr and tidyr? I could find these r-libraries for windows and Mac but not for linux. 2). is it possible to add external library to portableR zip(http://nafiux.github.io/portableR/) file if yes then how to add external library to poratbleR zip file? In our application AWS lambda invoking the R-script by using portableR zip file.we want to add new external dplyr library to this poratbleR zip file. Thanks Ashish Ranjan [[alternative HTML version deleted]]
Jeff Newmiller
2017-Jul-25 13:39 UTC
[R] To Supporting graphpad prism in R, add external library to poratbleR
1) Definitely yes. They are on CRAN. Just type
install.packages( c("dplyr", "tidyr" ) )
at the R console.
2) Don't know, but most likely the answer is yes. Since all R packages on
Linux are compiled by R when installed, you either need to activate your virtual
machine, compile the packages, and save the state for future use, or you have to
build the package library on another compatible architecture and copy the
library into the VM image. I suggest you read the portableR documentation and
the R Installation and Administration manual.
--
Sent from my phone. Please excuse my brevity.
On July 25, 2017 3:43:11 AM PDT, Ashish Ranjan <aranjan1645 at gmail.com>
wrote:>Hi Team,
>
>Please suggest me on below :-
>
>1).are There any linux based library for dplyr and tidyr? I could find
>these r-libraries for windows and Mac but not for linux. 2). is it
>possible
>to add external library to portableR
>zip(http://nafiux.github.io/portableR/)
>file if yes then how to add external library to poratbleR zip file?
>
>In our application AWS lambda invoking the R-script by using portableR
>zip
>file.we want to add new external dplyr library to this poratbleR zip
>file.
>
>
>Thanks
>
>Ashish Ranjan
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at 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.
Ashish Ranjan
2017-Jul-25 14:27 UTC
[R] To Supporting graphpad prism in R, add external library to poratbleR
Hi Jeff,
1). I have tried install.packages( c("dplyr", "tidyr" ) )
into the r-script
file got below error:-
> install.packages( c("dplyr", "tidyr" ) )
Installing packages into
?/tmp/1776492876238396447/lib/portableR-master/site-library?
(as ?lib? is unspecified)
Error in install.packages(c("dplyr", "tidyr")) :
This version of R is not set up to install source packages
If it was installed from an RPM, you may need the R-devel RPM
Execution halted
2). I have also tried these steps in R-console (install.packages(
c("dplyr", "tidyr" ) )), able to install these library into
linux based R
machine. after that tried to copy the lib folder to my portable R site
library folder got the various error but i have resolved many now getting
below error which unable to resolve
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/tmp/3971881046757600243/lib/portableR-master/site-library/Rcpp/libs/Rcpp.so':
/usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required
by
/tmp/3971881046757600243/lib/portableR-master/site-library/Rcpp/libs/Rcpp.so)
Error: package or namespace load failed for ?dplyr?
Execution halted
Thanks
Ashish Ranjan
On Tue, Jul 25, 2017 at 7:09 PM, Jeff Newmiller <jdnewmil at
dcn.davis.ca.us>
wrote:
> 1) Definitely yes. They are on CRAN. Just type
>
> install.packages( c("dplyr", "tidyr" ) )
>
> at the R console.
>
> 2) Don't know, but most likely the answer is yes. Since all R packages
on
> Linux are compiled by R when installed, you either need to activate your
> virtual machine, compile the packages, and save the state for future use,
> or you have to build the package library on another compatible architecture
> and copy the library into the VM image. I suggest you read the portableR
> documentation and the R Installation and Administration manual.
> --
> Sent from my phone. Please excuse my brevity.
>
> On July 25, 2017 3:43:11 AM PDT, Ashish Ranjan <aranjan1645 at
gmail.com>
> wrote:
> >Hi Team,
> >
> >Please suggest me on below :-
> >
> >1).are There any linux based library for dplyr and tidyr? I could find
> >these r-libraries for windows and Mac but not for linux. 2). is it
> >possible
> >to add external library to portableR
> >zip(http://nafiux.github.io/portableR/)
> >file if yes then how to add external library to poratbleR zip file?
> >
> >In our application AWS lambda invoking the R-script by using portableR
> >zip
> >file.we want to add new external dplyr library to this poratbleR zip
> >file.
> >
> >
> >Thanks
> >
> >Ashish Ranjan
> >
> > [[alternative HTML version deleted]]
> >
> >______________________________________________
> >R-help at 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.
>
[[alternative HTML version deleted]]
Seemingly Similar Threads
- To Supporting graphpad prism in R, add external library to poratbleR
- To Supporting graphpad prism in R, add external library to poratbleR
- To Supporting graphpad prism in R, add external library to poratbleR
- tidyverse repeating error: "object 'rlang_mut_env_parent' not found"
- Unexpected behaviour when comparing (==) long quoted expressions