Re: [R] installation problem for a new package
Do use "reply-all"... others may be able to respond more quickly or more accurately than I. I have re-introduced the mailing list to this reply. For example, if you read [1] it says there is a system requirement that the completely separate gmp software be installed using your system software installation tools. I happen to be unfamiliar with the details of MacOS system administration, so I cannot offer useful guidance other than that you need to solve this and that there exists a mailing list dedicated to such MacOS-specific questions about R [2]. You can of course simply Google for similar threads or blogs about gmp on MacOS to find clues as well. I will also add that there seem to be a variety of conditions that can cause the automatic dependency management features of install.packages() to fail, and in such cases it is normal to focus on installing the problematic dependent packages one at a time. This is particularly true in this case where there are requirements for the dependency beyond what R can deal with, so ignoring advice from those with more experience than yourself about focusing on the dependency separately is probably less productive than simply following that advice. [1] https://cran.r-project.org/web/packages/gmp/index.html [2] https://stat.ethz.ch/mailman/listinfo/r-sig-mac On February 24, 2022 12:11:14 PM PST, Tariq Khasiri wrote: >Will correct my formatting as you kindly suggested. > >I believe gmp and CVXR is not getting installed but with the dependencies, >it's supposed to be installed as the package builder posted in his website. >Therefore, I'm quite puzzled that do I need to install the other two >packages separately or not? > >install_github("asheshrambachan/HonestDiD", dependencies = TRUE) >Downloading GitHub repo asheshrambachan/HonestDiD@HEAD >Installing 1 packages: gmp > > There is a binary version available but the source version is later: > binary source needs_compilation >gmp 0.6-2.1 0.6-4 TRUE > >Do you want to install from sources the package which needs compilation? >(Yes/no/cancel) yes >installing the source package ‘gmp’ > >trying URL 'https://cran.rstudio.com/src/contrib/gmp_0.6-4.tar.gz' >Content type 'application/x-gzip' length 163941 bytes (160 KB) >== >downloaded 160 KB > >* installing *source* package ‘gmp’ ... >** package ‘gmp’ successfully unpacked and MD5 sums checked >** using staged installation >checking for gcc... clang -mmacosx-version-min=10.13 >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang -mmacosx-version-min=10.13 accepts -g... yes >checking for clang -mmacosx-version-min=10.13 option to accept ISO C89... >none needed >checking how to run the C preprocessor... clang -mmacosx-version-min=10.13 >-E >checking whether we are using the GNU C++ compiler... yes >checking whether clang++ -mmacosx-version-min=10.13 -std=gnu++14 accepts >-g... yes >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for ANSI C header files... rm: conftest.dSYM: is a directory >rm: conftest.dSYM: is a directory >yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking gmp.h usability... no >checking gmp.h presence... no >checking for gmp.h... no >configure: error: Header file gmp.h not found; maybe use >--with-gmp-include=INCLUDE_PATH >ERROR: configuration failed for package ‘gmp’ >* removing >‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/gmp’ > >The downloaded source packages are in >‘/private/var/folders/4m/tvx9lnqs0rx6wgnysxz36vm0gp/T/Rtmpk3pocK/downloaded_packages’ >✓ checking for file >‘/private/var/folders/4m/tvx9lnqs0rx6wgnysxz36vm0gp/T/Rtmpk3pocK/remotes86e84daddc5e/asheshrambachan-HonestDiD-419f305/DESCRIPTION’ >... >─ preparing ‘HonestDiD’: >✓ checking DESCRIPTION meta-information ... >─ checking for LF line-endings in source and make files and shell scripts >─ checking for empty or unneeded directories >─ building ‘HonestDiD_0.2.0.tar.gz’ > >* installing *source* package ‘HonestDiD’ ... >** using staged installation >** R >** data >*** moving datasets to lazyload DB >** inst >** byte-compile and prepare package for lazy loading >Error: package or namespace load failed for ‘CVXR’ in loadNamespace(j <- >i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): > there is no package called ‘gmp’ >Error: package ‘CVXR’ could not be loaded >Execution halted >ERROR: lazy loading failed for package
Re: [R] installation problem for a new package
These messages seem relevant: >Error: package �CVXR’ could not be loaded >Warning messages: >1: In i.p(...) : installation of package �gmp’ had non-zero exit status You need to make sure these packages are installed successfully before the package you are interested will install. Please don't send formatted email to this list ... as the Posting Guide indicates, the list is for plain text and others may receive a garbled version of what you sent it your email program is not configured properly. On February 24, 2022 11:43:05 AM PST, Tariq Khasiri wrote: >Hello everyone, > >I'm trying to install a package honestdid and following the commands of the >developer of that package > ># Install some packages >library(devtools) >install_github("bcallaway11/BMisc", dependencies = TRUE) >install_github("bcallaway11/did", dependencies = TRUE) >install_github("asheshrambachan/HonestDiD", dependencies = TRUE) > > >But, the error message is saying: > >* installing *source* package �HonestDiD’ ... >** using staged installation >** R >** data >*** moving datasets to lazyload DB >** inst >** byte-compile and prepare package for lazy loading >Error: package or namespace load failed for �CVXR’ in loadNamespace(j ><- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): > there is no package called �gmp’ >Error: package �CVXR’ could not be loaded >Execution halted >ERROR: lazy loading failed for package �HonestDiD’ >* removing >�/Library/Frameworks/R.framework/Versions/4.1/Resources/library/HonestDiD’ >Warning messages: >1: In i.p(...) : installation of package �gmp’ had non-zero exit status >2: In i.p(...) : > installation of package >�/var/folders/4m/tvx9lnqs0rx6wgnysxz36vm0gp/T//Rtmpk3pocK/file86e83034c58c/HonestDiD_0.2.0.tar.gz’ >had non-zero exit status > > >Can anyone guide me why i'm having this issue? Thanks in advance ! > > [[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. -- Sent from my phone. Please excuse my brevity. __ 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.
Re: [R] installation problem on Ubuntu
> On Apr 22, 2016, at 12:47 PM, Paul Tremblaywrote: > > LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH > source ~/.bash_profile On my machine Sys.getenv("LD_LIBRARY_PATH") returns "" in R and echo $LD_LIBRARY_PATH likewise returns only a carriage return from a bash console, but I'm on a UNIX box and Linux may be different. You might try posting on R-SIG-Debian since Ubuntu is a fork of Debian. Best; David. > > I still get the same error. > > On Thu, Apr 21, 2016 at 7:45 PM, David Winsemius > wrote: > > > On Apr 21, 2016, at 1:23 PM, Paul Tremblay wrote: > > > > I was able to install the curl library with no problems. However, when I > > tried to install ggplot (install.packages("ggplot2")), I got the same > > message as earlier, that R can't load internet.so. > > Is the libcurl directory in your search path? > > David. > > > > Thanks for your help! > > > > On Wed, Apr 20, 2016 at 1:24 PM, Tom Wright wrote: > > > >> apt-get install curl libcurl4-openssl-dev > >> > >> On Wed, 2016-04-20 at 09:36 -0700, Paul Tremblay wrote: > >>> I needed to update R so I could install ggplot. I am running Ubuntu > >> 12.04. > >>> I cannot upgrade Ubuntu because I am using a work computer. > >>> > >>> I tried upgrading the normal way: > >>> > >>> sudo apt-get update > >>> sudo apt-get install r-base r-base-dev > >>> > >>> But this only installed an earlier version. Finally I tried installing > >> from > >>> source (./configure, Make install). This worked. However, when I try to > >>> install packages, I get this error: > >>> > >>> Error in download.file(url, destfile = f, quiet = TRUE) : > >>> internet routines cannot be loaded > >>> In addition: Warning message: > >>> In download.file(url, destfile = f, quiet = TRUE) : > >>> unable to load shared object '/usr/local/lib/R/modules//internet.so': > >>> /usr/local/lib/R/modules//internet.so: undefined symbol: > >> curl_multi_wait > >>> > >>> > > ls /usr/local/lib/R/modules/ > > R_X11.so R_de.so internet.so lapack.so > >>> > >>> Thanks! > >>> > >>> P > >>> > >>> [[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. > >> > >> > >> > > > > [[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. > > David Winsemius > Alameda, CA, USA > > David Winsemius Alameda, CA, USA __ 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.
Re: [R] installation problem on Ubuntu
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH source ~/.bash_profile I still get the same error. On Thu, Apr 21, 2016 at 7:45 PM, David Winsemiuswrote: > > > On Apr 21, 2016, at 1:23 PM, Paul Tremblay > wrote: > > > > I was able to install the curl library with no problems. However, when I > > tried to install ggplot (install.packages("ggplot2")), I got the same > > message as earlier, that R can't load internet.so. > > Is the libcurl directory in your search path? > > David. > > > > Thanks for your help! > > > > On Wed, Apr 20, 2016 at 1:24 PM, Tom Wright wrote: > > > >> apt-get install curl libcurl4-openssl-dev > >> > >> On Wed, 2016-04-20 at 09:36 -0700, Paul Tremblay wrote: > >>> I needed to update R so I could install ggplot. I am running Ubuntu > >> 12.04. > >>> I cannot upgrade Ubuntu because I am using a work computer. > >>> > >>> I tried upgrading the normal way: > >>> > >>> sudo apt-get update > >>> sudo apt-get install r-base r-base-dev > >>> > >>> But this only installed an earlier version. Finally I tried installing > >> from > >>> source (./configure, Make install). This worked. However, when I try to > >>> install packages, I get this error: > >>> > >>> Error in download.file(url, destfile = f, quiet = TRUE) : > >>> internet routines cannot be loaded > >>> In addition: Warning message: > >>> In download.file(url, destfile = f, quiet = TRUE) : > >>> unable to load shared object '/usr/local/lib/R/modules//internet.so': > >>> /usr/local/lib/R/modules//internet.so: undefined symbol: > >> curl_multi_wait > >>> > >>> > > ls /usr/local/lib/R/modules/ > > R_X11.so R_de.so internet.so lapack.so > >>> > >>> Thanks! > >>> > >>> P > >>> > >>> [[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. > >> > >> > >> > > > > [[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. > > David Winsemius > Alameda, CA, USA > > [[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.
Re: [R] installation problem on Ubuntu
> On Apr 21, 2016, at 1:23 PM, Paul Tremblaywrote: > > I was able to install the curl library with no problems. However, when I > tried to install ggplot (install.packages("ggplot2")), I got the same > message as earlier, that R can't load internet.so. Is the libcurl directory in your search path? David. > > Thanks for your help! > > On Wed, Apr 20, 2016 at 1:24 PM, Tom Wright wrote: > >> apt-get install curl libcurl4-openssl-dev >> >> On Wed, 2016-04-20 at 09:36 -0700, Paul Tremblay wrote: >>> I needed to update R so I could install ggplot. I am running Ubuntu >> 12.04. >>> I cannot upgrade Ubuntu because I am using a work computer. >>> >>> I tried upgrading the normal way: >>> >>> sudo apt-get update >>> sudo apt-get install r-base r-base-dev >>> >>> But this only installed an earlier version. Finally I tried installing >> from >>> source (./configure, Make install). This worked. However, when I try to >>> install packages, I get this error: >>> >>> Error in download.file(url, destfile = f, quiet = TRUE) : >>> internet routines cannot be loaded >>> In addition: Warning message: >>> In download.file(url, destfile = f, quiet = TRUE) : >>> unable to load shared object '/usr/local/lib/R/modules//internet.so': >>> /usr/local/lib/R/modules//internet.so: undefined symbol: >> curl_multi_wait >>> >>> > ls /usr/local/lib/R/modules/ > R_X11.so R_de.so internet.so lapack.so >>> >>> Thanks! >>> >>> P >>> >>> [[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. >> >> >> > > [[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. David Winsemius Alameda, CA, USA __ 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.
Re: [R] installation problem on Ubuntu
I was able to install the curl library with no problems. However, when I tried to install ggplot (install.packages("ggplot2")), I got the same message as earlier, that R can't load internet.so. Thanks for your help! On Wed, Apr 20, 2016 at 1:24 PM, Tom Wrightwrote: > apt-get install curl libcurl4-openssl-dev > > On Wed, 2016-04-20 at 09:36 -0700, Paul Tremblay wrote: > > I needed to update R so I could install ggplot. I am running Ubuntu > 12.04. > > I cannot upgrade Ubuntu because I am using a work computer. > > > > I tried upgrading the normal way: > > > > sudo apt-get update > > sudo apt-get install r-base r-base-dev > > > > But this only installed an earlier version. Finally I tried installing > from > > source (./configure, Make install). This worked. However, when I try to > > install packages, I get this error: > > > > Error in download.file(url, destfile = f, quiet = TRUE) : > > internet routines cannot be loaded > > In addition: Warning message: > > In download.file(url, destfile = f, quiet = TRUE) : > > unable to load shared object '/usr/local/lib/R/modules//internet.so': > > /usr/local/lib/R/modules//internet.so: undefined symbol: > curl_multi_wait > > > > > > >> ls /usr/local/lib/R/modules/ > > >> R_X11.so R_de.so internet.so lapack.so > > > > Thanks! > > > > P > > > > [[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. > > > [[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.
Re: [R] installation problem on Ubuntu
Hi Paul, Please keep the list copied so that others might chime in with suggestions. I'm afraid "no success" is too vague to be useful. What did you do, and what errors did you encounter? Best, Ista On Thu, Apr 21, 2016 at 1:48 PM, Paul Tremblaywrote: > Yes, I tried those instructions as well with no success. > > On Wed, Apr 20, 2016 at 12:45 PM, Ista Zahn wrote: >> >> Hi Paul, >> >> Did you read the installation instructions for Ubuntu at >> https://cloud.r-project.org/bin/linux/ubuntu/ ? >> >> Best, >> Ista >> >> >> On Wed, Apr 20, 2016 at 12:36 PM, Paul Tremblay >> wrote: >> > I needed to update R so I could install ggplot. I am running Ubuntu >> > 12.04. >> > I cannot upgrade Ubuntu because I am using a work computer. >> > >> > I tried upgrading the normal way: >> > >> > sudo apt-get update >> > sudo apt-get install r-base r-base-dev >> > >> > But this only installed an earlier version. Finally I tried installing >> > from >> > source (./configure, Make install). This worked. However, when I try to >> > install packages, I get this error: >> > >> > Error in download.file(url, destfile = f, quiet = TRUE) : >> > internet routines cannot be loaded >> > In addition: Warning message: >> > In download.file(url, destfile = f, quiet = TRUE) : >> > unable to load shared object '/usr/local/lib/R/modules//internet.so': >> > /usr/local/lib/R/modules//internet.so: undefined symbol: >> > curl_multi_wait >> > >> > >> >>> ls /usr/local/lib/R/modules/ >> >>> R_X11.so R_de.so internet.so lapack.so >> > >> > Thanks! >> > >> > P >> > >> > [[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.
Re: [R] installation problem on Ubuntu
Have you read the CRAN instructions for installing on Ubuntu? Have you read the Posting Guide that mentions the R-sig-debian mailing list and that if you need help compiling R this is not the right list? -- Sent from my phone. Please excuse my brevity. On April 20, 2016 9:36:51 AM PDT, Paul Tremblaywrote: >I needed to update R so I could install ggplot. I am running Ubuntu >12.04. >I cannot upgrade Ubuntu because I am using a work computer. > >I tried upgrading the normal way: > >sudo apt-get update > sudo apt-get install r-base r-base-dev > >But this only installed an earlier version. Finally I tried installing >from >source (./configure, Make install). This worked. However, when I try to >install packages, I get this error: > >Error in download.file(url, destfile = f, quiet = TRUE) : > internet routines cannot be loaded >In addition: Warning message: >In download.file(url, destfile = f, quiet = TRUE) : > unable to load shared object '/usr/local/lib/R/modules//internet.so': >/usr/local/lib/R/modules//internet.so: undefined symbol: >curl_multi_wait > > >>> ls /usr/local/lib/R/modules/ >>> R_X11.so R_de.so internet.so lapack.so > >Thanks! > >P > > [[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. [[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.
Re: [R] Installation problem
Google suggests that that error message is usually associated with cell phone browsers, so what exactly are you doing (all steps, including browser info)? I doubt that this an issue with R as such, more likely you have a general issue with large downloads. - Peter D On 07 May 2014, at 19:37 , Stephanie Sangalang sosangal...@hotmail.com wrote: Dear R-Help volunteers, I received this error message when I tried to install R on my laptop: The page is too large to send back. The laptop has Windows 8, x64, enough memory space, and open access (I have administrative rights). I have installed SPSS and SQL but have never installed R. I tried multiple times to install R and reviewed the information and FAQs from the R Project website. Unfortunately, I have not been able to find any answers. If possible, can you please tell me: 1) What does this error message mean? 2) What (if any) was the original error? 3) How I may resolve the error in order to successfully install R? I admit that I am a novice when it comes to software, so, it is highly likely that I have made a mistake. I would greatly appreciate any advice you could give me. Thank you very much for your assistance! Best regards, Stephanie Sangalang Date: Tue, 6 May 2014 16:52:51 +0100 From: rip...@stats.ox.ac.uk To: sosangal...@hotmail.com; c...@r-project.org Subject: Re: Installation problem On 06/05/2014 13:27, Stephanie Sangalang wrote: Dear R-Project Team, I have not been able to install R on my laptop. I received the error message, This page is too large to send back. My laptop currently has SPSS and SQL. Can you please help me resolve this issue? Thank you very much! Best regards, Stephanie Sangalang This is CRAN: ask for help on R-help after studying its posting guide at http://www.r-project.org/posting-guide.html . -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 [[alternative HTML version deleted]] __ R-help@r-project.org mailing list 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. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd@cbs.dk Priv: pda...@gmail.com __ R-help@r-project.org mailing list 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.
Re: [R] Installation problem
Giovanni Petris wrote: I am trying to install R-2.11.1 from sources on Ubuntu 10.04. Any particular reason? There are Ubuntu packages available... I am getting the following error when I run ./configure: configure:6683: checking how to run the C preprocessor configure:6753: result: gcc -E configure:6773: gcc -E -I/usr/local/include conftest.c configure:6773: $? = 0 configure:6787: gcc -E -I/usr/local/include conftest.c conftest.c:17:28: error: ac_nonexistent.h: No such file or directory ...other stuff here... Could anybody help me? I am also attaching the file config.log for more info. Thank you in advance, Giovanni Petris __ R-help@r-project.org mailing list 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 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.
Re: [R] installation problem
cls59 chuck at sharpsteen.net writes: wesley mathew wrote: Hello All I have some problem for installing XML_2.6-0.tar . I am working in widows and R version is R-2.9.1 Unfortunately, I think there are some problems with CRAN being able to build the XML package for Windows, at least the page: http://cran.r-project.org/web/packages/XML/index.html Lists it as unavailable. However, I know I have installed it on a Windows machine at the university using install.packages()-- R may be set up to pull from some additional repository there. I'll check the next time I'm in the lab. -Charlie As Charlie notes, the CRAN page lists the Windows version as unavailable, but links to a README file which details: The packages BRugs, ncdf, RCurl, RDieHarder, RNetCDF, udunits, and XML do not build out of the box or are special in other circumstances. Nevertheless these are available at http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9/ kindly provided by Professor Brian D. Ripley. Thus you can download the Windows zip file from there, and install it using the install package(s) from local zip files... menu option. Michael Bibo Queensland Health __ R-help@r-project.org mailing list 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.
Re: [R] installation problem
Michael Bibo wrote: cls59 chuck at sharpsteen.net writes: wesley mathew wrote: Hello All I have some problem for installing XML_2.6-0.tar . I am working in widows and R version is R-2.9.1 Unfortunately, I think there are some problems with CRAN being able to build the XML package for Windows, at least the page: http://cran.r-project.org/web/packages/XML/index.html Lists it as unavailable. However, I know I have installed it on a Windows machine at the university using install.packages()-- R may be set up to pull from some additional repository there. I'll check the next time I'm in the lab. -Charlie As Charlie notes, the CRAN page lists the Windows version as unavailable, but links to a README file which details: The packages BRugs, ncdf, RCurl, RDieHarder, RNetCDF, udunits, and XML do not build out of the box or are special in other circumstances. Nevertheless these are available at http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9/ kindly provided by Professor Brian D. Ripley. Thus you can download the Windows zip file from there, and install it using the install package(s) from local zip files... menu option. or just say install.packages(XML) as that CRAN extras repository is already a default under Windows. Best, Uwe Ligges Michael Bibo Queensland Health __ R-help@r-project.org mailing list 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 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.
Re: [R] installation problem
Uwe Ligges ligges at statistik.tu-dortmund.de writes: or just say install.packages(XML) as that CRAN extras repository is already a default under Windows. Best, Uwe Ligges Thanks, Uwe. I had tried that, with no success. It turned out that starting R with the --internet2 option (chosen when installing R) was not working for me to allow access. I hadn't realised this because installing packages from my national CRAN mirror did work, probably because the University that hosts it is on my organisation's list of allowed sites. When I started R with my explicit proxy server address, username and password, install.packages (XML) did indeed work. Does this imply something about the usefulness of the --internet2 option? Michael __ R-help@r-project.org mailing list 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.
Re: [R] installation problem
wesley mathew wrote: Hello All I have some problem for installing XML_2.6-0.tar . I am working in widows and R version is R-2.9.1 *install.packages(XML)* After selecting a CRAN mirror ** *Error :-* Warning: unable to access index for repository http://cran.pt.r-project.org/bin/windows/contrib/2.9 Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9 Warning messages: 1: In open.connection(con, r) : unable to connect to 'cran.r-project.org' on port 80. 2: In getDependencies(pkgs, dependencies, available, lib) : package ‘XML’ is not available ** Looks like you have some network problem and cannot access the repositories. Ask you local administrator for help. *install.packages( c:/program files/R/XML_2.6-0.tar.gz, type=source, repos=NULL)* *Error :-* 'sh' is not recognized as an internal or external command, operable program or batch file. It is not straightforward nor very easy to install XML from sources. You'd need a) the tools for compiling packages from source and even then you'd need b) to have additional software such as the XML sources and need to adapt some files in the XML package. Uwe Ligges Thanks in advance for your help Kind Regards __ R-help@r-project.org mailing list 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 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.
Re: [R] installation problem
wesley mathew wrote: Hello All I have some problem for installing XML_2.6-0.tar . I am working in widows and R version is R-2.9.1 *install.packages(XML)* After selecting a CRAN mirror ** *Error :-* Warning: unable to access index for repository http://cran.pt.r-project.org/bin/windows/contrib/2.9 Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.9 Warning messages: 1: In open.connection(con, r) : unable to connect to 'cran.r-project.org' on port 80. 2: In getDependencies(pkgs, dependencies, available, lib) : package ‘XML’ is not available ** Hi, Sounds like either: - The mirror is broken, try a few others - You are behind a proxy server, configure you machine to use the proxy server *install.packages( c:/program files/R/XML_2.6-0.tar.gz, type=source, repos=NULL)* *Error :-* 'sh' is not recognized as an internal or external command, operable program or batch file. This doesn't work in windows if you have not installed the Rtools (http://www.murdoch-sutherland.com/Rtools/). Try to install those first, or download and install the windows binary version. cheers, Paul Thanks in advance for your help Kind Regards __ R-help@r-project.org mailing list 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. -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +3130 274 3113 Mon-Tue Phone: +3130 253 5773 Wed-Fri http://intamap.geo.uu.nl/~paul __ R-help@r-project.org mailing list 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.
Re: [R] installation problem
wesley mathew wrote: Hello All I have some problem for installing XML_2.6-0.tar . I am working in widows and R version is R-2.9.1 Unfortunately, I think there are some problems with CRAN being able to build the XML package for Windows, at least the page: http://cran.r-project.org/web/packages/XML/index.html Lists it as unavailable. However, I know I have installed it on a Windows machine at the university using install.packages()-- R may be set up to pull from some additional repository there. I'll check the next time I'm in the lab. -Charlie - Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://www.nabble.com/installation-problem-tp25438411p25439211.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list 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.