[R] Math kernel library from intel
I use win 10 ( 64 bit) with latest R available. Intel has released math kernel library. Is it necessary to install for data driven work ? Regards Partha [[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] file creating
I am using R(3.4.3), Win 7(extreme edition) 32 bit, I have 10 excel files data1,xls, data2.xls .. till data10.xls. I want to create 10 dataframes . How to do ? regards Parth [[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] Error on using Rweka package
I am using R version 3.3.2 (64 bit) on ubuntu version 14. I am trying to install Rweka but getting the following error. Can someone please help me with this error ? Regards Parth Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/home/puja/R/x86_64-pc-linux-gnu-library/3.3/rJava/libs/rJava.so': /home/puja/R/x86_64-pc-linux-gnu-library/3.3/rJava/libs/rJava.so: invalid ELF header Error: package or namespace load failed for ‘RWeka’ [[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] sample train and test data using dplyr
How to get two sets of non overlapping data? Regards Parth On 8 December 2016 at 23:23, Ulrik Stervbo <ulrik.ster...@gmail.com> wrote: > In addition to 'sample', and if you insist on dplyr, you can use > 'sample_n'. > > Best, > Ulrik > > On Thu, 8 Dec 2016 at 18:47 Bert Gunter <bgunter.4...@gmail.com> wrote: > >> Usually we expect posters to do their homework by reading necessary R >> documentation and relevant subject matter resources (e.g. on >> clustering) and making a serious attempt to solve the problem by >> offering their code to us along as part of a reproducible example of >> how it failed. You have done none of these things, and so you may not >> receive a helpful reply -- or maybe some kind soul will offer one. >> >> I am not such a kind soul. However I will tell you that ?sample is >> probably relevant and that you should read and follow the posting >> guide at the foot of this email to post a coherent query, which, IMO, >> yours is not. >> >> Cheers, >> Bert >> Bert Gunter >> >> "The trouble with having an open mind is that people keep coming along >> and sticking things into it." >> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) >> >> >> On Thu, Dec 8, 2016 at 8:57 AM, Partha Sinha <pnsinh...@gmail.com> wrote: >> > I want to create two files train and test using dplyr (by random >> sampling >> > method). How to do the same same using lets say iris data. >> > Regards >> > Parth >> > >> > [[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. >> > [[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] sample train and test data using dplyr
I want to create two files train and test using dplyr (by random sampling method). How to do the same same using lets say iris data. Regards Parth [[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] Memory problem
I am using R 3.3.2 on win 7, 32 bit with 2gb Ram. Is it possible to use more than 2 Gb data set ? Regards Partha [[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] library Dplyr
doing what Jeff has told. Lets see what happens this time.. On 25 August 2016 at 11:54, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > I can not reproduce that using a fresh install of R 3.3.1 Win32 and dplyr > 0.5.0. I suggest that you re-install dplyr or R or both... perhaps from a > different mirror than the one you originally used. Do not use "Run As > Administrator" and say yes to creating a personal library. Install dplyr > with install.packages( "dplyr" ). > > If you continue to have trouble and want help then you are going to have > to make an effort to convey a reproducible set of steps to arrive at your > error. The Posting Guide has good advice on how to communicate on the R > mailing lists. > > -- > Sent from my phone. Please excuse my brevity. > > On August 24, 2016 10:08:09 PM PDT, Partha Sinha <pnsinh...@gmail.com> > wrote: > >yes. I start a fresh session and start to load the library > > > > > >On 25 August 2016 at 09:34, Jeff Newmiller <jdnew...@dcn.davis.ca.us> > >wrote: > > > >> And the only input you give to trigger this is > >> > >> library(dplyr) > >> > >> ? > >> -- > >> Sent from my phone. Please excuse my brevity. > >> > >> On August 24, 2016 8:01:41 PM PDT, Partha Sinha <pnsinh...@gmail.com> > >> wrote: > >> >i have used sessioninfo() > >> >the output I have got > >> >R version 3.3.1 (2016-06-21) > >> >Platform: i386-w64-mingw32/i386 (32-bit) > >> >Running under: Windows 7 (build 7600) > >> > > >> >locale: > >> >[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United > >> >Kingdom.1252 > >> >[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C > >> > > >> >[5] LC_TIME=English_United Kingdom.1252 > >> > > >> >attached base packages: > >> >[1] stats graphics grDevices utils datasets methods base > >> > > >> > > >> >I tried to load ggplot2 and dplyr. > >> >both giving me similar problems > >> > > >> >Parth > >> > > >> >On 24 August 2016 at 20:40, Jeff Newmiller > ><jdnew...@dcn.davis.ca.us> > >> >wrote: > >> > > >> >> This is not normal. I suggest making use of the maintainer() and > >> >> sessionInfo() functions. > >> >> -- > >> >> Sent from my phone. Please excuse my brevity. > >> >> > >> >> On August 24, 2016 7:47:25 AM PDT, Partha Sinha > ><pnsinh...@gmail.com> > >> >> wrote: > >> >> >I am using windows 7 , R version 3.3.1 > >> >> >whenever I am trying use > >> >> >library(dplyr) > >> >> >i am getting the follwing error: > >> >> > > >> >> >Error in get(Info[i, 1], envir = env) : > >> >> > cannot allocate memory block of size 2.5 Gb > >> >> >Error: package or namespace load failed for ‘dplyr’ > >> >> > > >> >> > > >> >> >pl help > >> >> > > >> >> >Regards > >> >> >Partha > >> >> > > >> >> > [[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. > >> > >> > > > > [[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] library Dplyr
yes. I start a fresh session and start to load the library On 25 August 2016 at 09:34, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > And the only input you give to trigger this is > > library(dplyr) > > ? > -- > Sent from my phone. Please excuse my brevity. > > On August 24, 2016 8:01:41 PM PDT, Partha Sinha <pnsinh...@gmail.com> > wrote: > >i have used sessioninfo() > >the output I have got > >R version 3.3.1 (2016-06-21) > >Platform: i386-w64-mingw32/i386 (32-bit) > >Running under: Windows 7 (build 7600) > > > >locale: > >[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United > >Kingdom.1252 > >[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C > > > >[5] LC_TIME=English_United Kingdom.1252 > > > >attached base packages: > >[1] stats graphics grDevices utils datasets methods base > > > > > >I tried to load ggplot2 and dplyr. > >both giving me similar problems > > > >Parth > > > >On 24 August 2016 at 20:40, Jeff Newmiller <jdnew...@dcn.davis.ca.us> > >wrote: > > > >> This is not normal. I suggest making use of the maintainer() and > >> sessionInfo() functions. > >> -- > >> Sent from my phone. Please excuse my brevity. > >> > >> On August 24, 2016 7:47:25 AM PDT, Partha Sinha <pnsinh...@gmail.com> > >> wrote: > >> >I am using windows 7 , R version 3.3.1 > >> >whenever I am trying use > >> >library(dplyr) > >> >i am getting the follwing error: > >> > > >> >Error in get(Info[i, 1], envir = env) : > >> > cannot allocate memory block of size 2.5 Gb > >> >Error: package or namespace load failed for ‘dplyr’ > >> > > >> > > >> >pl help > >> > > >> >Regards > >> >Partha > >> > > >> > [[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. > > [[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] library Dplyr
i have used sessioninfo() the output I have got R version 3.3.1 (2016-06-21) Platform: i386-w64-mingw32/i386 (32-bit) Running under: Windows 7 (build 7600) locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 [3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C [5] LC_TIME=English_United Kingdom.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base I tried to load ggplot2 and dplyr. both giving me similar problems Parth On 24 August 2016 at 20:40, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > This is not normal. I suggest making use of the maintainer() and > sessionInfo() functions. > -- > Sent from my phone. Please excuse my brevity. > > On August 24, 2016 7:47:25 AM PDT, Partha Sinha <pnsinh...@gmail.com> > wrote: > >I am using windows 7 , R version 3.3.1 > >whenever I am trying use > >library(dplyr) > >i am getting the follwing error: > > > >Error in get(Info[i, 1], envir = env) : > > cannot allocate memory block of size 2.5 Gb > >Error: package or namespace load failed for ‘dplyr’ > > > > > >pl help > > > >Regards > >Partha > > > > [[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.
[R] library Dplyr
I am using windows 7 , R version 3.3.1 whenever I am trying use library(dplyr) i am getting the follwing error: Error in get(Info[i, 1], envir = env) : cannot allocate memory block of size 2.5 Gb Error: package or namespace load failed for ‘dplyr’ pl help Regards Partha [[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] Freq table
M1 M2 M4 60 86 48 72 90 86 66 86 62 69 60 48 66 86 58 I want to frequency table by binning the data in 0-60, 61-80,80-100 and want output as M1 M2 M3 0-60 61-80 80-100 How to do [[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] plot of different groups
I have the following fields in table: height, weight, gender i want to plot height and weight of gender(males and females). The data points needs to be marked in two different colors. Regards parth [[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] Error while using e1071 package
I am using R 3.2.2 on win-7 while using predict function with e1071 (naive bayes classifier) I am getting the following error "Error in object$tables[[v]][, nd] : subscript out of bounds" pl help. regards Parth __ 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] Task Views
Dear All I am using R version R version 3.2.1 (2015-06-18) in windows 7. I have installed few task views like Timeseries and Graphics in R. 1. Is it possible to find out which "TASK Views" are installed in the system ? 2. Can in install multiple Task views using single command ? Regards Partha __ 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] Value passing in print option
i want to pass a value with print option x-10 y2*x print(Current value of y is ) # confused dont know how to pass value i want output as Current value of y is 10 [[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] Views installation
I want to install views like machine learning and Bayesian using code ( write code and running the code once and it will install all packages in those views rather than doing it twice). Pl help Parth __ 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] Selective package installation
I am using Win 7, 32 bit and R 3.2.0 I want to install few packages via script. The script should first check if the package is already installed (I dont want update).If the package is already there , then it would go to the next package in my list. How can I do this ? Parth __ 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] Sampling
I have 1000 data points. i want to take 30 samples and find mean. I also want to repeat this process 100 times. How to go about it? Regards Parth __ 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] Plotting straight line
I want to plot a straight line where y=m*x+1 (where x varying from -5 to +5) and and m will change from 0.5 to 5. All the straight lines needs to be overlaid. Thanks Parth __ 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] Barplot
i want to plot the following data in barplot Year Gender revenue 2001 M 100 2001 F 150 2002 M75 2002 F200 2003 M150 2003 F 75 I want to compare performance of gender in year wise fashion . How to do ? Parth __ 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] Selection/filtering from Data
From a dataset , I want select age =36 and income1. How to do ? parth __ 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] Database connectivity
Dear All please let me know how to connect SQL server from R? which all packages I will require for this? Thanks Parth __ 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] Installation of R 2.15.0
I want to install R 2.15.0 without uninstalling R 2.13 (currently using ). if I install can upgrade take place or we will install two instances of R? Parth __ 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] Need Help
Sir, Which modules/package should I use to solve the following statistical models: 1. Multiple Objective Programming (MOP) 2. Data Envelopment Analysis (DEA) 3. Lab Experiments 4. Multiple Criteria Decision Making (MCDM) Regards, PS __ 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] Optimisation
Can optimisation (simplex etc) be done through R? __ 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] Data generation
I want to generate a data matrix (20*30) having mean 3 and std deviation 1 (normal dist). pl help Partha __ 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 on IDE
I am new comer in R.There r few IDE like Tinn R,VIM etc.I mean How to use them? Do I need to install R and then install them to use or they can work alone? Also does one install packages on R or IDEs? Can I call/use the package from IDEs? regards Parth -- Socrates, proclaimed: I came to know one thing; that I know nothing. __ 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] Parallel processing
1.what is the application to install for to speed up processing for multicore processor in windows environment? 2. how to compute time for executing a particular a code? [[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.