I really don't know about this special-purpose distribution of R... you should probably contact the developer.
From the error, I wonder whether you followed the instructions on the portableR web page link that you quoted. Do you have the directories referred to there in place? -- Sent from my phone. Please excuse my brevity. On July 25, 2017 7:27:31 AM PDT, Ashish Ranjan <aranjan1...@gmail.com> wrote: >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 ><jdnew...@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 ><aranjan1...@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@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. >> ______________________________________________ R-help@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.