similar to: install R packages [SEC=UNCLASSIFIED]

Displaying 20 results from an estimated 5000 matches similar to: "install R packages [SEC=UNCLASSIFIED]"

2008 Jan 23
5
Linux, UNIX, XP32, Vista X64 or ...? [SEC=UNCLASSIFIED]
Dear All, I am currently using R in Windows PC with a 2 GB of RAM. Some pretty large datasets are expected soon, perhaps in an order of several GB. I am facing a similar situation like Ralph, either to get a new PC with a bigger RAM or else. I am just wondering if R is getting faster in other systems like UNIX or Linux. Any suggestions are appreciated. Regards, Jin
2011 Jun 02
1
aucRoc in caret package [SEC=UNCLASSIFIED]
Hi all, I used the following code and data to get auc values for two sets of predictions: library(caret) > table(predicted1, trainy) trainy hard soft 1 27 0 2 11 99 > aucRoc(roc(predicted1, trainy)) [1] 0.5 > table(predicted2, trainy) trainy hard soft 1 27 2 2 11 97 > aucRoc(roc(predicted2, trainy)) [1] 0.8451621 predicted1: 1 1 2
2008 Feb 14
1
Installation of R on UNIX - Sparc Solaris v8 [SEC=UNCLASSIFIED]
Dear Prof Ripley and Don, Thank you all for your kind reply. The UNIX system we have is Sparc Solaris v8 (a 64bit version). The Precompiled binary distributions of the base system and contributed packages are only available for Linux, MacOS X and Windows. The only thing available for UNIX seems Source Code for all Platforms. Could you please guide me to the "Prebuilt versions of R are
2017 Aug 30
0
FW: Predictive accuracy measures in a recently released R package, spm: Spatial Predictive Modelling [SEC=UNCLASSIFIED]
Hi All, Just thought you might be interested in a recently released R package, spm: Spatial Predictive Modelling. It aims to introduce some novel, accurate, hybrid geostatistical and machine learning methods for spatial predictive modelling. Of 22 functions available in spm, two functions are for accuracy assessment. Perhaps they are not only useful tools for spatial predictive modelling
2018 Apr 03
0
xgboost: problems with predictions for count data [SEC=UNCLASSIFIED]
Hi All, I tried to use xgboost to model and predict count data. The predictions are however not as expected as shown below. # sponge count data in library(spm) library(spm) data(sponge) data(sponge.grid) names(sponge) [1] "easting" "northing" "sponge" "tpi3" "var7" "entro7" "bs34" "bs11"
2018 Mar 20
0
A new version (1.1.0) of the “spm” package for spatial predictive modelling reelased on CRAN [SEC=UNCLASSIFIED]
Dear R users, A new version (1.1.0) of the ?spm? package for spatial predictive modelling is now available on CRAN. The introductory vignette is available here: https://cran.rstudio.com/web/packages/spm/vignettes/spm.html There are several new enhancements to the package including a fast version of random forest in using ranger (rg) library(ranger) and the ability to convert relevant
2012 Jul 03
5
Is it possible to remove this loop? [SEC=UNCLASSIFIED]
Hi all, I would like create a new column in a data.frame (a1) to store 0, 1 data converted from a factor as below. a1$h2<-NULL for (i in 1:dim(a1)[1]) { if (a1$h1[i]=="H") a1$h2[i]<-1 else a1$h2[i]<-0 } My question: is it possible to remove the loop from above code to achieve the desired result? Thanks in advance, Jin Geoscience Australia Disclaimer: This e-mail
2016 Apr 01
1
[DKIM] Batch Installer for R [SEC=UNCLASSIFIED]
Hi Tobias, Here is something I acquired from this mailing list some years ago. It works well for me: #---run in previous version (e.g. R 3.1.0) packages <- installed.packages()[,"Package"] save(packages, file="Rpackages_R3.1.0") #---run in new version load("Rpackages_R3.1.0") for (p in setdiff(packages, installed.packages()[,"Package"]))
2008 Mar 04
0
simulation study using R [SEC=UNCLASSIFIED]
Davood, I developed an MC simulation model for wind hazard analysis last year. I found three important issues to increase efficiency: 1) Reuse most variables in each loop 2) Write results (1000 stats) to external files, perhaps one file for each condition. (a good ID for each file can be implemented using "paste") 3) Develop a function to process the results stored in the external
2006 Mar 28
2
[Q] How to make a multi-line title with expression()
Dear R-lister Could anyone know how to make a multi-line title for a plot with expression()? In my plot, the title should be writeen in two lines (because it is two long for one line) and it should use a mathematical expression. I tried to use "\n", but "\n" is ignored in expression() call: hist(diffChangeRequestHintsBeforeAnswering[,4], br = 50, xlab = "Skill Change in
2006 Jan 17
2
Calculation of daily max
Good day everyone. I have a large dataset of 1 min wind speeds covering 5 years. How can I make an array of maximum daily values? The vectors I have are: 'VDATE' with dates in format '%Y-%m-%d' (like '1992-10-28') and 'WS' with wind speed data (same number of elements as VDATE). I want an array with 2 columns: Max daily wind speed and corresponding day. Has
2006 Jun 30
1
Empirical CDF
Good day everyone, I want to assess the error when fitting a Gram-Charlier CDF to some data 'ws', that is, I want to calculate: Err = |ecdf(ws) - GCh_ser(ws)| The problem is, I cannot get the F(x) values from the ecdf. 'Summary(ecdf())' returns some of the x-axis values, but how do you get the F(x) values? Thank you for any help you can provide. Regards, Augusto
2007 Feb 23
2
Extracting a subset from a dataframe
Good day everyone, Can anyone suggest an effective method to solve the following problem: I have 2 dataframes D1 and D2 as follows: D1: dates ws wc pwc 2005-10-19:12:00 10.8 80 81 2005-10-20:12:00 12.3 5 15 2005-10-21:15:00 12.3 3 15 2005-10-22:15:00 11.3 13 95 2005-10-23:12:00 12.3 13 2 2005-10-24:15:00 10.3 2 95 2005-10-25:15:00 10.3 2 2 D2:
2006 Feb 02
3
15-min mean values
Good day everyone, I want to use zoo(aggregate) to calculate 15-min mean values from a wind dataset which has 1-min values. The data I have looks like this: vector VDATE vector WS 1 1998-10-22:02:11 12.5 2 1998-10-22:02:12 10.1 3 1998-10-22:02:13 11.2 4 1998-10-22:02:14 10.5 5 1998-10-22:02:15 11.5 . . . n
2004 Nov 22
4
How to correct this
Hi there, I tried to add a few circles on an existing figure using the following codes grid.circle(x=0.5, y=0.5, r=0.1, draw=TRUE, gp=gpar(col=5)) grid.circle(x=0.5, y=0.5, r=0.3, draw=TRUE, gp=gpar(col=5)) grid.circle(x=0.5, y=0.5, r=0.5, draw=TRUE, gp=gpar(col=5)) points(0.5, 0.5, col = 5) # centre of the circle , but all circles moved away from the centre. Could we do any
2006 Jan 13
3
Saving a plot in R-LINUX
Good day, Is there any way to save a plot produced by R in a LINUX (Debian) machine? The window opened by R to put the plot in, does not give any option to save it (there are options to move, close, minimise it, etc. but not to save it). How do you do that? Thanks, Augusto -------------------------------------------- Augusto Sanabria. MSc, PhD. Mathematical Modeller Risk Research Group
2004 Nov 17
1
How to plot this
Hi there, I produced a plot using the following codes: y<-rnorm(1000, 2, 0) x0<-c(0, 0) y0<-c(0, 0) y1<-c(0, 1) x1<-c(0, 4) plot(density(y), ylab="Abundance of species", xlab="Environmental gradient", main=" ", xlim=c(0, 4), ylim=c(0, 1), lty=2, col=4, xaxt="n", yaxt="n", frame.plot=F) lines(x0, y1) # add an axis
2007 Oct 30
2
Where can I find package "segmented" ?
I tried to install "segmented" from three different repositories but I keep getting the following message on R window: ... Please, advice where to find this package. Thank you in advance. Maura > utils:::menuInstallPkgs() --- Please select a CRAN mirror for use in this session --- Warning: package 'segmented' is in use and will not be installed > utils:::menuInstallPkgs()
2019 Apr 27
2
Suspect error in windows version of 3.60
On 27/04/2019 10:30 a.m., Len Weil wrote: > Gentlemen, > > > > I've observed a suspected bug in R-3.60 for Windows 10. > > I am using the latest R version, but I have observed the same error in all > releases: alpha, beta RC and released. > > Also the same issue occurs in the 32 and 64 bit GUI versions. The program > header I invoke is: > >
2009 Feb 20
1
NOT an R problem: cannot install packages from distant repository
I met today a computer crash and our maintenance officer had to reinstall some components of the OS (MS Windows XP Pro) as well as the Internet browser (among other things). Now, I cannot install packages from a distant repository: > utils:::menuInstallPkgs() Error in .readRDS(pfile) : unknown input format > traceback() 5: .readRDS(pfile) 4: .packages(all.available = TRUE) 3: