[R] To Supporting graphpad prism in R, add external library to poratbleR

Ashish Ranjan aranjan1645 at gmail.com
Tue Jul 25 16:27:31 CEST 2017

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
(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
  /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required
Error: package or namespace load failed for ‘dplyr’
Execution halted

Ashish Ranjan

On Tue, Jul 25, 2017 at 7:09 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>

> 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]]

More information about the R-help mailing list