support for ipumsr package?

rstudiocloud
#1

Hey folks:

Link to project here:https://rstudio.cloud/project/180109

This is a feature request. I'd like to be able to use the ipumsr package in rstudio cloud. When I try to install it, looks like it depends on another package called hipread. But installation of hipread fails, with an error message that is way above my level...something about g++, compilation, etc. I've pasted the output below.

Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependencies ‘hipread’, ‘zeallot’

trying URL 'http://package-proxy/src/contrib/hipread_0.1.1.tar.gz'
Content type 'application/x-gzip' length 34108 bytes (33 KB)
==================================================
downloaded 33 KB

trying URL 'http://package-proxy/src/contrib/zeallot_0.1.0.tar.gz'
Content type 'application/x-gzip' length 32616 bytes (31 KB)
==================================================
downloaded 31 KB

trying URL 'http://package-proxy/src/contrib/ipumsr_0.3.0.tar.gz'
Content type 'application/x-gzip' length 1992649 bytes (1.9 MB)
==================================================
downloaded 1.9 MB

* installing *source* package ‘hipread’ ...
** package ‘hipread’ successfully unpacked and MD5 sums checked
** libs
g++ -std=gnu++11 -I"/opt/R/3.5.2/lib/R/include" -DNDEBUG  -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -I/usr/local/include   -fpic  -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/opt/R/3.5.2/lib/R/include" -DNDEBUG  -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -I/usr/local/include   -fpic  -g -O2 -c column.cpp -o column.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make: *** [column.o] Error 4
ERROR: compilation failed for package ‘hipread’
/opt/R/3.5.2/lib/R/etc/Makeconf:171: recipe for target 'column.o' failed
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/hipread’
Warning in install.packages :
  installation of package ‘hipread’ had non-zero exit status
* installing *source* package ‘zeallot’ ...
** package ‘zeallot’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (zeallot)
ERROR: dependency ‘hipread’ is not available for package ‘ipumsr’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/ipumsr’
Warning in install.packages :
  installation of package ‘ipumsr’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpE0mZ3a/downloaded_packages’
=========================
downloaded 281 KB

Thank you!

0 Likes

#2

We will look into caching hipread to get past this issue and update this topic when it is in place.

0 Likes

#3

hipread is now cached, please try installing ipumsr again!

1 Like

#4

It worked!

Thanks!!!!!!

0 Likes

#5

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

0 Likes

closed #6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

0 Likes