search for: forbes2000

Displaying 5 results from an estimated 5 matches for "forbes2000".

2012 Feb 14
1
txtStart creates a NULL file
....ethz.ch/pipermail/r-help/2010-September/253177.html) but the result seemed to be ambiguous. Is there a work-around? Reproducible code and sessioninfo are below. The OS is Mac OS 10.6.8. Yours truly, Simon Kiss install.packages("HSAUR") library(HSAUR) library(TeachingDemos) data("Forbes2000", package="HSAUR") #This is a test of R output for the blind txtStart('test.txt', commands=TRUE, results=TRUE) txtComment('This command provides the mean profit in the data set') mean(Forbes2000$profits, na.rm=TRUE) txtComment('This command provides the standard d...
2007 May 24
1
"[RODBC] ERROR: Could not SQLExecDirect"
Hi, everyone, I try to run as follows: Z>library("RODBC") Z>cnct<-odbcConnectExcel("Forbes2000.xls") Z>cnct RODB Connection 1 Details: case=nochange DBQ=C:\Program Files\R\R-2.5.0\Forbes2000.xls DefaultDir=C:\Program Files\R\R-2.5.0 Driver={Microsoft Excel Driver (*.xls)} DriverId=790 MaxBufferSize=2048 PageTimeout=5 Z>sqlQuery(cnct, "select * from \"Forbes...
2009 Sep 11
0
ipred bagging segfault on 64 bit linux build
...*** caught segfault *** address(nil), cause 'unknown' I'm working on a 64bit build of R 2.8.1 on a linux machine. If you want more details, I can surely get them. It happens on the last line for the following for all different valies of ns: library(rpart) library(ipred) data("Forbes2000", package="HSAUR") Forbes2000 <- subset(Forbes2000, !is.na(profits)) datasize=length(Forbes2000$profits) f <- rpart(profits ~ assets + marketvalue + sales, data=Forbes2000) fb <- bagging(profits ~ assets + marketvalue + sales, data=Forbes2000) fb <- bagging(profits ~ ass...
2012 Oct 25
1
How to quit R script & return to R prompt
Hi can you please tell me how to quit R script & return to R prompt. As i tried following but still cannot able to return on to R prompt.. R> barplot(Forbes2000$profits) R> barplot(xtab(`profits,data=Forbes2000)) + barplot(xtab(~profits,data=Forbes2000)) + ) + Q() + ?barplots + + + + + barplot? + ? + ?? + ???? + stop() + exit() + + + ctrl+c + q() + I'm beginner in R & trying to learn.... Thanks & Regards Amitesh -- View this mess...
2008 Jan 20
2
Newbie question on subsets
Hi... I'm working through the book, A Handbook of Statistical Analyses using R by Everitt, and I'm trying to do the following (p. 19 of his book): boxplot(log(marketvalue)~country, data = subset(Forbes2000, country %in% c("United Kingdom","Germany","India","Turkey")), ylab="log(marketvalue", varwidth=TRUE) This *almost* works, but I'm getting ALL the countries on the x-axis, not just the 4-specified. I tried...