Re: [R] How to adjust legend in a plot?
I would suggest the following: 1. Change the margins of the third axis from 5.2 to say 2.5. 2. Reduce the cex in the legend from 1.5 to say 0.75 I think this should work for you. -- View this message in context: http://r.789695.n4.nabble.com/How-to-adjust-legend-in-a-plot-tp4638995p4638996.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.
Re: [R] How to adjust legend in a plot?
The only way then i believe is to reduce the width of the bars. Make it 0.5 in case if the numbers of variable allows you to do so. -- View this message in context: http://r.789695.n4.nabble.com/How-to-adjust-legend-in-a-plot-tp4638995p4639002.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.
Re: [R] line type lty
lty =1 denotes the single continuous line lty = 2 denotes the broken line lty = 3 dotted line -- View this message in context: http://r.789695.n4.nabble.com/line-type-lty-tp3466345p4639365.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.
Re: [R] DAtes
Well, i believe writing correct date format would have served the purpose. Suppose tfr contains Date as column and is a factor by class. tft$Date <- as.Date(as.character(tfr$Date),"%d/%m%Y") should give you the desired output. -- View this message in context: http://r.789695.n4.nabble.com/DAtes-tp4639172p4639366.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.
[R] had non-zero exit status
Hi , When installing a tidyr package. I get an error message to install rlang package and I try to install rlang I get "installation of package 'rlang' had non-zero exit status" Please advise. Ran install.packages("tidyr", dependencies=TRUE) getting below error message. Please advise. R version 3.1.0 pic -g -O2 -c splice.c -o splice.o In file included from splice.c:2: vector.h: In function 'namespace_rlang_sym': vector.h:94: error: 'R_DoubleColonSymbol' undeclared (first use in this function) vector.h:94: error: (Each undeclared identifier is reported only once vector.h:94: error: for each function it appears in.) make: *** [splice.o] Error 1 ERROR: compilation failed for package 'rlang' * removing '/usr/local/lib64/R/library/rlang' ERROR: dependency 'rlang' is not available for package 'tibble' * removing '/usr/local/lib64/R/library/tibble' ERROR: dependencies 'tibble', 'dplyr' are not available for package 'tidyr' * removing '/usr/local/lib64/R/library/tidyr' Individuals who have received this information in error or are not authorized to receive it must promptly return or dispose of the information and notify the sender. Those individuals are hereby notified that they are strictly prohibited from reviewing, forwarding, printing, copying, distributing or using this information in any way. [[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] [EXTERNAL] Re: had non-zero exit status
I tried using latest R-3-4.0. ./configure works but when I type make it does not work. From: William Dunlap [mailto:wdun...@tibco.com] Sent: Friday, May 19, 2017 4:27 PM To: Pramod Anugu Cc: r-help@R-project.org Subject: [EXTERNAL] Re: [R] had non-zero exit status Try using a more recent version of R - 3.4.0 is the current version and 3.1.0 is considered pretty old now. 'R_DoubleColonSymbol' is in RHOME/include/Rinternals.h in R-3.3.0 but not in R-2.15.0. I don't know exactly when it was added. Bill Dunlap TIBCO Software wdunlap tibco.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__tibco.com&d=DwMFaQ&c=lsRuZCBl6GuC9L6xVrEM6HFPHJkrlPlfLCjYs_lBYHk&r=RkX_7DVQKw_SdHQgHKW4xg&m=jdBKjUPvPl4OLs-0aOMw2PLfO4j_Bs04zdaFLxzGrhQ&s=GJP322e-U0soatwOliNzjC-jdEiVcSB2yp2nfYzwgdg&e=> On Fri, May 19, 2017 at 8:04 AM, Pramod Anugu mailto:pan...@umc.edu>> wrote: Hi , When installing a tidyr package. I get an error message to install rlang package and I try to install rlang I get "installation of package 'rlang' had non-zero exit status" Please advise. Ran install.packages("tidyr", dependencies=TRUE) getting below error message. Please advise. R version 3.1.0 pic -g -O2 -c splice.c -o splice.o In file included from splice.c:2: vector.h: In function 'namespace_rlang_sym': vector.h:94: error: 'R_DoubleColonSymbol' undeclared (first use in this function) vector.h:94: error: (Each undeclared identifier is reported only once vector.h:94: error: for each function it appears in.) make: *** [splice.o] Error 1 ERROR: compilation failed for package 'rlang' * removing '/usr/local/lib64/R/library/rlang' ERROR: dependency 'rlang' is not available for package 'tibble' * removing '/usr/local/lib64/R/library/tibble' ERROR: dependencies 'tibble', 'dplyr' are not available for package 'tidyr' * removing '/usr/local/lib64/R/library/tidyr' Individuals who have received this information in error or are not authorized to receive it must promptly return or dispose of the information and notify the sender. Those individuals are hereby notified that they are strictly prohibited from reviewing, forwarding, printing, copying, distributing or using this information in any way. [[alternative HTML version deleted]] __ R-help@r-project.org<mailto:R-help@r-project.org> mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help<https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwMFaQ&c=lsRuZCBl6GuC9L6xVrEM6HFPHJkrlPlfLCjYs_lBYHk&r=RkX_7DVQKw_SdHQgHKW4xg&m=jdBKjUPvPl4OLs-0aOMw2PLfO4j_Bs04zdaFLxzGrhQ&s=cb8NqG0f_gqytjWBftBanyXIl8kcqkgsmbn9XsFITCE&e=> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwMFaQ&c=lsRuZCBl6GuC9L6xVrEM6HFPHJkrlPlfLCjYs_lBYHk&r=RkX_7DVQKw_SdHQgHKW4xg&m=jdBKjUPvPl4OLs-0aOMw2PLfO4j_Bs04zdaFLxzGrhQ&s=uFLe9NLBOwarcpWK5orcEnnmwyYHDgfeGRMPOvVRY5E&e=> 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] Error message installing package R package
I am getting error messages while installing R package lme4. Please advice thanks Pramod trying URL 'http://cran.mtu.edu/src/contrib/lme4_0.99-0.tar.gz' Content type 'application/x-gzip' length 1074142 bytes (1.0 Mb) opened URL == downloaded 1.0 Mb * installing *source* package 'lme4' ... ** package 'lme4' successfully unpacked and MD5 sums checked ** libs /share/apps/R-2.15.3/share/make/shlib.mk:6: warning: overriding commands for target `lme4.so' Makevars:7: warning: ignoring old commands for target `lme4.so' gcc -std=gnu99 -I/share/apps/R-2.15.3/include -DNDEBUG -I/usr/local/include -I"/share/apps/R-2.15.3/library/Matrix/include" -I"/share/apps/R-2.15.3/library/stats/include" -fpic -g -O2 -c init.c -o init.o gcc -std=gnu99 -I/share/apps/R-2.15.3/include -DNDEBUG -I/usr/local/include -I"/share/apps/R-2.15.3/library/Matrix/include" -I"/share/apps/R-2.15.3/library/stats/include" -fpic -g -O2 -c lmer.c -o lmer.o gcc -std=gnu99 -I/share/apps/R-2.15.3/include -DNDEBUG -I/usr/local/include -I"/share/apps/R-2.15.3/library/Matrix/include" -I"/share/apps/R-2.15.3/library/stats/include" -fpic -g -O2 -c local_stubs.c -o local_stubs.o gcc -std=gnu99 -shared -L/usr/local/lib64 -o lme4.so init.o lmer.o local_stubs.o -L/share/apps/R-2.15.3/lib -lRlapack -L/share/apps/R-2.15.3/lib -lRblas -lgfortran -lm /usr/bin/ld: cannot find -lgfortran collect2: ld returned 1 exit status make: *** [lme4.so] Error 1 ERROR: compilation failed for package 'lme4' * removing '/share/apps/R-2.15.3/library/lme4' The downloaded source packages are in '/tmp/RtmpcTIcHw/downloaded_packages' Updating HTML index of packages in '.Library' Making packages.html ... done Warning message: In install.packages("lme4") : installation of package 'lme4' had non-zero exit status [[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.
[R] Error installing boss package
I am trying to install the package boss but i am getting error below: Please advice install.packages("boss") --- Please select a CRAN mirror for use in this session --- CRAN mirror 1: 0-Cloud 2: Argentina (La Plata) 3: Argentina (Mendoza) 4: Australia (Canberra) 5: Australia (Melbourne) 6: Austria 7: Belgium 8: Brazil (PR) 9: Brazil (RJ) 10: Brazil (SP 1) 11: Brazil (SP 2)12: Canada (BC) 13: Canada (NS) 14: Canada (ON) 15: Canada (QC 1)16: Canada (QC 2) 17: Chile18: China (Beijing 1) 19: China (Beijing 2)20: China (Guangzhou) 21: China (Hefei)22: China (Xiamen) 23: Colombia (Bogota)24: Colombia (Cali) 25: Denmark 26: Ecuador 27: France (Lyon 1) 28: France (Lyon 2) 29: France (Montpellier) 30: France (Paris 1) 31: France (Paris 2) 32: Germany (Berlin) 33: Germany (Bonn) 34: Germany (Falkenstein) 35: Germany (Goettingen) 36: Greece 37: Hungary 38: India 39: Indonesia40: Iran 41: Ireland 42: Italy (Milano) 43: Italy (Padua)44: Italy (Palermo) 45: Japan (Hyogo)46: Japan (Tsukuba) 47: Japan (Tokyo)48: Korea (Seoul 1) 49: Korea (Seoul 2) 50: Latvia 51: Mexico (Mexico City) 52: Mexico (Texcoco) 53: Netherlands (Amsterdam) 54: Netherlands (Utrecht) 55: New Zealand 56: Norway 57: Philippines 58: Poland 59: Portugal 60: Russia 61: Singapore62: Slovakia 63: South Africa (Cape Town) 64: South Africa (Johannesburg) 65: Spain (Madrid) 66: Sweden 67: Switzerland 68: Taiwan (Taichung) 69: Taiwan (Taipei) 70: Thailand 71: Turkey 72: UK (Bristol) 73: UK (London) 74: UK (St Andrews) 75: USA (CA 1) 76: USA (CA 2) 77: USA (IA) 78: USA (IN) 79: USA (KS) 80: USA (MD) 81: USA (MI) 82: USA (MO) 83: USA (OH) 84: USA (OR) 85: USA (PA 1) 86: USA (PA 2) 87: USA (TN) 88: USA (TX 1) 89: USA (WA 1) 90: USA (WA 2) 91: Venezuela92: Vietnam Selection: 86 also installing the dependency 'ncdf' trying URL 'http://cran.mirrors.hoobly.com/src/contrib/ncdf_1.6.6.tar.gz' Content type 'application/x-gzip' length 79403 bytes (77 Kb) opened URL == downloaded 77 Kb trying URL 'http://cran.mirrors.hoobly.com/src/contrib/boss_1.2.tar.gz' Content type 'application/x-gzip' length 9702 bytes opened URL == downloaded 9702 bytes * installing *source* package 'ncdf' ... ** package 'ncdf' successfully unpacked and MD5 sums checked checking for nc-config... no checking for gcc... gcc -std=gnu99 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 gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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 netcdf.h usability... no checking netcdf.h presence... no checking for netcdf.h... no configure: error: netcdf header netcdf.h not found ERROR: configuration failed for package 'ncdf' * removing '/share/apps/R-2.15.3/lib64/R/library/ncdf' ERROR: dependency 'ncdf' is not available for package 'boss' * removing '/share/apps/R-2.15.3/lib64/R/library/boss' The downloaded source packages are in '/tmp/RtmppOWF74/downloaded_packages' Updating HTML index of packages in '.Library' Making packages.html ... done Warning messages: 1: In install.packages("boss") : installation of package 'ncdf' had non-zero exit status 2: In install.packages("boss") : installation of package 'boss' had non-zero exit status > [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman
Re: [R] Error Installing packages
I am trying to install the package boss but i am getting error below: Please advice install.packages("boss") --- Please select a CRAN mirror for use in this session --- CRAN mirror 1: 0-Cloud 2: Argentina (La Plata) 3: Argentina (Mendoza) 4: Australia (Canberra) 5: Australia (Melbourne) 6: Austria 7: Belgium 8: Brazil (PR) 9: Brazil (RJ) 10: Brazil (SP 1) 11: Brazil (SP 2)12: Canada (BC) 13: Canada (NS) 14: Canada (ON) 15: Canada (QC 1)16: Canada (QC 2) 17: Chile18: China (Beijing 1) 19: China (Beijing 2)20: China (Guangzhou) 21: China (Hefei)22: China (Xiamen) 23: Colombia (Bogota)24: Colombia (Cali) 25: Denmark 26: Ecuador 27: France (Lyon 1) 28: France (Lyon 2) 29: France (Montpellier) 30: France (Paris 1) 31: France (Paris 2) 32: Germany (Berlin) 33: Germany (Bonn) 34: Germany (Falkenstein) 35: Germany (Goettingen) 36: Greece 37: Hungary 38: India 39: Indonesia40: Iran 41: Ireland 42: Italy (Milano) 43: Italy (Padua)44: Italy (Palermo) 45: Japan (Hyogo)46: Japan (Tsukuba) 47: Japan (Tokyo)48: Korea (Seoul 1) 49: Korea (Seoul 2) 50: Latvia 51: Mexico (Mexico City) 52: Mexico (Texcoco) 53: Netherlands (Amsterdam) 54: Netherlands (Utrecht) 55: New Zealand 56: Norway 57: Philippines 58: Poland 59: Portugal 60: Russia 61: Singapore62: Slovakia 63: South Africa (Cape Town) 64: South Africa (Johannesburg) 65: Spain (Madrid) 66: Sweden 67: Switzerland 68: Taiwan (Taichung) 69: Taiwan (Taipei) 70: Thailand 71: Turkey 72: UK (Bristol) 73: UK (London) 74: UK (St Andrews) 75: USA (CA 1) 76: USA (CA 2) 77: USA (IA) 78: USA (IN) 79: USA (KS) 80: USA (MD) 81: USA (MI) 82: USA (MO) 83: USA (OH) 84: USA (OR) 85: USA (PA 1) 86: USA (PA 2) 87: USA (TN) 88: USA (TX 1) 89: USA (WA 1) 90: USA (WA 2) 91: Venezuela92: Vietnam Selection: 86 also installing the dependency 'ncdf' trying URL 'http://cran.mirrors.hoobly.com/src/contrib/ncdf_1.6.6.tar.gz' Content type 'application/x-gzip' length 79403 bytes (77 Kb) opened URL == downloaded 77 Kb trying URL 'http://cran.mirrors.hoobly.com/src/contrib/boss_1.2.tar.gz' Content type 'application/x-gzip' length 9702 bytes opened URL == downloaded 9702 bytes * installing *source* package 'ncdf' ... ** package 'ncdf' successfully unpacked and MD5 sums checked checking for nc-config... no checking for gcc... gcc -std=gnu99 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 gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... 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 netcdf.h usability... no checking netcdf.h presence... no checking for netcdf.h... no configure: error: netcdf header netcdf.h not found ERROR: configuration failed for package 'ncdf' * removing '/share/apps/R-2.15.3/lib64/R/library/ncdf' ERROR: dependency 'ncdf' is not available for package 'boss' * removing '/share/apps/R-2.15.3/lib64/R/library/boss' The downloaded source packages are in '/tmp/RtmppOWF74/downloaded_packages' Updating HTML index of packages in '.Library' Making packages.html ... done Warning messages: 1: In install.packages("boss") : installation of package 'ncdf' had non-zero exit status 2: In install.packages("boss") : installation of package 'boss' had non-zero exit status > [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/li
[R] Could not find function boss.set
We are using boss package function in R and getting the below error message. Please advice Error: could not find function "boss.set" [[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.