Re: [R] Prevent saving the workspace while running a script in batch mode

2009-03-08 Thread Jim_S
This works fine. Thank you for the quick response, Jim David Winsemius wrote: > > ?quit # ,save="no" > > -- > DW > > On Mar 8, 2009, at 11:19 AM, Jim_S wrote: > >> >> Dear R-user, >> >> I'm running a certain R script in

Re: [R] Prevent saving the workspace while running a script in batch mode

2009-03-08 Thread Jim_S
This works fine. Thank you for the quick response, Jim David Winsemius wrote: > > ?quit # ,save="no" > > -- > DW > > On Mar 8, 2009, at 11:19 AM, Jim_S wrote: > >> >> Dear R-user, >> >> I'm running a certain R script in

Re: [R] Have a document about the Batch Execution of R ?

2009-03-08 Thread Jim_S
http://stat.ethz.ch/R-manual/R-patched/library/utils/html/BATCH.html HTH, Jim Nash-16 wrote: > > > Dear all, > > Have a complete document about the Batch Execution of R > > or nice website? > > > -- > Nash - morri...@ibms.sinica.edu.tw > > _

[R] Prevent saving the workspace while running a script in batch mode

2009-03-08 Thread Jim_S
Dear R-user, I'm running a certain R script in DOS batch mode. Is there a way to prevent R from saving the workspace once this script is finished? I'm asking this because the resulting .RData file has the size of >70MB. I don't need this file since my script already writes the required output and

Re: [R] randomForest, 'No forest component...' error while calling Predict()

2008-06-16 Thread Jim_S
Now I read it in the manual "If xtest is given, defaults to FALSE." Thanks for your help! Jim Moshe Olshansky-2 wrote: > > You must use randomForest with keep.forest=TRUE - otherwise the Forest > object is not saved and so no prediction can be made. > > > --- On

[R] randomForest, 'No forest component...' error while calling Predict()

2008-06-15 Thread Jim_S
Dear R-users, While making a prediction using the randomForest function (package randomForest) I'm getting the following error message: "Error in predict.randomForest(model, newdata = CV) : No forest component in the object" Here's my complete code. For reproducing this task, please find my 2

Re: [R] Calling a stored model within the predict() function

2008-04-27 Thread Jim_S
After a short discussion I decided to post my compete code and data set. I hope this makes sence. Thanks, Jim # READ DATA # = http://www.nabble.com/file/p16923910/SampleCluster.txt SampleCluster.txt setwd("C:/Program Files/R/library/mboost/data") SampleClusterData <- read.table("Sam

Re: [R] Calling a stored model within the predict() function

2008-04-27 Thread Jim_S
No replies yet... Is my problem explanation unclear? Please let me know, thanks! Jim -- View this message in context: http://www.nabble.com/Calling-a-stored-model-within-the-predict%28%29-function-tp16918111p16923325.html Sent from the R help mailing list archive at Nabble.com.

[R] Calling a stored model within the predict() function

2008-04-26 Thread Jim_S
Hi all, First of all, I'm a novice R user (less that a week), so perhaps my code isn't very efficient. Using the MBoost package I created a model using the following command and saved it to a file for later use: model <- gamboost(fpfm,data=SampleClusterData,baselearner="bbs") # Creating a model